From: <asl...@ne...> - 2003-01-29 13:22:54
|
The error message is misleading (and fixed in CVS). You need ejb.jar/j2ee.jar/jboss-j2ee.jar or whatever jar file the javax.ejb.* classes are in on the same classpath. Also see: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=X DT-222 Off-topic: http://rinkrank.blog-city.com/readblog.cfm?BID=16666 Do we really need localised messages? Aslak > -----Original Message----- > From: xdo...@li... > [mailto:xdo...@li...]On Behalf Of Olivier - > (JConcept / Cetip) > Sent: 29. januar 2003 13:02 > To: 'xdo...@li...' > Subject: [Xdoclet-user] Problem with Ant Integration > > > > Hi, > > I get the following problem while trying to use ejbdoclet tag in my ant > script : > > I have got an init target where i do the following : > > <taskdef > name="ejbdoclet" > classname="xdoclet.modules.ejb.EjbDocletTask" > classpath="${xdoclet.jars}"/> > <tstamp> > > Where xdoclet.jars contains all the jars. > > > Then i try to use the task and i get the following error : > > Certifique-se de que o arquivo jar contendo a classe ejbdoclet est?í no > classpath definido para a <taskdef> que definiu {2}. Estas classes s?úo > necess?írias para gerar uma sa?¡da correta. > [ejbdoclet] at xdoclet.DocletTask.checkClass(DocletTask.java:501) > [ejbdoclet] at > xdoclet.modules.ejb.EjbDocletTask.validateOptions(EjbDocletTask.java:82) > [ejbdoclet] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:53) > [ejbdoclet] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166) > [ejbdoclet] at org.apache.tools.ant.Task.perform(Task.java:319) > [ejbdoclet] at org.apache.tools.ant.Target.execute(Target.java:309) > > The message means : Checks that the jar containing the ejbdoclet is in the > classpath defined for the <taskdef> that defined {2} > > > Any idea ? > > > Obs : This worked for me in a simple ant script. > Thanks, > Olivier > > > > -----Mensagem original----- > > De: kiuma [mailto:ki...@us...] > > Enviada em: quarta-feira, 29 de janeiro de 2003 09:15 > > Para: xdoclet > > Assunto: [Xdoclet-user] xdocletgui problems > > > > > > Hi all, > > > > I've successfully compiled xdoclet-all from CVS > > but now I have the following error on xdocletgui when I try to load a > > folder or a file > > > > 29-gen-2003 12.12.05 java.util.prefs.FileSystemPreferences > > checkLockFile0ErrorCode > > AVVERTENZA: Could not lock System prefs.Unix error code 1073922287. > > 29-gen-2003 12.12.05 java.util.prefs.FileSystemPreferences syncWorld > > AVVERTENZA: Couldn't flush system prefs: > > java.util.prefs.BackingStoreException: Couldn't get file lock. > > > > and the component tree remains empty. > > Can you help me please ? > > > > Thanks, > > kiuma > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Xdoclet-user mailing list > > Xdo...@li... > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See! > http://www.vasoftware.com > _______________________________________________ > Xdoclet-user mailing list > Xdo...@li... > https://lists.sourceforge.net/lists/listinfo/xdoclet-user |