/[pdpsoft]/branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/build.xml
ViewVC logotype

Diff of /branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/build.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 249 by wvengen, Thu Apr 9 13:58:28 2009 UTC revision 250 by wvengen, Wed Apr 22 14:54:57 2009 UTC
# Line 44  Line 44 
44          <property name="dir.keystore" location=".."/>          <property name="dir.keystore" location=".."/>
45          <property file="${dir.keystore}/keystore.properties"/>          <property file="${dir.keystore}/keystore.properties"/>
46    
47                    <!--
48          <!-- dependencies -->            - dependencies
49              -->
50    
51          <property name="dep.bouncycastle" location="${dir.thirdparty}/bouncycastle/bcprov-jdk14-142.jar"/>          <property name="dep.bouncycastle" location="${dir.thirdparty}/bouncycastle/bcprov-jdk14-142.jar"/>
52          <property name="dep.cli" location="${dir.thirdparty}/commons-cli/commons-cli-1.2.jar"/>          <property name="dep.cli" location="${dir.thirdparty}/commons-cli/commons-cli-1.2.jar"/>
53          <property name="dep.junit" location="${dir.thirdparty}/junit/junit-4.5.jar"/>          <property name="dep.junit" location="${dir.thirdparty}/junit/junit-4.5.jar"/>
54            <property name="dep.swingworker" location="${dir.thirdparty}/swingworker/swing-worker-1.2.jar"/>
55          <property name="dep.xhtmlrenderer" location="${dir.thirdparty}/flyingsaucer/core-renderer-minimal.jar"/>          <property name="dep.xhtmlrenderer" location="${dir.thirdparty}/flyingsaucer/core-renderer-minimal.jar"/>
56          <path id="path.dependencies">          <path id="path.dependencies">
57                  <!-- TODO use jdk13 library versions and test -->                  <!-- TODO use jdk13 library versions and test -->
58                  <pathelement location="${dep.bouncycastle}"/>                  <pathelement location="${dep.bouncycastle}"/>
59                  <pathelement location="${dep.cli}"/>                  <pathelement location="${dep.cli}"/>
60                  <pathelement location="${dep.junit}"/>                  <pathelement location="${dep.junit}"/>
61                    <pathelement location="${dep.swingworker}"/> <!-- for java1.5 and below -->
62                  <pathelement location="${dep.xhtmlrenderer}"/>                  <pathelement location="${dep.xhtmlrenderer}"/>
63          </path>          </path>
64    
# Line 111  Line 115 
115                                  <attribute name="Built-By" value="${user.name}"/>                                  <attribute name="Built-By" value="${user.name}"/>
116                                  <attribute name="Main-Class" value="${target.main}"/>                                  <attribute name="Main-Class" value="${target.main}"/>
117                          </manifest>                          </manifest>
118                          <fileset dir="${dir.build}">                          <fileset dir="${dir.build}"/>
119                                  <exclude name="**/*Test.*"/>                          <zipfileset src="${dep.cli}" includes="**/*.class"/>
120                                  <exclude name="**/AllTests.*"/>                          <zipfileset src="${dep.swingworker}" includes="**/*.class"/>
                         </fileset>  
                         <zipfileset src="${dep.cli}" excludes="META-INF/**"/>  
121                          <zipfileset src="${dep.xhtmlrenderer}" excludes="META-INF/** compare/** eeze/** utilities/**"/>                          <zipfileset src="${dep.xhtmlrenderer}" excludes="META-INF/** compare/** eeze/** utilities/**"/>
122                          <zipfileset src="thirdparty/flyingsaucer/itext-paulo-155.jar" excludes="META-INF/** **/*.afm"/>                          <zipfileset src="thirdparty/flyingsaucer/itext-paulo-155.jar" excludes="META-INF/** **/*.afm"/>
123                          <zipfileset src="thirdparty/flyingsaucer/minium.jar" excludes="META-INF/**"/>                          <zipfileset src="thirdparty/flyingsaucer/minium.jar" excludes="META-INF/**"/>
# Line 127  Line 129 
129                          <libraryjar file="${java.home}/lib/rt.jar"/>                          <libraryjar file="${java.home}/lib/rt.jar"/>
130                          <libraryjar file="${java.home}/lib/jsse.jar"/>                          <libraryjar file="${java.home}/lib/jsse.jar"/>
131                          <libraryjar file="${dep.bouncycastle}"/>                          <libraryjar file="${dep.bouncycastle}"/>
132                          <keepclasseswithmembers access="public" name="${target.main}">                          <libraryjar file="${dep.junit}"/>
133                            <keepclasseswithmembers access="public">
134                                  <method access="public static" type="void"                                  <method access="public static" type="void"
135                                          name="main" parameters="java.lang.String[]"/>                                          name="main" parameters="java.lang.String[]"/>
136                          </keepclasseswithmembers>                          </keepclasseswithmembers>
# Line 163  Line 166 
166                  <delete file="${dir.dist}/${dep.bouncycastle.basename}"/>                  <delete file="${dir.dist}/${dep.bouncycastle.basename}"/>
167          </target>          </target>
168    
169  </project>  </project>

Legend:
Removed from v.249  
changed lines
  Added in v.250

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28