Wednesday, February 12, 2003 03:45 AM
Did you define your task ejbdoclet in the build file? I didn't see!
It tells ant which class to use for this task and where to find this class...
Following build file works in my development:
(I had to hardcode XDoclet's lib path - it didn't work with a XDOCLET_HOME system environment variable)
This works fine if i use ant from the command line (ant version 1.5)!
When I'm using ant execution within Eclipse 2.0.2 with ant 1.4.1 plugin I'm getting the same exception!!!
All other build files will be executed normally if they don't use task.
This is what I tried with Eclipse/Ant configuration:
- Added all the XDoclet jars into Preferences >> External Tools >> Ant >> Classpath
- Added ant.jar and optional.jar from version 1.5 into Preferences >> External Tools >> Ant >> Classpath
(I did this because the ant class org.apache.tools.ant.DynamicConfigurator seems to be used by XDoclet 1.2b2 - I received a NoClassDefFoundError on this)
- Added a task definition for "ejbdoclet" into Preferences >> External Tools >> Ant >> Tasks
I didn't change any Eclipse/Ant plugin files (e.g. plugin.xml).
Can someone help on this issue?