summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorstarksm <starksm@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2007-02-24 06:12:07 +0000
committerstarksm <starksm@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2007-02-24 06:12:07 +0000
commit4f3e40804c596792d679d1d688b3245d4b33579d (patch)
treeadd5220e9f7e4cb66857212fc15ee00159c64d42 /build.xml
parent762c6f38394cbc2b48e72eeb7b1a6d55f7e3b919 (diff)
downloadjavassist-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.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 214259f0..8754fba5 100644
--- a/build.xml
+++ b/build.xml
@@ -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">