Has anyone been successful in refreshing the toolkit using headless build? I tried to use the headless build but with no success.
<?xml version="1.0" encoding="UTF-8"?> <project name ="refresh" default="test"> <antTask name="eclipse.refreshLocal" class="org.eclipse.core.resources.ant.RefreshLocalTask" library="ant_tasks/resources-ant.jar" /> <target name="test"> <eclipse.refreshLocal resource="C:\*******" depth ="infinite"/> </target> </project> error message i get 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 -- View this message in context: http://ant.1045680.n5.nabble.com/Refresh-toolkit-using-headless-build-tp3243556p3243556.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org