freebsd-ports/security/xml-security/files/patch-build.xml
2012-02-22 16:19:04 +00:00

39 lines
1.5 KiB
XML

--- build.xml.orig 2012-02-22 13:02:34.000000000 +0100
+++ build.xml 2012-02-22 13:05:16.000000000 +0100
@@ -221,7 +221,7 @@
<javac target="1.5" source="1.5" srcdir="${dir.src}"
destdir="${dir.build.bin}"
debug="${build.compile.debug}"
- includeAntRuntime="false">
+ includeAntRuntime="yes">
<compilerarg value="-XDignore.symbol.file" />
<classpath refid="id.classpath" />
<include name="**/org/apache/xml/security/**/*.java" />
@@ -667,6 +667,19 @@
</manifest>
</target>
+ <target name="jar"
+ depends="manifest,build.src">
+
+ <!-- Main Library -->
+ <jar basedir="${dir.build.bin}"
+ excludes="org/apache/xml/security/temp/**"
+ includes="org/apache/**, javax/xml/crypto/**"
+ destfile="${jar.library}"
+ manifest="${jar.manifest}">
+ <metainf file="${dir.manifest}/*.txt"/>
+ </jar>
+ </target>
+
<target name="build.jar"
depends="manifest,build.src,build.test,build.samples">
@@ -719,7 +732,6 @@
<target name="compile" depends="build.src" />
<target name="docs" depends="build.docs" />
<target name="javadoc" depends="build.docs" />
- <target name="jar" depends="build.jar" />
<target name="dist" depends="build.dist" />
<target name="clean" depends="env.rm.dirs,env.rm.files"/>
<target name="gump" depends="clean, docs, jar, test"/>