Erik Costlow created NETBEANS-4330:
--------------------------------------

             Summary: maven.ext.class.path misses spaces during execution
                 Key: NETBEANS-4330
                 URL: https://issues.apache.org/jira/browse/NETBEANS-4330
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Maven
    Affects Versions: 11.3
            Reporter: Erik Costlow


The NetBeans maven integration appears to mis-parse spaces when it adds 
netbeans-eventspy.jar in some conditions.

Steps to reproduce:

Run a build, this seems to happen to me on Quarkus 1.4.2

Maven integration will display a line like: cd C:\Users\Erik\Documents\project; 
"JAVA_HOME=C:\\Program Files\\AdoptOpenJDK\\jdk-11.0.5.10-hotspot" 
M2_HOME=C:\\Users\\Erik\\apps\\apache-maven-3.6.3 cmd /c 
"\"C:\\Users\\Erik\\apps\\apache-maven-3.6.3\\bin\\mvn.cmd\" 
-Dmaven.ext.class.path=\"C:\\Program 
Files\\NetBeans-11.3\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
-Dfile.encoding=UTF-8 quarkus:dev"

The debug output will later output a line like: Launching JVM with command 
line: C:\Program Files\AdoptOpenJDK\jdk-11.0.5.10-hotspot\bin\java.EXE 
-XX:TieredStopAtLevel=1 -Xverify:none -Xdebug 
-Xrunjdwp:transport=dt_socket,address=0.0.0.0:5005,server=y,suspend=n 
-Djava.util.logging.manager=org.jboss.logmanager.LogManager 
-Dmaven.ext.class.path="C:\Program -Dfile.encoding=UTF-8 -jar 
C:\Users\Erik\Documents\project\app.jar

 

The output of the second line above seems to propagate maven.ext.class.path but 
seems to have mis-parsed the property only to the first space.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to