ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey V. Udaltsov" <Sergey.Udalt...@ru.artificial-life.com>
Subject subsitution in file names
Date Tue, 04 Jul 2000 11:09:00 GMT
Hi

I tried ant and found it amasing. Just one question to developers. 
There is a feature in standard makefiles: name substitution. For
example, I would like to have something like

<property name="sources" value="a.java,b.java">
...
<javac srcdir="."
       destdir="classes"
       includes="${sources}"/>
...
<jar jarfile="project.jar"
     basedir="classes"
     includes="${sources,.java=.class}"/>
...

Is this possible in ant? What is the workaround for today? Probably,
this point was already discussed (sorry, I could not find archives of
this list)? Please comment

Regards,

-- 
Sergey V. Udaltsov
svu@ru.artificial-life.com

Mime
View raw message