Changeset 7367 in josm for trunk/build.xml
- Timestamp:
- 2014-08-05T04:33:39+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r7351 r7367 169 169 170 170 <xmltask source="${bundle.outdir}/JOSM.app/Contents/Info.plist" dest="${bundle.outdir}/JOSM.app/Contents/Info.plist" indent="false"> 171 172 171 <!-- remove empty CFBundleDocumentTypes definition --> 172 <remove path="/plist/dict/key[text()='CFBundleDocumentTypes']|/plist/dict/key[text()='CFBundleDocumentTypes']/following-sibling::array[1]"/> 173 173 <!-- insert our own keys --> 174 174 <insert position="before" path="/plist/dict/key[1]" file="macosx/JOSM.app/Contents/Info.plist_template.xml" /> … … 237 237 <compilerarg value="-Xlint:try"/> 238 238 <compilerarg value="-Xlint:unchecked"/> 239 239 <!-- Undocumented argument to ignore "Sun internal proprietary API" warning, see http://stackoverflow.com/a/13862308/2257172 --> 240 240 <compilerarg value="-XDignore.symbol.file"/> 241 241 </javac> … … 283 283 </fileset> 284 284 <pathelement path="dist/josm-custom.jar"/> 285 <pathelement path="tools/groovy-all-2.3. 4.jar"/>285 <pathelement path="tools/groovy-all-2.3.6.jar"/> 286 286 </path> 287 287 <macrodef name="init-test-preferences"> … … 322 322 <cp-elements/> 323 323 </classpath> 324 <javac target="1.7" source="1.7" debug="on" >324 <javac target="1.7" source="1.7" debug="on" encoding="UTF-8"> 325 325 <compilerarg value="-Xlint:all"/> 326 326 <compilerarg value="-Xlint:-serial"/> … … 330 330 </macrodef> 331 331 <target name="test-compile" depends="test-init,dist"> 332 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpath="tools/groovy-all-2.3. 4.jar"/>332 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpath="tools/groovy-all-2.3.6.jar"/> 333 333 <call-groovyc testfamily="unit"> 334 334 <cp-elements> … … 355 355 <jacoco:coverage destfile="${test.dir}/jacoco.exec"> 356 356 <junit printsummary="yes" fork="true" forkmode="once"> 357 <jvmarg value="-Dfile.encoding=UTF-8"/> 357 358 <sysproperty key="josm.home" value="${test.dir}/config/@{testfamily}-josm.home"/> 358 359 <sysproperty key="josm.test.data" value="${test.dir}/data"/> … … 407 408 <taskdef resource="proguard/ant/task.properties" classpath="tools/proguard.jar"/> 408 409 <proguard> 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 410 -injars dist/josm-custom.jar 411 -outjars dist/josm-custom-optimized.jar 412 413 -libraryjars ${java.home}/lib/rt.jar 414 -libraryjars ${java.home}/lib/jce.jar 415 416 -dontoptimize 417 -dontobfuscate 418 419 # These options probably are not necessary (and make processing a bit slower) 420 -dontskipnonpubliclibraryclasses 421 -dontskipnonpubliclibraryclassmembers 422 423 -keepclasseswithmembers public class org.openstreetmap.josm.gui.MainApplication { 424 public static void main(java.lang.String[]); 425 } 426 -keepclasseswithmembers public class org.openstreetmap.josm.gui.MainApplet 427 428 -keep class JOSM 429 -keep class * extends org.openstreetmap.josm.io.FileImporter 430 -keep class * extends org.openstreetmap.josm.io.FileExporter 431 -keep class org.w3._2001.xmlschema.Adapter1 432 -keep class org.openstreetmap.josm.actions.search.SearchCompiler$Never 433 434 -keepclassmembers enum * { 435 public static **[] values(); 436 public static ** valueOf(java.lang.String); 437 } 438 439 # Keep unused public methods (can be useful for plugins) 440 -keepclassmembers class * { 441 public protected *; 442 } 443 444 # Disable annoying [proguard] Note: the configuration keeps the entry point '...', but not the descriptor class '...'. 445 # This note should not be a problem as we don't use obfuscation 446 -dontnote 446 447 </proguard> 447 448 </target> … … 452 453 <property name="dir" value="plugin-check"/> 453 454 <typedef uri="antlib:org.codehaus.mojo.animal_sniffer"> 454 <classpath path="tools/animal-sniffer-ant-tasks-1. 8.jar"/>455 <classpath path="tools/animal-sniffer-ant-tasks-1.11.jar"/> 455 456 </typedef> 456 457 <mkdir dir="${dir}"/> … … 521 522 </as:build-signatures> 522 523 <as:check-signature signature="${dir}/api.sig"> 524 <ignore classname="au.edu.*"/> 525 <ignore classname="au.com.*"/> 526 <ignore classname="com.*"/> 527 <ignore classname="javax.*"/> 528 <ignore classname="jogamp.*"/> 529 <ignore classname="junit.*"/> 530 <ignore classname="net.sf.*"/> 531 <ignore classname="nu.xom.*"/> 532 <ignore classname="org.apache.*"/> 533 <ignore classname="org.codehaus.*"/> 534 <ignore classname="org.dom4j.*"/> 535 <ignore classname="org.hsqldb.*"/> 536 <ignore classname="org.ibex.*"/> 537 <ignore classname="org.jaitools.*"/> 538 <ignore classname="org.jaxen.*"/> 539 <ignore classname="org.jdom2.*"/> 523 540 <ignore classname="org.jgraph.*"/> 524 <ignore classname="com.touchgraph.*"/> 525 <ignore classname="com.sun.xml.fastinfoset.*"/> 526 <ignore classname="javax.jms.*"/> 541 <ignore classname="org.joda.time.*"/> 527 542 <ignore classname="org.jvnet.staxex.*"/> 528 <ignore classname="javax.mail.*"/> 529 <ignore classname="com.sun.jdmk.*"/> 530 <ignore classname="org.apache.avalon.framework.logger.Logger"/> 531 <ignore classname="org.apache.log.*"/> 532 <ignore classname="junit.*"/> 543 <ignore classname="org.kxml2.*"/> 544 <ignore classname="org.python.*"/> 545 <ignore classname="org.slf4j.*"/> 533 546 <path path="${dir}"/> 534 547 </as:check-signature>
Note: See TracChangeset
for help on using the changeset viewer.