On Wed, 19 Apr 2006, J-F Daune wrote:
> Kenney,
>
> I added the mkdir, but still don't get any output (no file generated)
Ok.
You're telling xdoclet to generate local/remote/home/localhome interfaces.
Did you specify @ejb.home etc. too in the *Bean.java sources?
-- Kenney
>
> For info, here is the log:
>
> [INFO] [xdoclet:xdoclet {execution: default}]
> [INFO] Initializing DocletTasks!!!
> [INFO] Executing tasks
> 19-avr.-2006 16:24:05 xdoclet.XDocletMain start
> INFO: Running <remoteinterface/>
> 19-avr.-2006 16:24:05 xdoclet.XDocletMain start
> INFO: Running <homeinterface/>
> 19-avr.-2006 16:24:05 xdoclet.XDocletMain start
> INFO: Running <localinterface/>
> 19-avr.-2006 16:24:05 xdoclet.XDocletMain start
> INFO: Running <localhomeinterface/>
> INFO: Some classes refer to other classes that were not found among
> the sourc
> es or on the classpath.
> (Perhaps the referred class doesn't exist? Hasn't been
> generated yet?)
> The referring classes do not import any fully qualified classes
> matchin
> g these classes.
> However, since no packages are imported, xjavadoc has assumed
> that the
> referred classes
> belong to the same package as the referring class. The classes are:
> F:\common\projects\m2\logic\ejb\src\main\java\be\banksys\tams\logic\TestServiceB
> ean.java --> TestService qualified to be.banksys.tams.logic.TestService
> [INFO] Executed tasks
>
> > On Wed, 19 Apr 2006, J-F Daune wrote:
> >
> > I don't know what the output is you get, but I think you have to add
> > an <mkdir dir="${project.build.directory}/generated-sources/xdoclet"/>
> > before the ejbdoclet tag.
> >
> > I'm hoping to streamline this in future versions.
> >
> > -- Kenney
> >
> >
> >> Hi,
> >>
> >> I am starting with M2, and am trying to use XDoclet to generate EJB stuff.
> >>
> >> I followed instructions found on this mailing list, and declare this:
> >>
> >> <build>
> >> <plugins>
> >> <plugin>
> >> <groupId>org.apache.maven.plugins</groupId>
> >> <artifactId>maven-ejb-plugin</artifactId>
> >> <configuration>
> >> <generateClient>true</generateClient>
> >> </configuration>
> >> </plugin>
> >>
> >> <plugin>
> >> <groupId>org.codehaus.mojo</groupId>
> >> <artifactId>xdoclet-maven-plugin</artifactId>
> >> <executions>
> >> <execution>
> >> <phase>generate-sources</phase>
> >> <goals>
> >> <goal>xdoclet</goal>
> >> </goals>
> >> <configuration>
> >> <tasks>
> >> <ejbdoclet
> >>
> >> destDir="${project.build.directory}/generated-sources/xdoclet"
> >> excludedtags="@version,@author"
> >> force="true"
> >> verbose="true">
> >> <fileset dir="${basedir}/src/main/java"
> >> includes="**/*Bean.java"/>
> >> <remoteinterface/>
> >> <homeinterface/>
> >> <localinterface/>
> >> <localhomeinterface/>
> >> </ejbdoclet>
> >> </tasks>
> >> </configuration>
> >> </execution>
> >> </executions>
> >> </plugin>
> >> </plugins>
> >> </build>
> >>
> >>
> >> I have a TestServiceBean.java declaring ejb.bean and one
> >> ejb.interface-method.
> >>
> >> Unfortunately, when invoking mvn package, no code is generated.
> >>
> >> Any help is welcome, as for me, everything has been configured correctly.
> >>
> >> Cheers,
> >>
> >> J-F
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > --
> > Kenney Westerhof
> > http://www.neonics.com
> > GPG public key: http://www.gods.nl/~forge/kenneyw.key
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]