are you sure this limitation exists in windows XP? So it works when forking on a smaller project?
I'd say: - look for an environment variable that might allow increasing the size - set maven.repo.local and move your repository to a shortened parth, eg c:\repo Cheers, Brett On Fri, 3 Dec 2004 08:46:10 +0100, David Puiggros <[EMAIL PROTECTED]> wrote: > I'm running maven in WindowsXp and i'm suffering that error when i fork > junit tests. > > I suppose that the classpath is truncated due to some kind of limit in > argument > size of CreateProcess. > > Can I bypass this problem? > > Thanks, > > BUILD FAILED > File...... C:\Documents and > Settings\DAVID.AIA_NT\.maven\cache\maven-test-plugin > -1.6.2\plugin.jelly > Element... junit > Line...... 133 > Column.... 41 > Process fork failed. > com.werken.werkz.UnattainableGoalException: Unable to obtain goal > [test:test] -- > C:\Documents and > Settings\DAVID.AIA_NT\.maven\cache\maven-test-plugin-1.6.2\plu > gin.jelly:133:41: <junit> Process fork failed. > ..... > ..... > ..... > ..... > Caused by: java.io.IOException: CreateProcess: > C:\Apl\j2sdk1.4.2_04\jre\bin\java > .exe -Dbasedir=c:\projects\cons\gn\angasdom -classpath > "C:\projects\cons\gn\anga > sdom\target\test-classes;C:\projects\cons\gn\angasdom\target\classes;C:\Docu > ment > s and > Settings\DAVID.AIA_NT\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Docu > ments and > Settings\DAVID.AIA_NT\.maven\repository\commons-digester\jars\commons- > digester-1.5.jar;C:\Documents and > Settings\DAVID.AIA_NT\.maven\repository\common > s-cli\jars\commons-cli-1.0.jar;C:\Documents and > Settings\DAVID.AIA_NT\.maven\rep > ository\commons-beanutils\jars\commons-beanutils-1.6.1.jar;C:\Documents and > Sett > ings\DAVID.AIA_NT\.maven\repository\commons-collections\jars\commons-collect > ions > -2.1.jar;C:\Documents and > Settings\DAVID.AIA_NT\.maven\repository\commons-loggin > g\jars\commons-logging-1.0.2.jar;C:\Documents and > Settings\DAVID.AIA_NT\.maven\r > epository\hibernate\jars\hibernate-2.1.6.jar;C:\Documents and > Settings\DAVID.AIA > _NT\.maven\repository\commons-lang\jars\commons-lang-2.0.jar;C:\Documents > and Se > ttings\DAVID.AIA? > > _______________________________________ > > David Puiggr�s Figueras > Aplicaciones en Inform�tica Avanzada S.A. > Artesans, 10 > Parc Tecnol�gic del Vall�s > 08290, Cerdanyola, Barcelona > Telfs: 935.044.900 / Fax: 935.802.188 > e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
