Ticket #17858: 17858.auto_module_name.patch

File 17858.auto_module_name.patch, 935 bytes (added by taylor.smock, 5 years ago)

Add automatic module name -- #15229 seems to indicate we'll want a lot of subpackages, but it may be useful to say "hey, we will be using this base module name"

  • build.xml

    diff --git a/build.xml b/build.xml
    index 7abdb742c5..44574a2208 100644
    a b Build-Date: ${build.tstamp}  
    182182                <!-- Java 9 stuff. Entries are safely ignored by Java 8 -->
    183183                <attribute name="Add-Exports" value="java.base/sun.security.action java.desktop/com.apple.eawt java.desktop/com.sun.imageio.spi java.desktop/com.sun.imageio.plugins.jpeg javafx.graphics/com.sun.javafx.application jdk.deploy/com.sun.deploy.config" />
    184184                <attribute name="Add-Opens" value="java.base/java.lang java.base/java.nio java.base/jdk.internal.loader java.base/jdk.internal.ref java.desktop/javax.imageio.spi java.desktop/javax.swing.text.html java.prefs/java.util.prefs" />
     185                <attribute name="Automatic-Module-Name" value="de.openstreetmap.josm" />
    185186            </manifest>
    186187        </jar>
    187188        <!-- Sign jar if all environment variables are set -->