/[pdpsoft]/trunk/nl.nikhef.jgridstart/build.xml
ViewVC logotype

Diff of /trunk/nl.nikhef.jgridstart/build.xml

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

revision 233 by wvengen, Fri Apr 17 16:14:23 2009 UTC revision 234 by wvengen, Mon Apr 20 07:05:38 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"/>          <property name="dep.swingworker" location="${dir.thirdparty}/swingworker/swing-worker-1.2.jar"/>
55            <!-- HTMLPane is used as dependency but needs stubs for ProGuard :/ -->
56          <property name="dep.htmlpane" location="${dir.thirdparty}/htmlpane/HTMLPane.jar"/>          <property name="dep.htmlpane" location="${dir.thirdparty}/htmlpane/HTMLPane.jar"/>
57            <property name="dep.htmlpane.stubs" location="${dir.thirdparty}/htmlpane/HTMLPane-stubs.zip"/>
58          <path id="path.dependencies">          <path id="path.dependencies">
59                  <!-- TODO use jdk13 library versions and test -->                  <!-- TODO use jdk13 library versions and test -->
60                  <pathelement location="${dep.bouncycastle}"/>                  <pathelement location="${dep.bouncycastle}"/>
# Line 113  Line 117 
117                                  <attribute name="Built-By" value="${user.name}"/>                                  <attribute name="Built-By" value="${user.name}"/>
118                                  <attribute name="Main-Class" value="${target.main}"/>                                  <attribute name="Main-Class" value="${target.main}"/>
119                          </manifest>                          </manifest>
120                          <fileset dir="${dir.build}">                          <fileset dir="${dir.build}"/>
121                                  <exclude name="**/*Test.*"/>                          <zipfileset src="${dep.cli}" includes="**/*.class"/>
122                                  <exclude name="**/AllTests.*"/>                          <zipfileset src="${dep.swingworker}" includes="**/*.class"/>
123                          </fileset>                          <zipfileset src="${dep.htmlpane}" includes="**/*.class images/**"/>
                         <zipfileset src="${dep.cli}" excludes="META-INF/**"/>  
                         <zipfileset src="${dep.swingworker}" excludes="**/*.class"/>  
                         <zipfileset src="${dep.htmlpane}" includes="**/*.class"/>  
124                  </jar>                  </jar>
125                  <!-- minimize jar file; skipnonpubliclibraryclasses needed for java1.6 -->                  <!-- minimize jar file; skipnonpubliclibraryclasses needed for java1.6 -->
126                  <proguard obfuscate="false" skipnonpubliclibraryclasses="false">                  <proguard obfuscate="false" skipnonpubliclibraryclasses="false">
# Line 128  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                            <libraryjar file="${dep.junit}"/>
133                            <libraryjar file="${dep.htmlpane.stubs}"/>
134                          <keepclasseswithmembers access="public">                          <keepclasseswithmembers access="public">
135                                  <method access="public static" type="void"                                  <method access="public static" type="void"
136                                          name="main" parameters="java.lang.String[]"/>                                          name="main" parameters="java.lang.String[]"/>

Legend:
Removed from v.233  
changed lines
  Added in v.234

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