ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dies Koper <>
Subject Re: AW: copying multiple directories set in property
Date Thu, 28 Apr 2005 05:34:59 GMT
Thanks for the quick reply.

One other work-around, of course, is to put all my dtd files in only one
of my source directories. With my current projects that might be acceptable.

Thanks again, Dies wrote:
> The only workaround is iterating for yourself, e.g. with AntContrib <for>.
> Jan
>>-----Urspr・gliche Nachricht-----
>>Von: Dies Koper []
>>Gesendet am: Mittwoch, 27. April 2005 03:19
>>Betreff: copying multiple directories set in property
>>I'd like to copy files from directories that I have set in a property.
>>It is to copy dtd files from my source directories to the 
>>build directory.
>>For some projects I have several source directories, that is why I set
>>them in a property file. I compile as follows:
>><path id="src.dir">
>>	<pathelement path="${module.src}" /> <- "src/mod1; src/mod2"
>><javac destdir="${build.classes}">
>>	<src refid="src.dir" />
>>	<classpath refid="build.classpath" />
>>So I'd like to copy dtd files similarly. But <copy> works 
>>with filesets,
>>and I can't seem to define a fileset that accepts my path id, or
>>directories in the form of "src/mod1; src/mod2".
>>Can anyone help?
>>Dies Koper
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:

Dies KOPER <>
FUJITSU Hyper Software Technologies Ltd.
2-15-16, Shin-Yokohama, Kouhoku-ku, Yokohama, 222-0033, Japan
Tel. +81(45)-475-5605  (internal 7181-4211)

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

View raw message