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]

Reply via email to