summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 116a13bcd..d0c20b382 100644
--- a/build.xml
+++ b/build.xml
@@ -670,6 +670,12 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<package name="org.apache.fop.fonts"/>
<package name="org.apache.fop.fonts.*"/>
</group>
+ <classpath refid="libs-build-classpath"/>
+ <classpath>
+ <fileset dir="${lib.dir}">
+ <include name="ant*.jar"/>
+ </fileset>
+ </classpath>
</javadoc>
</target>
@@ -737,6 +743,18 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
</target>
<!-- =================================================================== -->
+ <!-- Optional targets for Eclipse -->
+ <!-- =================================================================== -->
+ <target name="src-jar" depends="prepare-src" description="Generates a source zip for Eclipse">
+ <jar jarfile="${build.dir}/${name}-src.jar">
+ <fileset dir="${build.src}">
+ <include name="**/*.java"/>
+ </fileset>
+ </jar>
+
+ </target>
+
+ <!-- =================================================================== -->
<!-- Clean targets -->
<!-- =================================================================== -->
<target name="clean" depends="init" description="Cleans the build directory">