Changeset 3091 in josm
- Timestamp:
- 2010-03-06T17:27:45+01:00 (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r3026 r3091 5 5 ** ant clean 6 6 ** ant dist 7 ** This will create 'josm-custom.jar' in directory 'dist'. See also 7 ** This will create 'josm-custom.jar' in directory 'dist'. See also 8 8 ** https://josm.openstreetmap.de/wiki/CreateBuild 9 ** 10 ** 9 ** 10 ** 11 11 --> 12 12 <project name="josm" default="dist" basedir="."> … … 30 30 31 31 <!-- 32 ** Used by Eclipse ant builder for updating 32 ** Used by Eclipse ant builder for updating 33 33 ** the REVISION file used by JOSM 34 34 --> … … 58 58 <mkdir dir="${revision.dir}" /> 59 59 <echo file="${revision.dir}/REVISION"> 60 # automatically generated by JOSM build.xml - do not edit 60 # automatically generated by JOSM build.xml - do not edit 61 61 Revision: ${version.entry.commit.revision} 62 62 Is-Local-Build: true 63 Build-Date: ${build.tstamp} 63 Build-Date: ${build.tstamp} 64 64 </echo> 65 65 </target> … … 184 184 </target> 185 185 186 <target name="dist-optimized" depends="dist"> 187 <taskdef resource="proguard/ant/task.properties" classpath="tools/proguard.jar" /> 188 <proguard> 189 -injars dist/josm-custom.jar 190 -outjars dist/josm-custom-optimized.jar 191 192 -libraryjars ${java.home}/lib/rt.jar 193 -libraryjars ${java.home}/lib/jce.jar 194 195 -dontoptimize 196 -dontobfuscate 197 198 -keepclasseswithmembers public class org.openstreetmap.josm.gui.MainApplication { 199 public static void main(java.lang.String[]); 200 } 201 202 -keep class JOSM 203 -keep class * extends org.openstreetmap.josm.io.FileImporter 204 -keep class * extends org.openstreetmap.josm.io.FileExporter 205 -keep class org.openstreetmap.josm.actions.search.SearchCompiler$Never 206 207 -keepclassmembers enum * { 208 public static **[] values(); 209 public static ** valueOf(java.lang.String); 210 } 211 212 -keepclassmembers class * { 213 public protected *; 214 } 215 </proguard> 216 </target> 217 186 218 </project>
Note:
See TracChangeset
for help on using the changeset viewer.