This is probably too late for you, but I think the key was getting the
xdoclet properties correct.

I got some output when I used all default ejbdoclet properties (other
words - I got rid of the ones I was explicitly setting.) Then I
incrementally added these props - fixing the occasional upper case/lower
case mistake.

Here are my current ejbdoclet props:

maven.xdoclet.ejbdoclet.fileset.0=true
maven.xdoclet.ejbdoclet.fileset.0.include=**/*Bean.java

[EMAIL PROTECTED],@author
maven.xdoclet.ejbdoclet.ejbSpec=2.1

maven.xdoclet.ejbdoclet.packageSubstitution.0=true
maven.xdoclet.ejbdoclet.packageSubstitution.0.packages=persistence
maven.xdoclet.ejbdoclet.packageSubstitution.0.substituteWith=interfaces

maven.xdoclet.ejbdoclet.remoteinterface.0=true
maven.xdoclet.ejbdoclet.remoteinterface.0.pattern={0}Remote

maven.xdoclet.ejbdoclet.localinterface.0=true
maven.xdoclet.ejbdoclet.localinterface.0.pattern={0}

maven.xdoclet.ejbdoclet.session.0=false
maven.xdoclet.ejbdoclet.utilobject.0=false

maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true
maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir=${maven.build.dir
}/xdoclet/ejb/META-INF

maven.xdoclet.ejbdoclet.jboss.0=true
maven.xdoclet.ejbdoclet.jboss.0.Version=4.0
maven.xdoclet.ejbdoclet.jboss.0.destDir=${maven.build.dir}/xdoclet/ejb/M
ETA-INF

maven.ejb.src=${maven.build.dir}/xdoclet/ejb

# For ejb-client
maven.ejb.client.base.includes=**/NISBean*.class


Rgds,

Aidan.


-----Original Message-----
From: Nathan Sowatskey [mailto: 
Sent: Monday, June 20, 2005 6:17 AM
To: Maven Users List
Subject: Re: How can I have the xdoclet generated files be included in
the compile?


Hi

Could you send me examples of the project files that worked for you
please?

I haven't gotten this working yet :-/

Many thanks!

Nathan

Aidan Donohoe wrote:
> Problem solved.
> 
> Now that I have ejbdoclet working, it looks like java:compile is 
> automatically including the generated files.
> 
> Thanks.
> 
> -----Original Message-----
> From: Aidan Donohoe
> Sent: Friday, June 17, 2005 9:52 AM
> To: Maven Users List
> Subject: How can I have the xdoclet generated files be included in the
> compile?
> 
> 
> Hi,
> 
> I am generating java files from xdoclet (into 
> target/xdoclet/ejbdoclet), and I want these files to be included in 
> the compilation along with the src directory.
> 
> Do I have to copy them into the src dir? (which seems nasty) Or is 
> there a better/right way to do this?
> 
> Thanks for any info,
> 
> Aidan.
> 
> 
> ---------------------------------------------------------------------
> 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]
> 

-- 
Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - Desk 
+44-208-824-4259/+1-408-527-2595 - Mobile +44-7740-449794 - AIM id
NathanCisco - [EMAIL PROTECTED]

---------------------------------------------------------------------
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]

Reply via email to