You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2020/01/17 20:32:55 UTC

[GitHub] [netbeans] lhochet commented on issue #1849: NETBEANS-3254 Remove allowAmbiguousCommands flag

lhochet commented on issue #1849: NETBEANS-3254 Remove allowAmbiguousCommands flag
URL: https://github.com/apache/netbeans/pull/1849#issuecomment-575784542
 
 
   Hello @ebarboni, 
   I think these steps would demonstrate the fix:
   1. create a test branch off master
   1. clean build NetBeans
   1. remove -J-Djdk.lang.Process.allowAmbiguousCommands=true  from etc/netbeans.conf
   1. run NetBeans with a JDK post that was release in October or earlier this week (8 or above 11 -- my own test, 15+6)
   1. create a new Maven Java Application, add a Main that prints hello world
   1. try to build it
   1. expected error: Cannot run program "cmd" (in directory "D:\dev\tests\mavenproject1"): Malformed argument has embedded quote: "C:\softs\apache-maven-3.6.3\bin\mvn.cmd" -Dmaven.ext.class.path=E:\netbeans\apache-netbeans\nbbuild\netbeans\java\maven-nblib\netbeans-eventspy.jar -Dfile.encoding=UTF-8 install
   1. merge the branch for this PR (I think adding my fork of NetBeans as a remote will expose the branch)
   1. rebuild NetBeans
   1. run NetBeans again
   1. retry to build the Maven project
   1. double check by then trying to run the project
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists