Subject | Re: [Firebird-Java] Re: build failed on cannot resolve symbol - constructor ResourceException(...) |
---|---|
Author | David Jencks |
Post date | 2002-10-15T15:34:17Z |
More or less. I think I should be checking out a fixed rather than branch
tag from jboss. I didn't expect the jboss sources to change, but they have
been updated to the jca 1.5 classes. Apparently Roman is using some jca
1.5 constructors for ResourceException. I'm not sure this is a good idea,
since people may wish to run the driver on a system that only supports jca
1.0.
david jencks
tag from jboss. I didn't expect the jboss sources to change, but they have
been updated to the jca 1.5 classes. Apparently Roman is using some jca
1.5 constructors for ResourceException. I'm not sure this is a good idea,
since people may wish to run the driver on a system that only supports jca
1.0.
david jencks
On 2002.10.15 06:02:58 -0400 tsangccn wrote:
> 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
>
>
> --- 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
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>