Christian Pesch wrote:
Ok, after some tryal and error with my buildmagic setup, I've downloaded ojb-blank.jar, copied my sources to src/java and executed
ant xdoclet
Et voila:
[ojbdoclet] (XDocletMain.start 54 ) <<Could not find the class org.apache.ojb.broker.ManageableCollection on the classpath while checking the collection groups in class org.metamusic.core.impl.ArtistImpl>>
[ojbdoclet] file:/tmp/ojb-blank/build.xml:90: XDoclet failed.
[ojbdoclet] at xdoclet.DocletTask.start(DocletTask.java:465)
[ojbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:110)
[ojbdoclet] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
[ojbdoclet] at org.apache.tools.ant.Task.perform(Task.java:341)
[ojbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309)
[ojbdoclet] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[ojbdoclet] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[ojbdoclet] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[ojbdoclet] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[ojbdoclet] at org.apache.tools.ant.Main.start(Main.java:196)
[ojbdoclet] at org.apache.tools.ant.Main.main(Main.java:235)
The same error as before. BTW, I use source="1.4" does that make any difference?
I tried ojb-blank with a basic ojb.collection tag with ManageableArrayList as the collection-class, and it worked. Same when I declared the variable to be of type ManageableCollection.
I'd say you have a problem either with your classpath or with your ojb.collection tag.
Could you post a code snippet with the ojb.collection tag in question ?
Tom
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
