[jira] [Updated] (NETBEANS-1267) Jar file produced in dist directory gives no main manifest error
[ https://issues.apache.org/jira/browse/NETBEANS-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Alexander updated NETBEANS-1267: --- Description: When a user creates a simple java modular application (using Netbeans 9 + JDK 10.0.2), then the jar that is created by Ant (via right click on project and then asking for Build) doesn't behave as an executable jar. Additionally if one creates a jar via the jar --create --file=output_file.jar --main-class=fully.qualified.classpath.ClassName -C .\modules\my_module_name . command, then the manifest file from the executable correct jar that is created via command line cannot be used inside the jar inside dist directory as produced by netbeans. Attached you can find a simple java modular application as created by Netbeans 9, wherein you can find both the jar produced by netbeans 9 inside the dist directory and the hand created jar file by me inside the build/JAR_VIA_COMMAND_LINE directory. Can anyone verify whether it's an Ant (build.xml) issue? was: When a user creates a simple java modular application (using Netbeans 9 + JDK 10.0.2), then the jar that is created by Ant (via right click on project and then asking for Build) doesn't behave as an executable jar. Additionally if one creates a jar via the jar --create --file=output_file.jar --main-class=fully.qualified.classpath.ClassName -C .\modules\my_module_name . command, then the manifest file from the executable correct jar that is created via command line cannot be used inside the jar inside dist directory as produced by netbeans. > Jar file produced in dist directory gives no main manifest error > > > Key: NETBEANS-1267 > URL: https://issues.apache.org/jira/browse/NETBEANS-1267 > Project: NetBeans > Issue Type: Bug > Environment: Win10 / Netbeans 9 / JDK 10.0.2 >Reporter: Philip Alexander >Priority: Major > Attachments: JavaModularApplication1.zip > > > When a user creates a simple java modular application (using Netbeans 9 + JDK > 10.0.2), then the jar that is created by Ant (via right click on project and > then asking for Build) doesn't behave as an executable jar. > Additionally if one creates a jar via the > jar --create --file=output_file.jar > --main-class=fully.qualified.classpath.ClassName -C .\modules\my_module_name . > command, then the manifest file from the executable correct jar that is > created via command line cannot be used inside the jar inside dist directory > as produced by netbeans. > Attached you can find a simple java modular application as created by > Netbeans 9, wherein you can find both the jar produced by netbeans 9 inside > the dist directory and the hand created jar file by me inside the > build/JAR_VIA_COMMAND_LINE directory. > Can anyone verify whether it's an Ant (build.xml) issue? -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Updated] (NETBEANS-1267) Jar file produced in dist directory gives no main manifest error
[ https://issues.apache.org/jira/browse/NETBEANS-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Alexander updated NETBEANS-1267: --- Description: When a user creates a simple java modular application (using Netbeans 9 + JDK 10.0.2), then the jar that is created by Ant (via right click on project and then asking for Build) doesn't behave as an executable jar. Additionally if one creates a jar via the jar --create --file=output_file.jar --main-class=fully.qualified.classpath.ClassName -C .\modules\my_module_name . command, then the manifest file from the executable correct jar that is created via command line cannot be used inside the jar inside dist directory as produced by netbeans. was: When a user creates a simple java modular application (using Netbeans 9 + JDK 10.0.2), then the jar that is created by Ant (via right click on project and then asking for Build) doesn't behave as an executable jar. Additionally if one creates a jar via the jar --create --file=output_file.jar -C .\modules\my_module_name . command, then the manifest file from the executable correct jar that is created via command line cannot be used inside the jar inside dist directory as produced by netbeans. > Jar file produced in dist directory gives no main manifest error > > > Key: NETBEANS-1267 > URL: https://issues.apache.org/jira/browse/NETBEANS-1267 > Project: NetBeans > Issue Type: Bug > Environment: Win10 / Netbeans 9 / JDK 10.0.2 >Reporter: Philip Alexander >Priority: Major > Attachments: JavaModularApplication1.zip > > > When a user creates a simple java modular application (using Netbeans 9 + JDK > 10.0.2), then the jar that is created by Ant (via right click on project and > then asking for Build) doesn't behave as an executable jar. > Additionally if one creates a jar via the > jar --create --file=output_file.jar > --main-class=fully.qualified.classpath.ClassName -C .\modules\my_module_name . > command, then the manifest file from the executable correct jar that is > created via command line cannot be used inside the jar inside dist directory > as produced by netbeans. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
***UNCHECKED*** [jira] [Updated] (NETBEANS-1267) Jar file produced in dist directory gives no main manifest error
[ https://issues.apache.org/jira/browse/NETBEANS-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philip Alexander updated NETBEANS-1267: --- Attachment: JavaModularApplication1.zip > Jar file produced in dist directory gives no main manifest error > > > Key: NETBEANS-1267 > URL: https://issues.apache.org/jira/browse/NETBEANS-1267 > Project: NetBeans > Issue Type: Bug > Environment: Win10 / Netbeans 9 / JDK 10.0.2 >Reporter: Philip Alexander >Priority: Major > Attachments: JavaModularApplication1.zip > > > When a user creates a simple java modular application (using Netbeans 9 + JDK > 10.0.2), then the jar that is created by Ant (via right click on project and > then asking for Build) doesn't behave as an executable jar. > Additionally if one creates a jar via the > jar --create --file=output_file.jar -C .\modules\my_module_name . > command, then the manifest file from the executable correct jar that is > created via command line cannot be used inside the jar inside dist directory > as produced by netbeans. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Created] (NETBEANS-1267) Jar file produced in dist directory gives no main manifest error
Philip Alexander created NETBEANS-1267: -- Summary: Jar file produced in dist directory gives no main manifest error Key: NETBEANS-1267 URL: https://issues.apache.org/jira/browse/NETBEANS-1267 Project: NetBeans Issue Type: Bug Environment: Win10 / Netbeans 9 / JDK 10.0.2 Reporter: Philip Alexander When a user creates a simple java modular application (using Netbeans 9 + JDK 10.0.2), then the jar that is created by Ant (via right click on project and then asking for Build) doesn't behave as an executable jar. Additionally if one creates a jar via the jar --create --file=output_file.jar -C .\modules\my_module_name . command, then the manifest file from the executable correct jar that is created via command line cannot be used inside the jar inside dist directory as produced by netbeans. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists