ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Heise" <...@janheise.de>
Subject Q: expanding fileset to args for java-task
Date Wed, 06 Nov 2002 17:27:22 GMT
hi all,

perhaps this is a simple/silly question but I haven't
found an answer so far. I want to do the following:

say i have a java task like:
<java classname="cirrus.hibernate.tools.SchemaExport" fork="true">

this tool supports a list of files as input from the command line,
so obviously I want to do something like this:
	<arg refid="mapping1.hbm.xml"/>
	<arg refid="mapping2.hbm.xml"/>
	<arg refid="mapping3.hbm.xml"/>

I am searching for a way to make this more flexible/shorter like
doing:
<arg>
	<fileset dir="${dir.src}">
		<include name="**/*.hbm.xml" />
	</fileset>
</arg>

but this does not work. is there a way to achieve the above?

tia, jan




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


Mime
View raw message