ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Hatton" <khat...@axiomsystems.com>
Subject RE: *.java to *.class?
Date Wed, 02 Apr 2003 16:03:18 GMT
Hi Todor,

I think you need the <mapper> element - look in the Ant docs for File Mappers.
Something like
<mapper type="glob" from="*.java" to="*.class"/>

Hope this helps
Keith


-----Original Message-----
From: Todor Boev [mailto:t_boev@prosyst.bg]
Sent: 02 April 2003 16:59
To: Ant Users List
Subject: *.java to *.class?


Hello all,
Assume I have a fileset that contains some *.java filles. I need to compile all these java
files and than put into a jar their corresponding *.class files. Is there a way to derive
the list of class files from the list of java files and store it all into a fileset or a property?


Best regards,
Todor Boev


Mime
View raw message