Changeset 34604 in osm for applications


Ignore:
Timestamp:
2018-08-27T13:27:51+02:00 (6 years ago)
Author:
donvip
Message:

see #josm16682 - new property Plugin-Minimum-Java-Version for openjfx plugin

Location:
applications/editors/josm/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/build-common.xml

    r34601 r34604  
    195195            <param name="property.value" value="${plugin.canloadatruntime}"/>
    196196        </antcall>
     197        <antcall target="add-manifest-attribute">
     198            <param name="manifest.attribute" value="Plugin-Minimum-Java-Version"/>
     199            <param name="property.name" value="plugin.minimum.java.version"/>
     200            <param name="property.value" value="${plugin.minimum.java.version}"/>
     201        </antcall>
    197202        <antcall target="additional-manifest" />
    198         <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifest="MANIFEST" manifestencoding="UTF-8">
     203        <jar destfile="${plugin.jar}" basedir="${plugin.build.dir}" manifest="MANIFEST" manifestencoding="UTF-8" duplicate="preserve" level="9">
    199204            <restrict>
    200205                <not><or>
     
    205210                    <name name="META-INF/*.RSA"/>
    206211                    <name name="META-INF/*.SF"/>
     212                    <name name="module-info.class"/>
    207213                </or></not>
    208214                <archives>
     
    213219            </restrict>
    214220        </jar>
    215         <jar destfile="${plugin.sources.jar}" basedir="${plugin.src.dir}"/>
    216         <jar destfile="${plugin.javadoc.jar}" basedir="${plugin.doc.dir}"/>
     221        <jar destfile="${plugin.sources.jar}" basedir="${plugin.src.dir}" level="9"/>
     222        <jar destfile="${plugin.javadoc.jar}" basedir="${plugin.doc.dir}" level="9"/>
    217223        <delete file="MANIFEST" failonerror="no"/>
    218224        <antcall target="post-dist" />
  • applications/editors/josm/plugins/openjfx/build.xml

    r34603 r34604  
    1212    <property name="plugin.class" value="org.openstreetmap.josm.plugins.jaxb.OpenJfxPlugin"/>
    1313    <property name="plugin.description" value="Provides the OpenJFX (JavaFX) library for JOSM core and other JOSM plugins. Provides additional features such as MP3 audio playback."/>
     14    <property name="plugin.minimum.java.version" value="11"/>
    1415    <!--<property name="plugin.icon" value="..."/>-->
    1516    <!--<property name="plugin.link" value="..."/>-->
Note: See TracChangeset for help on using the changeset viewer.