You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by ch...@gsa.gov on 2006/10/25 16:53:55 UTC
ANT called from .bat unknown Error
howdy:
In an automated build execution I have the following set up
c:\appName
where there is a build.bat and buildApp.xml
buildApp.xml is called and a PVCS call recreates the project in
c:\appName\appName, then calls the build.bat that executes the build.xml
at the root of c:\appName\appName, this is fine, no errors
build.bat is called by the buildApp.xml with :
<exec dir="${basedir}" executable="${basedir}/build.bat"
failifexecutionfails="false" failonerror="false"></exec>
The process works, project is retrieved from PVCS, jars are created and
deployed. When the build returns I get this message:
[exec] BUILD FAILED
[exec] Target `610 Builds' does not exist in this project.
[exec] at org.apache.tools.ant.Project.tsort(Project.java:1717)
[exec] at org.apache.tools.ant.Project.topoSort(Project.java:1627)
[exec] at org.apache.tools.ant.Project.topoSort(Project.java:1590)
[exec] at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[exec] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[exec] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[exec] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[exec] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[exec] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[exec] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Where 610 Builds is a folder == c:\appName\610 Builds
This folder is NOT part of any call or build...just a folder...strange
error that our "build team" doesn't care for, for obvious reasons...any
ideas?
Additional Info
[exec] Apache Ant version 1.6.5 compiled on June 2 2005
[exec] Buildfile: c:\appName\appName\build.xml
[exec] Detected Java version: 1.4 in: C:\j2sdk1.4.2_06\jre
[exec] Detected OS: Windows XP
Thank you,
Chris
~~~~~~~~~~~~~~~~~
Christopher McCauley
chris.mccauley@gsa.gov