ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Schmitt" <sschm...@raleigh.ibm.com>
Subject Re: Problem with classpath
Date Thu, 09 Nov 2000 07:05:12 GMT
My Problem is that I want to define a classpath for the whole project. The
MyClass class copies some jarfiles and some source code to the build pc. I
need to but the Jar files to my classpath but how can I make this inside of
my build.xml? I read the manual but this confuses me and I tried it the way
which I showed in my previous mail.
Yours
Stefan S

----- Original Message -----
From: "Nico Seessle" <Nico.Seessle@epost.de>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, November 08, 2000 10:04 PM
Subject: Re: Problem with classpath


> ----- Original Message -----
> From: "raleigh" <sschmitt@raleigh.ibm.com>
> To: "Ant" <ant-user@jakarta.apache.org>
> Sent: Wednesday, November 08, 2000 4:14 PM
> Subject: Problem with classpath
>
>
> > I use it in the following way:
> >
> > <target name="init">
> >     <java classname="MyClass" args="allSourceFiles">
> >     <classpath>
> >         <pathelement location="${MyClass.dir}"/>
> >     </classpath>
> >     </java>
> >     <classpath>
> >         <pathelement path="${Source.libdir}"/>
> >         <pathelement location="xerces-1.1.3.jar"/>
> >         <pathelement location="xalan_1_1_D01.jar"/>
> >         <pathelement location="castor.jar"/>
> >         <pathelement location="jaxp.jar"/>
> >         <fileset dir="${Source.libdir}">
> >             <include name="**.*.jar"/>
> >         </fileset>
> >     </classpath>
> > </target>
> >
>
> I think you can just remove it? What should it do at the location where it
> is and without an id=".."? Or should it be inside (before) </java> ?
>
> Nico
>
>
>
>
>
>
>


Mime
View raw message