asbachb commented on PR #6061:
URL: https://github.com/apache/netbeans/pull/6061#issuecomment-1671317423

   Yesterday I managed to get this reprocuded somehow (which I failed today).
   
   Yesterday it seemed that the classpath argument which was constructed when 
launching the tests was too long because of the new classpath entries:
   
   ```
   Caused by: java.io.IOException: Cannot run program "C:\Program Files\Eclipse 
Adoptium\jdk-17.0.7.7-hotspot\bin\java.exe" (in directory 
"C:\Dev\src\netbeans\php\php.latte"): CreateProcess error=206, The filename or 
extension is too long
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
        at java.base/java.lang.Runtime.exec(Runtime.java:594)
        at 
org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:424)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:438)
        at org.apache.tools.ant.taskdefs.Java.fork(Java.java:881)
        ... 92 more
   Caused by: java.io.IOException: CreateProcess error=206, The filename or 
extension is too long
        at java.base/java.lang.ProcessImpl.create(Native Method)
        at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:499)
        at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
        at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
        ... 98 more
   ```
   
   I just wonder why mockito is passed as classpath requirement to run the php 
tests...


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
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