[mevenide-user] maven-nbm-plugin start-platform fails in windows due to cluster path separator
"Emilian Bold" <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
Hy,
This should probably be a bugreport but I'm not allowed to use JIRA (I
get a 403).
RunPlatformAppMojo builds a cluster list using the colon separator
(":"). This fails on Windows with an IOException at
java.io.WinNTFileSystem.canonicalize0(Native Method).
The correct way is to use the semicolon (";") insted for the --cluster
argument on Windows.
The code should use File.pathSeparator instead of the hardcoded ':'
This is also used by the NetBeans MainImpl file to parse the clusters:
String nbdirs = System.getProperty("netbeans.dirs"); // --clusters
StringTokenizer tok = new StringTokenizer(nbdirs, File.pathSeparator);
Thanks,
Emilian Bold
PS: How can I use JIRA? It seems to have issues all the time.
--
Emilian Bold
+40 740235562
http://www.emilianbold.ro
Java and NetBeans Platform-loving consulting services from Timisoara, Romania.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email