Subject Re: [Firebird-Java] Re: Driver won't build Looking for JBoss
Author David Jencks
1. from your original client-java cvs checkout there should be
client-java\lib\
containing ant.jar, optional.jar, and junit.jar (and some other things)

If not, try to figure out why the original checkout from firebird
client-java didnt' work.

2. If these are present, perhaps the batch files are not finding the
correct copy of ant. I don't know enough about bat files to speculate on
the cause: you might try setting ANT_HOME to client-java.

david jencks


On 2002.09.03 20:57:59 -0400 armenakgrigoryan wrote:
> Thanks a lot ! One more thing. Do I need to use JUnit in order to get
> the rest of jar files ? I got following message :
>
> jars:
>
> all-tests:
> [mkdir] Created dir: C:\client-java\output\db
> [mkdir] Created dir: C:\client-java\output\reports
> [mkdir] Created dir: C:\client-java\output\log
>
> BUILD FAILED
> file:C:/client-java/build.xml:353: Could not create task or type of
> type: junit.
>
>
> Ant could not find the task or a class this task relies upon.
>
> This is common and has a number of causes; the usual
> solutions are to read the manual pages then download and
> install needed JAR files, or fix the build file:
> - You have misspelt 'junit'.
>
> --- In Firebird-Java@y..., David Jencks <davidjencks@d...> wrote:
> > build.bat total-clean
> > build.bat
> >
> > if cvs doesn't pull the needed jboss sources, it ought to at least
> tell you
> > why, and if you can't figure out why please show what it says.
> >
> > Beyond this someone who uses windows will have to help.
> >
> > david jencks
> >
> >
> > On 2002.09.03 19:34:54 -0400 armenakgrigoryan wrote:
> > > Thanks for your response.
> > > I have tried to compile all packages and got following error
> message :
> > >
> > > -----------------------------------------
> > > C:\client-java>bin/ant.bat -
> > > Djavax.xml.parsers.DocumentBuilderFactory="org.apac
> > > he.xerces.jaxp.DocumentBuilderFactoryImpl" -
> > > Djavax.xml.parsers.SAXParserFactory=
> > > "org.apache.xerces.jaxp.SAXParserFactoryImpl"
> > > Buildfile: build.xml
> > >
> > > init:
> > >
> > > compile-concurrent:
> > > [unjar] Expanding: C:\client-java\src\lib\concurrent.jar into
> > > C:\client-java
> > > \output\concurrent
> > >
> > > checkout-j2ee:
> > >
> > > compile-j2ee:
> > >
> > > BUILD FAILED
> > > file:C:/client-java/build.xml:172: srcdir "C:\client-
> > > java\thirdparty\jboss\jboss
> > > -j2ee\src\main" does not exist!
> > >
> > > ---------
> > >
> > > I have CVS in my path as well as ant and they both working
> correctly
> > > for my project. Could you please advise me what I need to do in
> order
> > > to get these JBoss packages ?
> > >
> > > --- In Firebird-Java@y..., David Jencks <davidjencks@d...> wrote:
> > > > Roman put a recent snapshot on the yahoo groups file area. We
> are
> > > waiting
> > > > for someone to write release notes for the next binary
> release. If
> > > you
> > > > have cvs the ant build script will get the correct pieces of
> jboss
> > > and
> > > > build them.
> > > >
> > > > The reason for the use of the jboss classes is that they can be
> > > > redistributed whereas the Sun versions cannot. (the previous
> > > policy of
> > > > using Sun packages was most likely a license violation) This
> > > results in
> > > > getting closer to the goal of supplying the complete driver
> without
> > > needing
> > > > you to download large packages with code you don't need and
> that
> > > may have
> > > > restrictive licensing.
> > > >
> > > > You are welcome to try to get the jca classes from sun and
> build
> > > the driver
> > > > with them instead, but I'm not really interested in changing
> the
> > > build
> > > > script to support this.
> > > >
> > > > thanks
> > > > david jencks
> > > >
> > > > On 2002.09.03 18:16:12 -0400 armenakgrigoryan wrote:
> > > > > Can we somehow get old snapshot without these funny things. I
> > > don't
> > > > > need JBoss, moreover I don't like it :). Could we just
> simplify
> > > this
> > > > > procedure and create build.xml only for Firebird JDBC ? It is
> > > very
> > > > > hard to find out something on Firebird web site, so PLEASE
> don't
> > > > > force peoples for next round questions like "How to reach
> JBoss
> > > > > server from your CVS" , ...
> > > > >
> > > > > PLEASE !!!
> > > > >
> > > > > --- In Firebird-Java@y..., "Rodolfo M. Raya" <rmraya@m...>
> wrote:
> > > > > > On Tue, 2002-09-03 at 18:29, Rick Fincher wrote:
> > > > > > >
> > > > > > > checkout-j2ee:
> > > > > > >
> > > > > > > compile-j2ee:
> > > > > > >
> > > > > > > BUILD FAILED
> > > > > > > file:C:/client-java/build.xml:172: srcdir
> > > > > > > "C:\client-java\thirdparty\jboss\jboss-j2ee\src\main"
> > > > > > > does not exist!
> > > > > > >
> > > > > > > What's that all about? How do you build without building
> > > JBoss,
> > > > > or is it
> > > > > > > required now?
> > > > > >
> > > > > > Hi Rick,
> > > > > >
> > > > > > David Jenks made changes and now you need some jboss
> classes to
> > > > > build
> > > > > > the driver.
> > > > > >
> > > > > > If you don't have those classes, ANT will try to download
> them
> > > using
> > > > > > CVS.If ANT can't call CVS from command line build fails.
> > > > > >
> > > > > > Make sure that CVS.exe is in your path and also make sure
> your
> > > CVS
> > > > > > client can reach jboss CVS server.
> > > > > >
> > > > > > HTH,
> > > > > >
> > > > > > Rodolfo
> > > > > >
> > > > > > --
> > > > > >
> > > > > > MAXPROGRAMS
> > > > > > IBM Business Partner
> > > > > > Microsoft MSDN Business Connection Partner
> > > > > > rmraya@m...
> > > > > > http://www.maxprograms.com
> > > > >
> > > > >
> > > > >
> > > > > To unsubscribe from this group, send an email to:
> > > > > Firebird-Java-unsubscribe@y...
> > > > >
> > > > >
> > > > >
> > > > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >
> > > To unsubscribe from this group, send an email to:
> > > Firebird-Java-unsubscribe@y...
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> > >
> > >
>
>
>
> 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/
>
>
>
>
>