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.

Bug 154467 - [codehaus] New Exec plugin cannot handle long classpaths
Summary: [codehaus] New Exec plugin cannot handle long classpaths
Status: RESOLVED DUPLICATE of bug 153644
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-03 15:09 UTC by Jaromir Uhrik
Modified: 2009-02-19 22:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2008-12-03 15:09:26 UTC
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
Comment 1 Jaromir Uhrik 2008-12-03 15:10:31 UTC
...I am linking the following file which resides in Jira system:
http://jira.codehaus.org/secure/attachment/34909/ClasspathToLong.zip
Comment 2 Quality Engineering 2009-01-05 05:29:47 UTC
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.
Comment 3 Milos Kleint 2009-02-11 09:45:40 UTC
duplicate of #153644

*** This issue has been marked as a duplicate of 153644 ***