- Timestamp:
- 2020-03-02T23:50:44+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r16001 r16002 194 194 ** Main target that builds JOSM and checks XML against schemas 195 195 --> 196 <target name="dist" depends="compile, create-revision,check-schemas,epsg">196 <target name="dist" depends="compile,extract-libraries,create-revision,check-schemas,epsg"> 197 197 <echo>Revision ${version.entry.commit.revision}</echo> 198 198 <copy file="CONTRIBUTION" todir="${build.dir}"/> … … 201 201 <!-- create josm-custom.jar --> 202 202 <delete file="${dist.jar}"/> 203 <!-- extract libraries to build dir to create uber-jar -->204 <unzip dest="${build.dir}">205 <fileset refid="runtime.fileset"/>206 <patternset>207 <exclude name="META-INF/**"/>208 <exclude name="*"/>209 </patternset>210 </unzip>211 203 <jar destfile="${dist.jar}" basedir="${build.dir}" level="${clevel}"> 212 204 <!-- add attribute excludes="**/*BZip2*,**/*Bzip2*" to create a non-bzip2 supporting jar --> … … 1135 1127 <move file="${modules.dir}/dots/summary.dot.png" tofile="${modules.dir}/josm-with-all-dependencies.png"/> 1136 1128 </target> 1137 <target name="resolve" depends="init-ivy" >1129 <target name="resolve" depends="init-ivy" unless="resolve.notRequired"> 1138 1130 <ivy:resolve keep="true"/> 1139 1131 <ivy:report todir="${tools.dir}/ivy-report" graph="false"/> … … 1144 1136 <ivy:retrieve pattern="${tools.dir}/ivy/[artifact]-[type].[ext]" conf="ivy"/> 1145 1137 </target> 1138 <target name="extract-libraries" depends="resolve" description="extract libraries to build dir"> 1139 <unzip dest="${build.dir}"> 1140 <fileset refid="runtime.fileset"/> 1141 <patternset> 1142 <exclude name="META-INF/**"/> 1143 <exclude name="*"/> 1144 </patternset> 1145 </unzip> 1146 </target> 1146 1147 <target name="bootstrap-workspace" description="Copy libraries from ivy cache to workspace folders for IDE" depends="resolve"> 1147 1148 <delete dir="${lib.dir}"/>
Note:
See TracChangeset
for help on using the changeset viewer.