You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dies Koper <di...@hst.fujitsu.com> on 2005/04/27 03:18:43 UTC

copying multiple directories set in property

Hello,
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"
</path>
<javac destdir="${build.classes}">
	<src refid="src.dir" />
	<classpath refid="build.classpath" />
</javac>

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?
Cheers,
Dies Koper


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