[appassembler] CLASSPATH environment variable overflow for too many dependencies
--------------------------------------------------------------------------------
Key: MOJO-553
URL: http://jira.codehaus.org/browse/MOJO-553
Project: Mojo
Issue Type: New Feature
Environment: windows
Reporter: Luca Dall'Olio
Having hundreds of dependencies the windows shell script tries to create a huge
environment variable, which overflows. You get a "line too long" when running.
A possible solution would be to load jars inside the shell script by using a
classloader like Jakarta Commons Launcher
http://jakarta.apache.org/commons/launcher/, Ant, Uberjar or perhaps
Classworlds http://classworlds.codehaus.org/
This would also open a whole new range of possibilities : having jar
directories with different priorities (say an empty "patches" directory),
having a different class loading order then the usual alphanumeric order (for
conflicting jars)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email