On Tue, 2006-05-09 at 15:49, Stephen wrote: > I am using the WTP 1.0.2 plugin with Eclipse 3.1. I have created an > EJB Project with a session bean and have created an EAR that contains > the session bean along with a reference to another Java project in my > workspace. I get the following when I run xdoclet. Thank you for > your help.... > > > Buildfile: C:\Documents and > Settings\275285\workspace\.metadata\.plugins\org.eclipse.jst.j2ee.ejb.annotations.xdoclet\tempAnt.xml > > init: > > ejbdoclet: > > BUILD FAILED > > C:\Documents and > Settings\myaccount\workspace\.metadata\.plugins\org.eclipse.jst.j2ee.ejb.annotations.xdoclet\tempAnt.xml:69: > ${ejb.spec.version} is not a legal value for this attribute > > Total time: 2 seconds
The valid values are , so it's not surprising that "${ejb.spec.version}" is rejected. It looks like that property hasn't been defined in the Ant script before it reaches the call to XDoclet that uses it, so the name gets passed through instead. However, since I don't use Eclipse myself, that's about all I can suggest. If you'd posted the contents of the Ant script, that might have helped. You may have better luck on the xdoclet-user list, which is where questions about using XDoclet (as opposed to developing it) should go anyway. Andrew. _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel