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:16:37 GMT
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


Mime
View raw message