Changeset 3162 in josm
- Timestamp:
- 2010-03-28T16:43:59+02:00 (15 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 3 3 build 4 4 5 6 plugin-check
-
- Property svn:ignore
-
trunk/build.xml
r3091 r3162 1 <!-- 2 ** build.xml - main ant file for JOSM 1 <!-- ** build.xml - main ant file for JOSM 3 2 ** 4 3 ** To build run … … 10 9 ** 11 10 --> 12 <project name="josm" default="dist" basedir="." >11 <project name="josm" default="dist" basedir="." xmlns:as="antlib:org.codehaus.mojo.animal_sniffer"> 13 12 <property name="test.dir" value="test" /> 14 13 <property name="src.dir" value="src" /> … … 216 215 </target> 217 216 217 <target name="check-plugins" depends="dist-optimized"> 218 <echo message="Check of plugins binary compatibility (needs ant 1.8)"/> 219 220 <local name="dir"/> 221 <local name="plugins"/> 222 223 <property name="dir" value="plugin-check"/> 224 225 <typedef uri="antlib:org.codehaus.mojo.animal_sniffer"> 226 <classpath path="tools/animal-sniffer-ant-tasks-1.5.jar" /> 227 </typedef> 228 229 <delete dir="${dir}"/> 230 231 <mkdir dir="${dir}"/> 232 233 <as:build-signatures destfile="${dir}/api.sig"> 234 <path> 235 <fileset file="dist/josm-custom-optimized.jar" /> 236 <fileset file="${java.home}/lib/rt.jar" /> 237 </path> 238 </as:build-signatures> 239 240 <!-- Download plugins --> 241 <loadresource property="plugins"> 242 <url url="http://josm.openstreetmap.de/plugin"/> 243 <filterchain> 244 <linecontainsregexp negate="true"> 245 <regexp pattern="^\t.*"/> 246 </linecontainsregexp> 247 <linecontainsregexp negate="true"> 248 <!-- List from PluginHandler.DEPRECATED_PLUGINS --> 249 <regexp pattern="mappaint|unglueplugin|ewmsplugin|ywms|tways-0.2|geotagged|landsat|namefinder|waypoints|slippy_map_chooser|tcx-support|usertools|AgPifoJ|utilsplugin"/> 250 </linecontainsregexp> 251 <tokenfilter> 252 <replaceregex pattern="^.*;" replace="" flags="gi"/> 253 </tokenfilter> 254 </filterchain> 255 </loadresource> 256 257 <copy todir="${dir}" flatten="true"> 258 <resourcelist> 259 <string value="${plugins}"/> 260 </resourcelist> 261 </copy> 262 263 <!-- Check plugins --> 264 <as:check-signature signature="${dir}/api.sig"> 265 <ignore classname="org.jgraph.*"/> 266 <ignore classname="com.touchgraph.*"/> 267 <ignore classname="com.sun.xml.fastinfoset.*"/> 268 <ignore classname="javax.jms.*"/> 269 <ignore classname="org.jvnet.staxex.*"/> 270 <ignore classname="javax.mail.*"/> 271 <ignore classname="com.sun.jdmk.*"/> 272 <path path="${dir}"/> 273 </as:check-signature> 274 275 </target> 276 277 218 278 </project>
Note:
See TracChangeset
for help on using the changeset viewer.