Subject | Re: build failed on cannot resolve symbol - constructor ResourceException(...) |
---|---|
Author | tsangccn |
Post date | 2002-10-15T10:02:58Z |
Hello
Thank you. I tried deleted the thirdparty directory and let ants
check it out again, then it is OK.
When I do diff to compare my old thirdparty and the new thirdparty,
some of the files are different.
It seems the build.xml in client-java can just checkout from jboss cvs
but it cannot update from jboss cvs. Am I right? Is this a bug in
build.xml?
Thanks
CN
Thank you. I tried deleted the thirdparty directory and let ants
check it out again, then it is OK.
When I do diff to compare my old thirdparty and the new thirdparty,
some of the files are different.
It seems the build.xml in client-java can just checkout from jboss cvs
but it cannot update from jboss cvs. Am I right? Is this a bug in
build.xml?
Thanks
CN
--- In Firebird-Java@y..., "Roman Rokytskyy" <rrokytskyy@y...> wrote:
> Hi,
>
> I just checked it on my computer and found no problems with build.
> Note, J2EE classes are automatically checked out from the CVS tree
> from JBoss project. At this point CVS must be available to Ant. Ensure
> that you have CVS installed and cvs.exe (if running Windows) is
> available through the %PATH% env. variable.
>
> Another possible problem is that you have client-java/thirdparty
> directory but it does not contain any sources. However messages in
> build script should be different.
>
> Best regards,
> Roman Rokytskyy
>
> --- In Firebird-Java@y..., "tsangccn" <tsang_cn@c...> wrote:
> > Hello
> >
> > I have checkout the firebird jca driver from CVS
> > but when I run build.sh (on Red Hat 7.3), it fails with the following
> > messages
> >
> > Buildfile: build.xml
> >
> > init:
> >
> > compile-concurrent:
> > [unjar] Expanding:
> > /home/tsang/firebird/client-java/src/lib/concurrent.jar into
> > /home/tsang/firebird/client-java/output/concurrent
> >
> > checkout-j2ee:
> >
> > compile-j2ee:
> >
> > compile-driver:
> > [javac] Compiling 12 source files to
> > /home/tsang/firebird/client-java/output/classes
> > [javac] This version of java does not support the classic
> > compiler; upgrading to modern
> > [javac]
> >
>
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jca/FBResourceException.java:47:
> > cannot resolve symbol
> > [javac] symbol : constructor ResourceException ()
> > [javac] location: class javax.resource.ResourceException
> > [javac] super();
> > [javac] ^
> > [javac]
> >
>
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jca/FBResourceException.java:59:
> > cannot resolve symbol
> > [javac] symbol : constructor ResourceException
> > (java.lang.String,java.lang.Exception)
> > [javac] location: class javax.resource.ResourceException
> > [javac] super(string, original);
> > [javac] ^
> > [javac]
> >
>
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jca/FBResourceException.java:64:
> > cannot resolve symbol
> > [javac] symbol : constructor ResourceException
> (java.lang.Exception)
> > [javac] location: class javax.resource.ResourceException
> > [javac] super(original);
> > [javac] ^
> > [javac]
> >
>
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBPreparedStatement.java:59:
> > warning: setUnicodeStream(int,java.io.InputStream,int) in
> > java.sql.PreparedStatement has been deprecated
> > [javac] public class FBPreparedStatement extends FBStatement
> > implements PreparedStatement {
> > [javac] ^
> > [javac] 3 errors
> > [javac] 1 warning
> >
> > BUILD FAILED
> > file:/home/tsang/firebird/client-java/build.xml:196: Compile failed;
> > see the compiler error output for details.
> >
> > Total time: 18 seconds
> >
> > Please help
> > Thanks
> > CN