ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laran Evans <lc...@cornell.edu>
Subject Duplicate target names
Date Tue, 13 Jul 2004 14:58:09 GMT
Can anyone explain this trace to me?  I'd be happy to provide the build 
files involved if needed.

Start Trace ---
C:\dev\home\dfaFinSys\project\travel_web>ant -v compile
Apache Ant version 1.6.1 compiled on February 12 2004
Buildfile: build.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.2_04\jre
Detected OS: Windows XP
parsing buildfile C:\dev\home\dfaFinSys\project\travel_web\build.xml 
with URI =
file:///C:/dev/home/dfaFinSys/project/travel_web/build.xml
Project base dir set to: C:\dev\home\dfaFinSys\project\travel_web
  [property] Loading C:\Documents and Settings\Evans\ant.properties
  [property] Unable to find property file: C:\Documents and
Settings\Evans\ant.properties
  [property] Loading 
C:\dev\home\dfaFinSys\project\travel_web\build.properties
  [property] Loading C:\dev\home\dfaFinSys\project\build-master.properties
Importing file ../build-master.xml from
C:\dev\home\dfaFinSys\project\travel_web\build.xml
parsing buildfile C:\dev\home\dfaFinSys\project\build-master.xml with URI =
file:///C:/dev/home/dfaFinSys/project/build-master.xml
Overriding previous definition of reference to dfa_project.dependencies
  [property] Loading Environment env.
Build sequence for target `compile' is [dependencies, compile]
Complete build sequence is [dependencies, compile, setup-workspace, 
init, clean,
jar, war, ]

dependencies:
    [subant] calling target jar in build file
C:\dev\home\dfaFinSys\project\travel_web\build.xml
parsing buildfile C:\dev\home\dfaFinSys\project\travel_web\build.xml 
with URI =
file:///C:/dev/home/dfaFinSys/project/travel_web/build.xml
Project base dir set to: C:\dev\home\dfaFinSys\project\travel_web
  [property] Loading C:\Documents and Settings\Evans\ant.properties
  [property] Unable to find property file: C:\Documents and
Settings\Evans\ant.properties
  [property] Loading 
C:\dev\home\dfaFinSys\project\travel_web\build.properties
  [property] Loading C:\dev\home\dfaFinSys\project\build-master.properties
Importing file ../build-master.xml from
C:\dev\home\dfaFinSys\project\travel_web\build.xml
parsing buildfile C:\dev\home\dfaFinSys\project\build-master.xml with URI =
file:///C:/dev/home/dfaFinSys/project/build-master.xml
Overriding previous definition of reference to dfa_project.dependencies
  [property] Loading Environment env.
Build sequence for target `jar' is [dependencies, compile, jar]
Complete build sequence is [dependencies, compile, jar, setup-workspace, 
init,
clean, war, ]

BUILD FAILED
C:\dev\home\dfaFinSys\project\build-master.xml:145: subant task calling 
a target
that depends on its parent target 'dependencies'.
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:368)
         at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:182)
         at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:112)
         at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:301)
         at org.apache.tools.ant.Target.performTasks(Target.java:328)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
         at org.apache.tools.ant.Main.runBuild(Main.java:632)
         at org.apache.tools.ant.Main.startAnt(Main.java:183)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

Total time: 1 second
C:\dev\home\dfaFinSys\project\travel_web>
Stop Trace ----

Thanks in advance,

Laran Evans
Senior Programmer/Analyst
Cornell University Division of Financial Affairs

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message