Adobe LiveCycle Component build.xml modifications
<target name="package.dsc" description="Foo.jar" depends="compile"> | |
<jar destfile="${deploy.dir}/Foo.jar"> | |
<zipfileset dir="${classes.dir}" includes="**/*.class"/> | |
<zipfileset dir="${src.dir}" includes="**/*.xml,**/*.java"/> | |
<fileset dir="." includes="icons/**"/> | |
<fileset dir="." includes="lib/*.jar" excludes="lib/internal/adobe-livecycle-client.jar"/> | |
<!-- Include just one file explicitly --> | |
<zipfileset dir="${adobe.thirdparty.dir}" includes="axis.jar" /> | |
<!-- Include a few files explicitly --> | |
<zipfileset dir="${adobe.thirdparty.dir}" includes="axis.jar commons-discovery.jar jaxen-1.1.1.jar" /> | |
<!-- Include a set of files deliminated by spaces (requires snippet below)--> | |
<zipfileset dir="${adobe.thirdparty.dir}" includes="${adobe-thirdparty.include}" /> | |
</jar> | |
</target> | |
<!-- Snippit included in other goals prior to package --> | |
<!-- enumerate all the classpath/include files for later use --> | |
<fileset id="adobe-thirdparty.deploy.libs" dir="${adobe.thirdparty.dir}"> | |
<include name="axis.jar"/> | |
<include name="jaxrpc.jar"/> | |
<include name="commons-discovery.jar"/> | |
<include name="jaxrpc.jar"/> | |
<include name="jaxen-1.1.1.jar" /> | |
<include name="log4j.jar" /> | |
</fileset> | |
<!-- get string of file names of above seperated by spaces --> | |
<pathconvert property="adobe-thirdparty.include" refid="adobe-thirdparty.deploy.libs" pathsep=" "> | |
<flattenmapper /> | |
</pathconvert> | |
<!-- /end of code snippet --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment