ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fmarchioni@libero.it" <fmarchi...@libero.it>
Subject How to include multiple classpath directories ?
Date Thu, 27 Jun 2002 15:26:16 GMT
Hi all,
I'd like to use ant to compile classes that use EJB and
Web Services jars. As I don't want to include all the
jars I need, I'd like just to give JBoss lib's dir and
JWservicesPack lib's dir.

I have tried with this target but it only includes JBoss libs...

<target name="compile" >
   
     <path id="additional.path">
            <fileset dir="C:\jwsdp-1_0-ea2\server\lib">
               <include name="**/*.jar"/>
            </fileset>
          </path>
   
       <path id="base.path">
            <fileset dir="c:\JBoss-2.4.4\lib">
               <include name="**/*.jar"/>
            </fileset>
         
           <!-- append the external classpath lastly -->
           <pathelement path="${additional.path}" />
       </path>

      

   <javac srcdir="."  destdir="." includes="Test.java" 
     classpathref="base.path"   />
             
 
  </target>


Please can anybody tell me how to include all jars found in JBoss & 
JWSDP dir without listing them all ??
Thanks a lot
Francesco
Mime
View raw message