C:\apache-ant-1.7.0\bin>ant -f refresh.xml -v
Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: refresh.xml
Detected Java version: 1.6 in: C:\Program Files\Java\jre6
Detected OS: Windows XP
parsing buildfile C:\apache-ant-1.7.0\bin\refresh.xml with URI = file:/C:/apache
-ant-1.7.0/bin/refresh.xml
Project base dir set to: C:\apache-ant-1.7.0\bin
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apach
e/tools/ant/antlib.xml. It could not be found.
BUILD FAILED
C:\apache-ant-1.7.0\bin\refresh.xml:3: Problem: failed to create task or type an
tTask
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownEleme
nt.java:481)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:41
3)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
a:160)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
140)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:96)
at org.apache.tools.ant.Main.runBuild(Main.java:683)
at org.apache.tools.ant.Main.startAnt(Main.java:199)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Total time: 0 seconds
I open the ant.jar file and i see that it has org folder and inside that it has the antlib.xml file. The atlib.xml file does not have typedef declared for eclipse.refreshLocal. Would that be the cause for error?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum