problems of building nukes2.0 in windows xp system
jerryda Nov 21, 2004 1:29 AMEnvironmnet: winXP,jboss-3.2.6,jboss-3.2.6RC2-nukes-2.0-DR,nukes-2.0-DR-src
I set the
JBOSS_HOME=${jboss-3.2.6}
NUKES_HOME=${nukes-2.0-DR-src}
I build the nukes following the instruction in http://www.jboss.org/wiki/Wiki.jsp?page=InstallUninstallUpgrade
when I execute the build.bat under the $NUKES_HOME/build
I failed,the fault message is as below:
configure:
configure-libraries:
configure-modules:
configure-defaults:
configure-tools:
_configure:nukes:task:
_configure:xdoclet:task:
_configure:xdoclet:ejbdoclet:
_configure:xdoclet:jmxdoclet:
configure-project:
[echo] groups: default
[echo] modules: common,portal,api,portlet,core
_default:init:
init:
_buildmagic:modules:most:
==============================================================
==
== Executing 'most' in module 'common'...
==
==
_buildmagic:init:
_buildmagic:init:project-local-properties:
configure:
configure-libraries:
configure-modules:
configure-defaults:
Overriding previous definition of reference to javac.classpath
configure-tools:
_configure:nukes:task:
init:
generate-parsers:
_default:compile-classes:
[depend] Deleted 0 out of date files in 0 seconds
_default:compile-etc:
_default:compile-resources:
compile:
output:
_default:most:
most:
==
==
== Finished 'most' in module 'common'.
==
==============================================================
==============================================================
==
== Executing 'most' in module 'portal'...
==
==
_buildmagic:init:
_buildmagic:init:project-local-properties:
configure:
configure-libraries:
[echo] D:\Portal\JBoss\nukes-2.0-DR-src/thirdparty/xdoclet-xdoclet/lib
[echo] D:\Portal\JBoss\nukes-2.0-DR-src/thirdparty/sun-servlet/lib
configure-modules:
configure-defaults:
configure-tools:
_configure:nukes:task:
init:
_default:compile-classes:
[depend] Deleted 0 out of date files in 1 seconds
[javac] Compiling 1 source file to D:\Portal\JBoss\nukes-2.0-DR-src\portal\output\classes
_default:compile-etc:
_default:compile-resources:
compile:
[execmodules] 2004-11-21 13:56:05 xdoclet.XDocletMain start
[execmodules] ??: Running
[execmodules] INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
[execmodules] (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
[execmodules] The referring classes do not import any fully qualified classes matching these classes.
[execmodules] However, since no packages are imported, xjavadoc has assumed that the referred classes
[execmodules] belong to the same package as the referring class. The classes are:
[execmodules] D:\Portal\JBoss\nukes-2.0-DR-src\portal\src\main\org\jboss\nukes\portal\kernel\Kernel.java --> UpgradeLifeCycleMethod qualified to org.jboss.nukes.portal.kernel.UpgradeLifeCycleMethod
[execmodules] D:\Portal\JBoss\nukes-2.0-DR-src\portal\src\main\org\jboss\nukes\portal\kernel\Kernel.java --> DowngradeLifeCycleMethod qualified to org.jboss.nukes.portal.kernel.DowngradeLifeCycleMethod
[execmodules] D:\Portal\JBoss\nukes-2.0-DR-src\portal\src\main\org\jboss\nukes\portal\kernel\Kernel.java --> LifeCycleMethod qualified to org.jboss.nukes.portal.kernel.LifeCycleMethod
output:
[jar] Building jar: D:\Portal\JBoss\nukes-2.0-DR-src\portal\output\lib\nukes-portal-lib.jar
_default:most:
most:
==
==
== Finished 'most' in module 'portal'.
==
==============================================================
==============================================================
==
== Executing 'most' in module 'api'...
==
==
_buildmagic:init:
_buildmagic:init:project-local-properties:
configure:
configure-libraries:
configure-modules:
configure-defaults:
configure-tools:
_configure:nukes:task:
init:
_default:compile-classes:
[depend] Deleted 0 out of date files in 0 seconds
_default:compile-etc:
_default:compile-resources:
compile:
output:
_default:most:
most:
==
==
== Finished 'most' in module 'api'.
==
==============================================================
==============================================================
==
== Executing 'most' in module 'portlet'...
==
==
_buildmagic:init:
_buildmagic:init:project-local-properties:
configure:
configure-libraries:
configure-modules:
configure-defaults:
configure-tools:
_configure:nukes:task:
init:
_default:compile-classes:
[depend] Deleted 0 out of date files in 0 seconds
_default:compile-etc:
_default:compile-resources:
compile:
[execmodules] 2004-11-21 13:56:12 xdoclet.XDocletMain start
[execmodules] ??: Running
[execmodules] INFO: Some classes refer to other classes that were not found among the sources or on the classpath.
[execmodules] (Perhaps the referred class doesn't exist? Hasn't been generated yet?)
[execmodules] The referring classes do not import any fully qualified classes matching these classes.
[execmodules] However, since no packages are imported, xjavadoc has assumed that the referred classes
[execmodules] belong to the same package as the referring class. The classes are:
[execmodules] D:\Portal\JBoss\nukes-2.0-DR-src\portal\src\main\org\jboss\nukes\portal\kernel\Kernel.java --> UpgradeLifeCycleMethod qualified to org.jboss.nukes.portal.kernel.UpgradeLifeCycleMethod
[execmodules] D:\Portal\JBoss\nukes-2.0-DR-src\portal\src\main\org\jboss\nukes\portal\kernel\Kernel.java --> DowngradeLifeCycleMethod qualified to org.jboss.nukes.portal.kernel.DowngradeLifeCycleMethod
[execmodules] D:\Portal\JBoss\nukes-2.0-DR-src\portal\src\main\org\jboss\nukes\portal\kernel\Kernel.java --> LifeCycleMethod qualified to org.jboss.nukes.portal.kernel.LifeCycleMethod
BUILD FAILED
file:D:/Portal/JBoss/nukes-2.0-DR-src/portlet/build.xml:123: Could not create task or type of type: webdoclet.
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 'webdoclet'.
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 .
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(UnknownElement.java:324)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:240)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java: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.taskdefs.Ant.execute(Ant.java:371)
at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:311)
at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:326)
at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:215)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166)
at org.apache.tools.ant.Task.perform(Task.java:319)
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)
i checked as the above said,but i still donot know where the problem is,
it said The task needs an external JAR file to execute,what the external JAR which here said is?
I need your help!
tks