[ http://jira.codehaus.org/browse/MCOMPILER-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129033#action_129033 ]
geoff simpson commented on MCOMPILER-68: ---------------------------------------- setting <fork>true</fork> has fixed my compile error. thanks for the tip. > Command line is too long, java.IO.Exception > -------------------------------------------- > > Key: MCOMPILER-68 > URL: http://jira.codehaus.org/browse/MCOMPILER-68 > Project: Maven 2.x Compiler Plugin > Issue Type: Bug > Environment: Win XP SP2 > Reporter: David Heimann > > Hi there, > i have the same problem again, like in ticket MCOMPILER-22. I am using maven > in version 2.0.8. > [java] Caused by: java.io.IOException: CreateProcess: > C:\Programme\Java\jdk > 1.5.0_09\jre\bin\java.exe -Djava.awt.headless=true -classpath "C:\Dokumente > und > Einstellungen\david.heimann\.m2\repository\ant\ant-launcher\1.6.5\ant-launcher-1 > .6.5.jar;C:\Dokumente und > Einstellungen\david.heimann\.m2\repository\ant\ant\1.6 > .5\ant-1.6.5.jar;C:\Dokumente und > Einstellungen\david.heimann\.m2\repository\ant > lr\antlr\2.7.6\antlr-2.7.6-sources.jar;C:\Dokumente und > Einstellungen\david.heim > ann\.m2\repository\antlr\antlr\2.7.6\antlr-2.7.6.jar;C:\Dokumente und > Einstellun > gen\david.heimann\.m2\repository\asm\asm-attrs\1.5.3\asm-attrs-1.5.3.jar;C:\Doku > mente und > Einstellungen\david.heimann\.m2\repository\asm\asm-commons\2.2.1\asm-c > ommons-2.2.1.jar;C:\Dokumente und > Einstellungen\david.heimann\.m2\repository\asm > \asm\1.5.3\asm-1.5.3.jar;C:\Dokumente und > Einstellungen\david.heimann\.m2\reposi > tory\asm\asm\2.2.1\asm-2.2.1.jar;C:\Dokumente und > Einstellungen\david.heimann\.m > 2\repository\asm\asm\3.0\asm-3.0.jar;C:\Dokumente und > Einstellungen\david.heiman > n\.m2\repository\aspectj\aspö > [java] at java.lang.ProcessImpl.create(Native Method) > [java] at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) > [java] at java.lang.ProcessImpl.start(ProcessImpl.java:30) > [java] at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) > [java] at java.lang.Runtime.exec(Runtime.java:591) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces > sorImpl.java:39) > [java] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet > hodAccessorImpl.java:25) > [java] at java.lang.reflect.Method.invoke(Method.java:585) > [java] at > org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.e > xec(Execute.java:834) > [java] at > org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435 > ) > [java] at > org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:44 > 9) > [java] at org.apache.tools.ant.taskdefs.Java.fork(Java.java:751) > [java] ... 25 more > ---------------- > I have a ant-task in the pom.xml creating that long command. For a solution > for this i would be very thankful. Sorry for my bad english... -- 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