ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dies Koper <d...@hst.fujitsu.com>
Subject copying multiple directories set in property
Date Wed, 27 Apr 2005 01:18:43 GMT
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


Mime
View raw message