i think we should modify our build slightly to combine all lenya classes into a lenya-version.jar, just like cocoon does. this would make it easier to expose lenya as an artifact for third party applications (1 jar instead of dozens of class files)

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]



Reply via email to