Changeset 3830 in josm for trunk


Ignore:
Timestamp:
2011-01-29T19:44:45+01:00 (13 years ago)
Author:
jttt
Message:

Read list of deprecated plugins from PluginHandler.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build.xml

    r3829 r3830  
    254254                        </path>
    255255                </as:build-signatures>
    256 
     256               
     257                <!-- List of deprecated plugins -->
     258                <loadfile property="deprecated-plugins" srcFile="src/org/openstreetmap/josm/plugins/PluginHandler.java">
     259                        <filterchain>
     260                                <linecontains>
     261                                        <contains value="new DeprecatedPlugin("/>
     262                                </linecontains>
     263                                <tokenfilter>
     264                                        <replaceregex pattern='.*new DeprecatedPlugin\("(.+?)".*' replace="\1|" flags="gi"/>
     265                                </tokenfilter>
     266                                <striplinebreaks/>
     267                        </filterchain>
     268                </loadfile>
     269               
    257270                <!-- Download plugins -->
    258271                <loadresource property="plugins">
     
    263276                                </linecontainsregexp>
    264277                                <linecontainsregexp negate="true">
    265                                         <!-- List from PluginHandler.DEPRECATED_PLUGINS -->
    266                                         <regexp pattern="mappaint|unglueplugin|ewmsplugin|ywms|tways-0.2|geotagged|landsat|namefinder|waypoints|slippy_map_chooser|tcx-support|usertools|AgPifoJ|utilsplugin"/>
     278                                        <regexp pattern="${deprecated-plugins}"/>
    267279                                </linecontainsregexp>
    268280                                <tokenfilter>
Note: See TracChangeset for help on using the changeset viewer.