ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (PS, GNF, Contractor)" <Luis.Cone...@gnf.com>
Subject RE: How to pass list of filenames to javac task
Date Mon, 02 Feb 2004 19:11:11 GMT
Yes, use <src> element in the <javac> task, as mentioned in the manual[1]

  <javac destdir="${build}"
         classpath="xyz.jar"
         debug="on">
    <src path="${src}"/>
    <src path="${src2}"/>
    <include name="mypackage/p1/**"/>
    <include name="mypackage/p2/**"/>
    <exclude name="mypackage/p1/testpackage/**"/>
  </javac>

HTH
-Luis
Luis G Conelly
Mobile +52 (449)123-8749
There are 10 kinds of programmers:
* Those who know binary code
* Those who does not


[1] http://ant.apache.org/manual/CoreTasks/javac.html

-----Original Message-----
From: Veerappan Saravanan-ESV007 [mailto:esv007@motorola.com]
Sent: Monday, February 02, 2004 1:01 PM
To: 'user@ant.apache.org'
Subject: How to pass list of filenames to javac task


Is there a way to give list of filenames instead of specifying srcdir attribute?

Thanks

 

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