Are you using 1.0.1? If so please use latest from cvs.
Now a note for all Xdoclet users (not for this specific case though):
--------------------------------
As a general rule, whenever you get an un-normal error "Xdoclet failed
blabla", please turn log4j on and let us see what the stack trace shows.
To do so:
- make a copy of core/config/log4j.properties, put it where your
build.xml is.
- Uncomment the last line of it.
- Rerun Ant, this time add this parameter to Ant launcher:
-Dlog4j.configuration=file:/full_path/log4j.properties
(Assuming you launch Ant by java org.apache.tools.ant.Main blabla like
Xdoclet's samples)
- Copy and send the stack trace (lines starting with
(DocletTask$DocletMain.blabla).
Cheers,
Ara.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of Colin Daly
> Sent: Monday, November 26, 2001 2:58 AM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] can't get aggregates to work
>
>
> i want to aggregate an Account with a PartyOrder
> and if I only put @aggregate on the getter I get....
>
> compile:
> [echo] "src/java;gen-src/java"
> [javac] Compiling 111 source files to
> /home/colin/projects/cop/build/ejb
> [javac]
> /home/colin/projects/cop/gen-
> src/java/au/com/ucw/cop/ejb/PartyOrderEJBCMP.java:92:
> cannot resolve symbol
> [javac] symbol : method setAccount
> (au.com.ucw.cop.interfaces.AccountEJBData)
> [javac] location: class
au.com.ucw.cop.interfaces.PartyOrderEJBData
> [javac] dataHolder.setAccount(
getAccount().getData()
> );
> [javac] ^
>
> if I add @aggregate to the setter I get the following exception....
>
> [ejbdoclet] javadoc: In doclet class xdoclet.DocletTask$DocletMain,
> method
> start has thrown an exception
java.lang.reflect.InvocationTargetException
>
> anyone got the aggregate stuff to work - any help would be
appreciated.
>
> Colin.
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user