My first version (which works) is:
<macrodef name="my.rapc">
<element name="altEntries" optional="true"/>
<sequential>
<rapc output="${cod.name}" srcdir="${src.dir}"
destdir="${build.dir}">
<jdp file="project.properties">
<altEntries/>
</jdp>
<import>
<fileset dir="${common.basedir}/.."
includes="${deps.list}/build/*.jar" />
</import>
<src>
<fileset dir="${src.dir}">
<include name="**/*.java" />
<include name="**/*.png" />
<include
name="resources/**/*.*" />
</fileset>
</src>
</rapc>
</sequential>
</macrodef>
but I'm still looking at this construct. I can't use the implicit tag
because their might be nothing (ie no file), and then this wouldn't
work, so I went with optional.
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]