[jira] [Commented] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10
[ https://issues.apache.org/jira/browse/NETBEANS-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16820920#comment-16820920 ] Petr Miksik commented on NETBEANS-1097: --- ... and NetBeans 11... > "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 > or JDK 10 > - > > Key: NETBEANS-1097 > URL: https://issues.apache.org/jira/browse/NETBEANS-1097 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Joonas Pulakka >Priority: Major > > Steps to reproduce: > # File -> New Project -> Java Application -> Next -> Finish > # Right-click Libraries, Add JAR/Folder. Add whatever jar file. > # Check that project Properties -> Packaging -> Copy Dependent Libraries is > checked. > # Clean and Build project. > # Observe contents of dist\ directory. > When Project -> Properties -> Source/Binary Format is JDK 8, there exists > dist\lib\ directory, and the jar added in step 1) is copied into that > directory, as expected, when Copy Dependent Libraries is checked. > But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does > not exist. > The reason seems to be these parts in build-impl.xml: > {code:java} > > > > > > > > ... > > > > > > > > > <-- WHY THIS > CONDITION?? > > > {code} > I've observed that mkdist.disabled setting is "Copy Dependent Libraries" > checbox state negated. And do.mkdist controls the library copying. > But why is this library copying connected to javac.source version in this > way? If by design, what should I do in order to get jars copied to dist\lib\ > as they used to? > For now, a workaround seems to be manually deleting the weird > {code:java} > > > {code} > part from build-impl.xml, but that needs to be re-done every time NetBeans > recreates it. -- 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] [Commented] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10
[ https://issues.apache.org/jira/browse/NETBEANS-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813780#comment-16813780 ] Gael FATOU commented on NETBEANS-1097: -- Confirmed it's still there in NetBeans 10. Has someone any idea about this modules.supported.internal condition? What does it mean? > "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 > or JDK 10 > - > > Key: NETBEANS-1097 > URL: https://issues.apache.org/jira/browse/NETBEANS-1097 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Joonas Pulakka >Priority: Major > > Steps to reproduce: > # File -> New Project -> Java Application -> Next -> Finish > # Right-click Libraries, Add JAR/Folder. Add whatever jar file. > # Check that project Properties -> Packaging -> Copy Dependent Libraries is > checked. > # Clean and Build project. > # Observe contents of dist\ directory. > When Project -> Properties -> Source/Binary Format is JDK 8, there exists > dist\lib\ directory, and the jar added in step 1) is copied into that > directory, as expected, when Copy Dependent Libraries is checked. > But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does > not exist. > The reason seems to be these parts in build-impl.xml: > {code:java} > > > > > > > > ... > > > > > > > > > <-- WHY THIS > CONDITION?? > > > {code} > I've observed that mkdist.disabled setting is "Copy Dependent Libraries" > checbox state negated. And do.mkdist controls the library copying. > But why is this library copying connected to javac.source version in this > way? If by design, what should I do in order to get jars copied to dist\lib\ > as they used to? > For now, a workaround seems to be manually deleting the weird > {code:java} > > > {code} > part from build-impl.xml, but that needs to be re-done every time NetBeans > recreates it. -- 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] [Commented] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10
[ https://issues.apache.org/jira/browse/NETBEANS-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16773038#comment-16773038 ] Alex Spodinets commented on NETBEANS-1097: -- Still a problem for Netbeans 10 > "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 > or JDK 10 > - > > Key: NETBEANS-1097 > URL: https://issues.apache.org/jira/browse/NETBEANS-1097 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Joonas Pulakka >Priority: Major > > Steps to reproduce: > # File -> New Project -> Java Application -> Next -> Finish > # Right-click Libraries, Add JAR/Folder. Add whatever jar file. > # Check that project Properties -> Packaging -> Copy Dependent Libraries is > checked. > # Clean and Build project. > # Observe contents of dist\ directory. > When Project -> Properties -> Source/Binary Format is JDK 8, there exists > dist\lib\ directory, and the jar added in step 1) is copied into that > directory, as expected, when Copy Dependent Libraries is checked. > But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does > not exist. > The reason seems to be these parts in build-impl.xml: > {code:java} > > > > > > > > ... > > > > > > > > > <-- WHY THIS > CONDITION?? > > > {code} > I've observed that mkdist.disabled setting is "Copy Dependent Libraries" > checbox state negated. And do.mkdist controls the library copying. > But why is this library copying connected to javac.source version in this > way? If by design, what should I do in order to get jars copied to dist\lib\ > as they used to? > For now, a workaround seems to be manually deleting the weird > {code:java} > > > {code} > part from build-impl.xml, but that needs to be re-done every time NetBeans > recreates it. -- 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] [Commented] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10
[ https://issues.apache.org/jira/browse/NETBEANS-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16707222#comment-16707222 ] John Brice commented on NETBEANS-1097: -- Joonas, you can implement your workaround by copying the whole "-do-init" target from build-impl.xml to build.xml and removing the condition from there. That way you don't have to keep making the change when NetBeans recreates build-impl.xml-- > "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 > or JDK 10 > - > > Key: NETBEANS-1097 > URL: https://issues.apache.org/jira/browse/NETBEANS-1097 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Joonas Pulakka >Priority: Major > > Steps to reproduce: > # File -> New Project -> Java Application -> Next -> Finish > # Right-click Libraries, Add JAR/Folder. Add whatever jar file. > # Check that project Properties -> Packaging -> Copy Dependent Libraries is > checked. > # Clean and Build project. > # Observe contents of dist\ directory. > When Project -> Properties -> Source/Binary Format is JDK 8, there exists > dist\lib\ directory, and the jar added in step 1) is copied into that > directory, as expected, when Copy Dependent Libraries is checked. > But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does > not exist. > The reason seems to be these parts in build-impl.xml: > {code:java} > > > > > > > > ... > > > > > > > > > <-- WHY THIS > CONDITION?? > > > {code} > I've observed that mkdist.disabled setting is "Copy Dependent Libraries" > checbox state negated. And do.mkdist controls the library copying. > But why is this library copying connected to javac.source version in this > way? If by design, what should I do in order to get jars copied to dist\lib\ > as they used to? > For now, a workaround seems to be manually deleting the weird > {code:java} > > > {code} > part from build-impl.xml, but that needs to be re-done every time NetBeans > recreates it. -- 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] [Commented] (NETBEANS-1097) "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 or JDK 10
[ https://issues.apache.org/jira/browse/NETBEANS-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16566441#comment-16566441 ] Joonas Pulakka commented on NETBEANS-1097: -- Similar behavior was reported already >1 year ago, [https://stackoverflow.com/questions/45347003/netbeans-with-java-9-not-creating-dis-lib] , so maybe this is somehow "by design", but it's unclear to me what user is expected to do instead. > "Copy Dependent Libraries" does not work if "Source/Binary Format" is JDK 9 > or JDK 10 > - > > Key: NETBEANS-1097 > URL: https://issues.apache.org/jira/browse/NETBEANS-1097 > Project: NetBeans > Issue Type: Bug >Affects Versions: 9.0 >Reporter: Joonas Pulakka >Priority: Major > > Steps to reproduce: > # File -> New Project -> Java Application -> Next -> Finish > # Right-click Libraries, Add JAR/Folder. Add whatever jar file. > # Check that project Properties -> Packaging -> Copy Dependent Libraries is > checked. > # Clean and Build project. > # Observe contents of dist\ directory. > When Project -> Properties -> Source/Binary Format is JDK 8, there exists > dist\lib\ directory, and the jar added in step 1) is copied into that > directory, as expected, when Copy Dependent Libraries is checked. > But when Source/Binary Format is JDK 9 or JDK 10, dist\lib\ directory does > not exist. > The reason seems to be these parts in build-impl.xml: > {code:java} > > > > > > > > ... > > > > > > > > > > > > {code} > I've observed that mkdist.disabled setting is "Copy Dependent Libraries" > checbox state negated. And do.mkdist controls the library copying. > But why is this library copying connected to javac.source version in this > way? If by design, what should I do in order to get jars copied to dist\lib\ > as they used to? -- 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