ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <SCo...@sportvision.com>
Subject RE: *.java to *.class?
Date Wed, 02 Apr 2003 16:16:53 GMT
It would probably be easier to simply organize your compile so that the
output .class files go to a different directory from where the .java
files are.  Then you simply define a fileset on that directory and use
that to build your jar.

-----Original Message-----
From: Keith Hatton [mailto:khatton@axiomsystems.com] 
Sent: Wednesday, April 02, 2003 10:03 AM
To: Ant Users List
Subject: RE: *.java to *.class?


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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message