ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elizabeth Cooper <>
Subject fileset question
Date Thu, 10 Oct 2002 19:35:50 GMT
Can someone point me to an example of how to do this ...

I have a fileset which I have formed from a <selector>
These are all java files (*.java).
I want to convert this to a file list of corresponding resource files; I 
want to designate a source directory (${source}), and use the root name of 
the java files in this source directory to create a new fileset of all 
resource files that match. For example, I have,, and; I need the new fileset to only contain,, Bean32.gif, Bean16.gif,,,, etc.

This is to use in a copy (to copy resources for a jar); assuming the id of 
this new fileset is "new.file.set"

I want to be able to do:

<copy todir="${}>
    <fileset refid="new.file.set" />


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message