This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This issue was originally reported by Daniel Mutch in 29/May/08 at codehaus.org - see more details at http://jira.codehaus.org/browse/MEVENIDE-640 Environment: Win XP, JDK 1.6.0_06, NB 6.1, Mevenide 3.1.2 =========== Description: =========== The new execution method using the exec plugin causes a problem with long classpaths. The dependency list for one of our processes is large. When translated (on windows XP) into cmd.exe /X /C "java.exe" - classpath "<CLASSPATH>" <MAIN-CLASS> it can create an input string that is too long for cmd.exe to handle. ----------------------------------------------------- Comment by Anuradha Gunasekara [ 29/May/08 02:06 AM ] ----------------------------------------------------- Can we have test project please ---------------------------------------------- Comment by Daniel Mutch [ 01/Jun/08 11:56 PM ] ---------------------------------------------- Example of project who's classpath is too long for the exec plugin. ----------------------------------------------------- Comment by Anuradha Gunasekara [ 02/Jun/08 12:31 AM ] ----------------------------------------------------- Thanks ---------------------------------------------- Comment by Daniel Mutch [ 15/Jul/08 08:20 PM ] ---------------------------------------------- Hey Anuradha Just wondering if you have been able to take a look at this issue? Do you have a plan for a fix? Just asking because it is causing me major headaches! thanks in advance Dan ----------------------------------------------------- Comment by Anuradha Gunasekara [ 16/Jul/08 01:19 AM ] ----------------------------------------------------- I'll Look in to it , will fix soon I promise ----------------------------------------------------- Comment by Anuradha Gunasekara [ 16/Jul/08 01:35 AM ] ----------------------------------------------------- FYI problum really on exec-plugin so I'm going to fix it there ---------------------------------------------- Comment by Brian Harris [ 11/Sep/08 10:57 AM ] ---------------------------------------------- Any updates? ----------------------------------------------------- Comment by Anuradha Gunasekara [ 11/Sep/08 12:05 PM ] ----------------------------------------------------- dropping priority as we now use Maven cli version as default so this is only when using embedder build ---------------------------------------------- Comment by Brian Harris [ 11/Sep/08 12:19 PM ] ---------------------------------------------- Anuradha, We are on 3.1.4, is it default in that version? If so, can you tell me how to use it instead? Thank you, Brian ----------------------------------------------------- Comment by Anuradha Gunasekara [ 11/Sep/08 12:38 PM ] ----------------------------------------------------- NO you have to us e6.5 latest bits sorry
...I am linking the following file which resides in Jira system: http://jira.codehaus.org/secure/attachment/34909/ClasspathToLong.zip
Integrated into 'main-golden', will be available in build *200901050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9fb0434092fc User: Milos Kleint <mkleint@netbeans.org> Log: #154467 sub-optimal fix to the issue, will load the maven instance if the project is not created in awt thread.
duplicate of #153644 *** This issue has been marked as a duplicate of 153644 ***