ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Blanc <Sebastien.Bl...@alcatel.com>
Subject Re: Arrrgggg!!!!
Date Wed, 22 Oct 2003 21:34:13 GMT
OK. as far as I remember ur classNotFound was on topaz rite ? it looks like ur classpath does
not contain the jar that contains this class though it contains all topaz
listed in ur cpath (optional topaz jar then ?). I may be wrong; at least jar tvf on the ones
that ANT says it is using to check if the class that is not found is here.
seb.

JOHN SANDERS wrote:

> Yep here it is:
>     [javac] Using modern compiler
> dropping /appl/cvs/builddir/src/Tracs/vicunialite.jar from path as it doesn't ex
> ist
>     [javac] Compilation arguments:
>     [javac] '-d'
>     [javac] '/appl/cvs/builddir/build/classes'
>     [javac] '-classpath'
>     [javac] '/appl/cvs/builddir/build/classes:/appl/cvs/builddir/src/Tracs/ead4j
> _common.jar:/appl/cvs/builddir/src/Tracs/ead4j_jade.jar:/appl/cvs/builddir/src/T
> racs/ead4j_opal.jar:/appl/cvs/builddir/src/Tracs/ead4j_topaz.jar:/appl/cvs/build
> dir/src/Tracs/ead4j_topaz_jdbc.jar:/appl/cvs/builddir/src/Tracs/ead4j_topaz_ejb.
> jar:/appl/cvs/builddir/src/Tracs/ejssecurity.jar:/appl/cvs/builddir/src/Tracs/jd
> om-b8.jar:/appl/cvs/builddir/src/Tracs/log4j-1.2.7.jar:/appl/cvs/builddir/src/Tr
> acs/mq.jar:/appl/cvs/builddir/src/Tracs/path_1.1-ejb.jar:/appl/cvs/builddir/src/
> Tracs/xercesImpl.jar:/appl/cvs/builddir/src/Tracs/xerces_1_4_4.jar:/appl/cvs/bui
> lddir/src/Tracs/xmlParserAPIs.jar:/home/tracs/js4747/java/ant/apache-ant-1.5.4/l
> ib/xml-apis.jar:/home/tracs/js4747/java/ant/apache-ant-1.5.4/lib/xercesImpl.jar:
> /home/tracs/js4747/java/ant/apache-ant-1.5.4/lib/optional.jar:/home/tracs/js4747
> /java/ant/apache-ant-1.5.4/lib/ant.jar:/usr/local/opt/db2/db2inst1/sqllib/functi
> on:/usr/local/opt/db2/db2inst1/sqllib/java/db2java.zip:/usr/local/opt/db2/db2ins
> t1/sqllib/java/runtime.zip:/appl/cvs/builddir:/usr/local/opt/WebSphere/AppServer
> /java/lib/tools.jar'
>
>
> ----- Original Message -----
> From: Sebastien Blanc
> Sent: Wednesday, October 22, 2003 2:17 PM
> To: Ant Users List
> Subject: Re: Arrrgggg!!!!
>
> did u try turning the compiler.verbose javac option on to see what is the classpath used
?
> seb.
>
> JOHN SANDERS wrote:
>
> > Thanks to everyone for their replies, but it still is not working.  I have made
the fixes that were suggested and STILL get the same errors.  Here is the script now.
> >
> > <?xml version="1.0" ?>
> > <project name="tracs" default="archive">
> > <description>Gets the source from CVS; Compiles the programs
> >             and builds the EAR file.</description>
> > <property name="root.dir" location="/appl/cvs/builddir/src" />
> > <property name="lib.dir" location="/appl/cvs/builddir/src/Tracs" />
> >         <path id="jar.files">
> >              <pathelement location="${lib.dir}/ead4j_common.jar" />
> >              <pathelement location="${lib.dir}/ead4j_jade.jar" />
> >              <pathelement location="${lib.dir}/ead4j_opal.jar" />
> >              <pathelement location="${lib.dir}/ead4j_topaz.jar" />
> >              <pathelement location="${lib.dir}/ead4j_topaz_jdbc.jar" />
> >              <pathelement location="${lib.dir}/ead4j_topaz_ejb.jar" />
> >              <pathelement location="${lib.dir}/ejssecurity.jar" />
> >              <pathelement location="${lib.dir}/jdom-b8.jar" />
> >              <pathelement location="${lib.dir}/log4j-1.2.7.jar" />
> >              <pathelement location="${lib.dir}/mq.jar" />
> >              <pathelement location="${lib.dir}/path_1.1-ejb.jar" />
> >              <pathelement location="${lib.dir}/vicunialite.jar" />
> >              <pathelement location="${lib.dir}/xercesImpl.jar" />
> >              <pathelement location="${lib.dir}/xerces_1_4_4.jar" />
> >              <pathelement location="${lib.dir}/xmlParserAPIs.jar" />
> >         </path>
> >       <target name="init" description="Refreshes source files">
> >             <mkdir dir="build/classes" />
> >             <mkdir dir="dist" />
> >             <cvs command="checkout" package="Tracs_Java"
> >                   dest="${root.dir}" failonerror="yes" />
> >             <cvs command="checkout" package="Tracs_EJB"
> >                   dest="${root.dir}" failonerror="yes" />
> >             <cvs command="checkout" package="Tracs_Web"
> >                   dest="${root.dir}"  failonerror="yes" />
> >             <cvs command="checkout" package="Tracs"
> >                   dest="${root.dir}"  failonerror="yes" />
> >       </target>
> >
> >       <target name="compile" depends="init"
> >             description="Compiles the programs">
> >             <javac srcdir="${root.dir}" destdir="build/classes">
> >             <classpath refid="jar.files" />
> >             </javac>
> >       </target>
> >
> >       <target name="archive" depends="compile"
> >             description="Creates the jar files">
> >             <jar destfile="dist/tracs.jar" basedir="build/classes" />
> >       </target>
> >
> >       <target name="cleanup"
> >             description="Removes the directories that this file creates.">
> >             <delete dir="build" />
> >             <delete dir="dist" />
> >             <delete dir="src" />
> >       </target>
> > </project>
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message