the cocoon build does this:
<!-- package the core -->
<target name="package-core" depends="compile-core, block-roles">
<jar jarfile="${build}/${name}.jar" manifest="${java}/Manifest.mf" index="true">
<fileset dir="${build.dest}">
<exclude name="**/Manifest.mf"/>
</fileset>
</jar>
<!-- optionally add source files to the core jar -->
<if>
<istrue value="${include.sources-in-jars}"/>
<then>
<jar jarfile="${build}/${name}.jar" update="yes">
<fileset dir="${java}">
<include name="**/*.java"/>
</fileset>
</jar>
</then>
</if>
<if>
<istrue value="${include.sources-jars}"/>
<then>
<jar jarfile="${build}/${name}.src.jar">
<fileset dir="${java}">
<include name="**/*.java"/>
</fileset>
</jar>
</then>
</if>
</target>
comments?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
