ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GNF, Contractor)" <>
Subject RE: adding Classpath...
Date Fri, 26 Mar 2004 17:38:56 GMT
Try something like:

    <target name="compile" description="builds up the classes">
        <javac srcdir="${param.src}" destdir="${}"
               <fileset dir="${my.lib}" id="project.classpath">
                   <include name="**/*.jar"/>
                   <include name="**/*.zip"/>

-----Original Message-----
From: Zakaria khabot []
Sent: Friday, March 26, 2004 11:35 AM
To: Ant Users List
Subject: adding Classpath...

Hi all,
How to add many files (.jar) while compiling a directory using ANT.
I wrote :
<javac srcdir="${src}/java" destdir="${dist}/WEB-INF/classes"
classpath="D:/Projets/Projet1/lib/*.jar" />

But it doesn't work.

Thanks for all...

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message