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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]