S
sri
this is the target in ant script to create a single jar file for a
module
<target name="deployjar">
<jar jarfile="${deploy}/PTS${moduleTitle}-${DSTAMP}-${TSTAMP}.jar" >
<fileset dir="${build}" >
<exclude name="${web}/**/*.*" />
</fileset>
<fileset dir="${src}\ejb\${moduleName}\META-INF" />
</jar>
</target>
the problem is i have 10 such modules
should i repeat this script for each of the 10 modules to create 10 jar
files or
is there some way to loop or invoke the target with different module
names
and create different jar with different module titles
if there is a way how can we pass different property values for each
invocation?
module
<target name="deployjar">
<jar jarfile="${deploy}/PTS${moduleTitle}-${DSTAMP}-${TSTAMP}.jar" >
<fileset dir="${build}" >
<exclude name="${web}/**/*.*" />
</fileset>
<fileset dir="${src}\ejb\${moduleName}\META-INF" />
</jar>
</target>
the problem is i have 10 such modules
should i repeat this script for each of the 10 modules to create 10 jar
files or
is there some way to loop or invoke the target with different module
names
and create different jar with different module titles
if there is a way how can we pass different property values for each
invocation?