diff options
author | starksm <starksm@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-02-24 06:12:07 +0000 |
---|---|---|
committer | starksm <starksm@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-02-24 06:12:07 +0000 |
commit | 4f3e40804c596792d679d1d688b3245d4b33579d (patch) | |
tree | add5220e9f7e4cb66857212fc15ee00159c64d42 /build.xml | |
parent | 762c6f38394cbc2b48e72eeb7b1a6d55f7e3b919 (diff) | |
download | javassist-4f3e40804c596792d679d1d688b3245d4b33579d.tar.gz javassist-4f3e40804c596792d679d1d688b3245d4b33579d.zip |
Add a javassist-src.jar to build a source artifact
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@355 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -10,6 +10,7 @@ <property environment="env"/> <property name="target.jar" value="javassist.jar"/> + <property name="target-src.jar" value="javassist-src.jar"/> <property name="src.dir" value="${basedir}/src/main"/> <property name="build.dir" value="${basedir}/build"/> <property name="build.classes.dir" value="${build.dir}/classes"/> @@ -102,6 +103,11 @@ to ${build.classes.dir}.</echo> <include name="**/*.class"/> </fileset> </jar> + <jar jarfile="${target-src.jar}" manifest="${src.dir}/META-INF/MANIFEST.MF"> + <fileset dir="${src.dir}"> + <include name="javassist/**"/> + </fileset> + </jar> </target> <target name="javadocs"> |