aboutsummaryrefslogtreecommitdiffstats
path: root/security/xml-security/files/patch-build.xml
blob: fda7db4b568d8b430d54fa35dd549ced2831dfb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- build.xml.orig  2010-11-11 10:38:24.000000000 +0100
+++ build.xml   2010-12-14 13:05:00.000000000 +0100
@@ -276,7 +276,7 @@
         <javac target="1.4" source="1.4" srcdir="${dir.src}"
                destdir="${dir.build.bin}"
                debug="${build.compile.debug}"
-               includeAntRuntime="false">
+               includeAntRuntime="yes">
             <classpath refid="id.classpath" />
             <include name="**/org/apache/xml/security/**/*.java" />
             <include name="**/javax/xml/crypto/**/*.java" />
@@ -789,6 +789,19 @@
    </jar>
     </target>
 
+    <target name="jar"
+            depends="manifest,build.src">
+
+        <!-- Main Library -->
+        <jar basedir="${dir.build.bin}"
+             excludes="org/apache/xml/security/temp/**"
+             includes="org/apache/**, org/jcp/**, javax/xml/crypto/**"
+             destfile="${jar.library}"
+             manifest="${jar.manifest}">
+          <metainf file="${dir.manifest}/*.txt"/>
+        </jar>
+    </target>
+
     <target name="build.src.jar"
        depends="manifest,build.src">
 
@@ -811,7 +824,6 @@
     <target name="docs"             depends="build.docs" />
     <target name="xdocs"            depends="build.xdocs" />
     <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"/>