I'm using XDoclet to generate EJBs. Initially I had followed the
instructions in their Maven plugin documentation, which simple called
xdoclet:ejbdoclet as a preGoal to java:compile.  However, I'm now in a
more complicated situation and I must invoke the XDoclet Ant tasks manually.

Simply replacing the call to the XDoclet Maven plugin with the XDoclet
Ant tasks in maven.xml doesn't work exactly as I'd hoped.  When calling
goals like war:war or ejb:ejb, the XDoclet tasks are executed twice,
since for some reason java:compile seems to be invoked twice.  Does this
sound crazy or has anyone else experienced something similar?

Perhaps the java:compile goal is confused, since due to XDoclet
generating some source files, the pom.build.sourceDirectory and the
classes in target/classes don't match up exactly.  It's a strange situation.

Thanks for any help!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to