Eclipse Platform
Version: 2.1
Build id: 200211151436
I am trying to build the example HelloWOrld project shown in the WOProject
documentation but the build fails. Here is the error from eclipse:
Kind Status Priority Description Resource In Folder
Location
Error Unbound classpath variable path:
NEXT_SYSTEM_ROOT/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml
.jar. HelloWOrld Build path
Here is the Ant output from the commnad like with verbose on:
C:\eclipse\workspace\HelloWOrld>ant -verbose
Apache Ant version 1.5.1 compiled on October 2 2002
Buildfile: build.xml
Detected Java version: 1.4 in: C:\j2sdk1.4.1_01\jre
Detected OS: Windows 2000
parsing buildfile build.xml with URI =
file:C:/eclipse/workspace/HelloWOrld/buil
d.xml
Project base dir set to: C:\eclipse\workspace\HelloWOrld
Build sequence for target `build' is [setProps, init.build, build.woapp,
refresh
View, build]
Complete build sequence is [setProps, init.build, build.woapp, refreshView,
buil
d, init.install, install, copy.strings, clean]
setProps:
[property] Loading C:\eclipse\workspace\HelloWOrld\build.properties
[property] Loading C:\Documents and Settings\jr\Library\wobuild.properties
init.build:
build.woapp:
BUILD FAILED
file:C:/eclipse/workspace/HelloWOrld/build.xml:43: Could not create task or
type
of type: updateframeworksets.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'updateframeworksets'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and optional.jar is absent
Fix: look for optional.jar in ANT_HOME/lib, download if needed
- The task was not built into optional.jar as dependent
libraries were not found at build time.
Fix: look in the JAR to verify, then rebuild with the needed
libraries, or download a release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
at
org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownEleme
nt.java:324)
at
org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:24
0)
at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.jav
a:115)
at org.apache.tools.ant.Task.perform(Task.java:318)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 1 second
C:\eclipse\workspace\HelloWOrld>
It looks like Ant is unable to locate the WOProject jar(s) containing the
updateframeworksets target. Has anyone seem this before and know how to fix
it?
Thanks!
J.R.
This archive was generated by hypermail 2.0.0 : Tue Feb 11 2003 - 12:14:33 EST