Ticket #23811: josm.19138.patch
File josm.19138.patch, 3.1 KB (added by , 4 months ago) |
---|
-
build.xml
1001 1001 <jar basedir="${build.dir}" level="${clevel}" destfile="${modules.dir}/josm-plugins.jar" includes="org/openstreetmap/josm/plugins/**/*.class"/> 1002 1002 <jar basedir="${build.dir}" level="${clevel}" destfile="${modules.dir}/josm-spi.jar" includes="org/openstreetmap/josm/spi/**/*.class"/> 1003 1003 <jar basedir="${build.dir}" level="${clevel}" destfile="${modules.dir}/josm-tools.jar" includes="org/openstreetmap/josm/tools/**/*.class"/> 1004 <path id="jar.files"> 1005 <fileset dir="${modules.dir}" includes="*.jar"/> 1006 </path> 1007 <pathconvert property="jar.files.string" refid="jar.files" pathsep=" "/> 1004 1008 <exec executable="jdeps" dir="${modules.dir}"> 1005 1009 <arg line="-f 'java.*|org.xml.*|org.w3c.*|sun.*|com.*|oauth.*|org.apache.*|org.glassfish.*|org.openstreetmap.gui.*'"/> 1006 <arg line="-dotoutput dots *.jar"/> 1010 <arg line="-dotoutput dots" /> 1011 <arg line="${jar.files.string}" /> 1007 1012 </exec> 1008 1013 <exec executable="dot" dir="${modules.dir}/dots"> 1009 1014 <arg line="-O -Tpng summary.dot"/> 1010 1015 </exec> 1011 1016 <move file="${modules.dir}/dots/summary.dot.png" tofile="${modules.dir}/josm-without-dependencies.png"/> 1017 1012 1018 <!-- Direct dependencies --> 1013 1019 <copy todir="${modules.dir}" flatten="true"> 1014 1020 <fileset refid="runtime.fileset" /> 1015 1021 </copy> 1022 <path id="jar-direct.files"> 1023 <fileset dir="${modules.dir}" includes="*.jar"/> 1024 </path> 1025 <pathconvert property="jar-direct.files.string" refid="jar-direct.files" pathsep=" "/> 1016 1026 <exec executable="jdeps" dir="${modules.dir}"> 1017 1027 <arg line="-f 'java.*|org.xml.*|org.w3c.*|sun.*|com.sun.*|com.google.*|org.tukaani.*'"/> 1018 <arg line="-dotoutput dots *.jar"/> 1028 <arg line="-dotoutput dots"/> 1029 <arg line="--multi-release 11"/> 1030 <arg line="${jar-direct.files.string}" /> 1019 1031 </exec> 1020 1032 <exec executable="dot" dir="${modules.dir}/dots"> 1021 1033 <arg line="-O -Tpng summary.dot"/> … … 1023 1035 <move file="${modules.dir}/dots/summary.dot.png" tofile="${modules.dir}/josm-with-direct-dependencies.png"/> 1024 1036 <!-- All dependencies --> 1025 1037 <jar basedir="${build.dir}" level="${clevel}" destfile="${modules.dir}/google-gdata.jar" includes="com/google/**/*.class"/> 1038 <path id="jar-all.files"> 1039 <fileset dir="${modules.dir}" includes="*.jar"/> 1040 </path> 1041 <pathconvert property="jar-all.files.string" refid="jar-direct.files" pathsep=" "/> 1026 1042 <exec executable="jdeps" dir="${modules.dir}"> 1027 <arg line="-dotoutput dots *.jar"/> 1043 <arg line="-dotoutput dots"/> 1044 <arg line="--multi-release 11"/> 1045 <arg line="${jar-all.files.string}" /> 1028 1046 </exec> 1029 1047 <exec executable="dot" dir="${modules.dir}/dots"> 1030 1048 <arg line="-O -Tpng summary.dot"/>