|
|
</target> | </target> |
| |
| |
<target name="dist" depends="compile,javadoc" |
<target name="dist" depends="compile" |
description="Create binary distribution"> | description="Create binary distribution"> |
<mkdir dir="${dist.home}"/> | <mkdir dir="${dist.home}"/> |
<copy file="../LICENSE" |
<copy file="./LICENSE.txt" |
todir="${dist.home}"/> | todir="${dist.home}"/> |
<copy file="RELEASE-NOTES.txt" | <copy file="RELEASE-NOTES.txt" |
todir="${dist.home}"/> | todir="${dist.home}"/> |
|
|
description="Create jar"> | description="Create jar"> |
<mkdir dir="${dist.home}"/> | <mkdir dir="${dist.home}"/> |
<mkdir dir="${build.home}/classes/META-INF"/> | <mkdir dir="${build.home}/classes/META-INF"/> |
<copy file="../LICENSE" |
<copy file="./LICENSE.txt" |
tofile="${build.home}/classes/META-INF/LICENSE.txt"/> | tofile="${build.home}/classes/META-INF/LICENSE.txt"/> |
<jar jarfile="${commons-el.jar}" | <jar jarfile="${commons-el.jar}" |
manifest="${build.home}/conf/MANIFEST.MF"> | manifest="${build.home}/conf/MANIFEST.MF"> |
|
|
<copy todir="${build.home}/classes/META-INF" filtering="on"> | <copy todir="${build.home}/classes/META-INF" filtering="on"> |
<fileset dir="${conf.home}" includes="*.MF"/> | <fileset dir="${conf.home}" includes="*.MF"/> |
</copy> | </copy> |
<copy file="../LICENSE" |
<copy file="./LICENSE.txt" |
tofile="${build.home}/classes/META-INF/LICENSE.txt"/> | tofile="${build.home}/classes/META-INF/LICENSE.txt"/> |
<jar jarfile="${commons-el.jar}" | <jar jarfile="${commons-el.jar}" |
manifest="${build.home}/classes/META-INF/MANIFEST.MF"> | manifest="${build.home}/classes/META-INF/MANIFEST.MF"> |