DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11568>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11568 Ant 1.5 fails on Solaris when using Java 1.2 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-08-14 14:38 ------- I checked this on a Solaris box with both 1.3 and 1.5 using JDK 1.2.2 I ran using a script without the -Dant.home sbailliez>java -cp ~/opt/jakarta-ant-1.3/lib/ant.jar:~/opt/j akarta-ant-1.3/lib/parser.jar:~/opt/jakarta-ant-1.3/lib/jaxp.jar org.apache.tools.ant.Main -v Ant version 1.3 compiled on March 2 2001 Buildfile: build.xml Detected Java Version: 1.2 Detected OS: SunOS parsing buildfile /home/sbailliez/build.xml with URI = file:/home/sbailliez/buil d.xml Project base dir set to: /home/sbailliez Build sequence for target `fix_newlines' is [fix_newlines] Complete build sequence is [fix_newlines] fix_newlines: [echo] Modifying text files ... [chmod] Myos = SunOS [chmod] chmod +w [chmod] Executing chmod +w /home/sbailliez/build.xml BUILD SUCCESSFUL Total time: 0 seconds sbailliez>java -cp ~/opt/jakarta-ant-1.5/lib/ant.jar:~/opt/j akarta-ant-1.5/lib/xercesImpl.jar:~/opt/jakarta-ant-1.3/lib/xml-ap is.jar org.apache.tools.ant.Main -v Apache Ant version 1.5 compiled on July 9 2002 Buildfile: build.xml Detected Java version: 1.2 in: /usr/jdk1.2.2_ref/jre Detected OS: SunOS parsing buildfile build.xml with URI = file:/home/sbailliez/build.xml Project base dir set to: /home/sbailliez Build sequence for target `fix_newlines' is [fix_newlines] Complete build sequence is [fix_newlines] fix_newlines: [echo] Modifying text files ... [chmod] Current OS is SunOS [chmod] Executing 'chmod' with arguments: [chmod] '+w' [chmod] '/home/sbailliez/build.xml' [chmod] [chmod] The ' characters around the executable and arguments are [chmod] not part of the command. BUILD FAILED file:/home/sbailliez/build.xml:8: Execute failed: java.io.IOException: Cannot lo cate antRun script: Property 'ant.home' not found at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java, Compi led Code) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java, Compile d Code) at org.apache.tools.ant.taskdefs.Chmod.execute(Chmod.java, Compiled Code ) at org.apache.tools.ant.Task.perform(Task.java, Compiled Code) at org.apache.tools.ant.Target.execute(Target.java, Compiled Code) at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code) at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Cod e) at org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Co de) at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code) at org.apache.tools.ant.Main.start(Main.java, Compiled Code) at org.apache.tools.ant.Main.main(Main.java, Compiled Code) --- Nested Exception --- java.io.IOException: Cannot locate antRun script: Property 'ant.home' not found at org.apache.tools.ant.taskdefs.Execute$ScriptCommandLauncher.exec(Exec ute.java, Compiled Code) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java, Compiled C ode) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java, Compiled Code) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java, Comp iled Code) at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java, Compi led Code) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java, Compile d Code) at org.apache.tools.ant.taskdefs.Chmod.execute(Chmod.java, Compiled Code ) at org.apache.tools.ant.Task.perform(Task.java, Compiled Code) at org.apache.tools.ant.Target.execute(Target.java, Compiled Code) at org.apache.tools.ant.Target.performTasks(Target.java, Compiled Code) at org.apache.tools.ant.Project.executeTarget(Project.java, Compiled Cod e) at org.apache.tools.ant.Project.executeTargets(Project.java, Compiled Co de) at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Code) at org.apache.tools.ant.Main.start(Main.java, Compiled Code) at org.apache.tools.ant.Main.main(Main.java, Compiled Code) Total time: 2 seconds -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
