Changeset 5498 in josm
- Timestamp:
- 2012-09-03T21:58:49+02:00 (12 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r5481 r5498 253 253 <property name="dir" value="plugin-check"/> 254 254 <typedef uri="antlib:org.codehaus.mojo.animal_sniffer"> 255 <classpath path="tools/animal-sniffer-ant-tasks-1. 7.jar"/>255 <classpath path="tools/animal-sniffer-ant-tasks-1.8.jar"/> 256 256 </typedef> 257 <delete dir="${dir}"/>258 257 <mkdir dir="${dir}"/> 259 <as:build-signatures destfile="${dir}/api.sig">260 <path>261 <fileset file="dist/josm-custom-optimized.jar"/>262 <fileset file="${java.home}/lib/rt.jar"/>263 <fileset file="${java.home}/lib/jce.jar"/>264 </path>265 </as:build-signatures>266 258 <!-- List of deprecated plugins --> 267 259 <loadfile property="deprecated-plugins" srcFile="src/org/openstreetmap/josm/plugins/PluginHandler.java"> … … 279 271 </filterchain> 280 272 </loadfile> 281 <!-- Download plugins -->273 <!-- Download list of plugins --> 282 274 <loadresource property="plugins"> 283 275 <url url="http://josm.openstreetmap.de/plugin"/> … … 293 285 </tokenfilter> 294 286 </filterchain> 295 </loadresource> 287 </loadresource> 288 <!-- Delete files that are not in plugin list (like old plugins) --> 289 <loadresource property="file-list"> 290 <propertyresource name="plugins"/> 291 <filterchain> 292 <tokenfilter> 293 <replaceregex pattern="^.*/(.*)$" replace="\1\|" flags=""/> 294 </tokenfilter> 295 <striplinebreaks/> 296 <tokenfilter> 297 <replaceregex pattern="\|$" replace="" flags="gi"/> 298 </tokenfilter> 299 </filterchain> 300 </loadresource> 301 <delete> 302 <restrict> 303 <fileset dir="${dir}"/> 304 <not> 305 <name regex="${file-list}"/> 306 </not> 307 </restrict> 308 </delete> 309 <!-- Download plugins --> 296 310 <copy todir="${dir}" flatten="true"> 297 311 <resourcelist> … … 300 314 </copy> 301 315 <!-- Check plugins --> 316 <as:build-signatures destfile="${dir}/api.sig"> 317 <path> 318 <fileset file="dist/josm-custom-optimized.jar"/> 319 <fileset file="${java.home}/lib/rt.jar"/> 320 <fileset file="${java.home}/lib/jce.jar"/> 321 </path> 322 </as:build-signatures> 302 323 <as:check-signature signature="${dir}/api.sig"> 303 324 <ignore classname="org.jgraph.*"/>
Note:
See TracChangeset
for help on using the changeset viewer.