I ran ant with the -d option to show debugging output, and it looked like it was unable to execute the maven that it just built. I tried running maven from the command line at that point and it said the file was not found. So I inspected the file and it turns out that it was in DOS format, so I just ran dos2unix to remove the ^M's and then ran maven maven:install instead of bootstrapping, and now my installation is going smoothly.
Yoway Buorn Software Engineer Imagery Systems Engineering GENERAL DYNAMICS Advanced Information Systems "Make me a fire and I'm warm for a night. Set me on fire and I'm warm for the rest of my life." -- Ancient Didactical Saying -----Original Message----- From: Buorn, Yoway Sent: Thursday, January 08, 2004 4:08 PM To: [EMAIL PROTECTED] Subject: exec returned: -1 when building I'm trying to build from CVS HEAD and I'm using the build-bootstrap.xml file, but the build fails and I get the following error: BUILD FAILED /export/home/yoway/maven/build-bootstrap.xml:266: exec returned: -1 at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:603) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306) at org.apache.tools.ant.Task.perform(Task.java:401) at org.apache.tools.ant.Target.execute(Target.java:338) at org.apache.tools.ant.Target.performTasks(Target.java:365) at org.apache.tools.ant.Project.executeTarget(Project.java:1237) at org.apache.tools.ant.Project.executeTargets(Project.java:1094) at org.apache.tools.ant.Main.runBuild(Main.java:669) at org.apache.tools.ant.Main.startAnt(Main.java:220) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90) I'm using j2sdk1.4.1, ant 1.6.0 and trying to build from HEAD. I followed the directions on the maven website and copied optional.jar and junit.jar into ${ANT}/lib and have MAVEN_HOME set. I did not set MAVEN_HOME_LOCAL, but I don't think this is necessary. Any ideas what might be happening here? Yoway Buorn Software Engineer Imagery Systems Engineering GENERAL DYNAMICS Advanced Information Systems "Make me a fire and I'm warm for a night. Set me on fire and I'm warm for the rest of my life." -- Ancient Didactical Saying --------------------------------------------------------------------- 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]