I've defined your same properties, defined ejbdoclet as pregoal and I'm
obtaining the following error:

<ant:javac> srcdir
"D:\Projects\jemos-xmlop-1.0\src\target\xdoclet\ejbdoclet" does not exist!

The ejbdoclet goal is looking for a src/target/xdoclet/ejbdoclet folder that
doesn't exists. Shall I create it?

I've got the following package:

/src
  |
  ---->java     (src folder)
            |
            ---->org (package begins)
                      |
                      -->jemos
                              |
                              -->xmlop
                                      |
                                      OneNormalClass.java
                                      SecondNormalClass.java
                                      FirstEJB.java     (Entity)
                                      FirstBeanSession.java  (Session)

In the following property I declared  the following:

maven.xdoclet.xdoclet.fileset.0.include=**/*EJB.java, **/*Bean.java

Is it ok? (I mean the use of the comma).

Is there a standard directory structure I could follow when creating EJBs
with Maven?

Many thanks,

Marco

----- Original Message ----- 
From: "Konstantin Priblouda" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>; "Marco Tedone"
<[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 7:26 PM
Subject: Re: What does the XDoclet plugin expects?


>
> --- Marco Tedone <[EMAIL PROTECTED]> wrote:
> > Hi, I'm reading the documentation on the XDoclet
> > website about the Maven
> > plugin. However, I don't know what the
> > "xdoclet:ejbdoclet" goal expects in
> > the maven.xml file. I've got a folder /src under
> > which java, webapp, etc.
> > are stored. When I point my cursor to /src and type
> > "maven
> > xdoclet:ejbdoclet" nothing happens.
> >
>
> you will need some properties and dependencies to
> activate subtasks
>
> Like this:
>
> ---%<-------------
> #message bundles
> maven.xdoclet.xdoclet.destDir=${basedir}/target/xdoclet/xdoclet
> maven.xdoclet.xdoclet.externalizer.0=true
> maven.xdoclet.xdoclet.externalizer.0.destinationFile={0}{1}.properties
>
> maven.xdoclet.xdoclet.propertiestranslator.0=true
> maven.xdoclet.xdoclet.fileset.0=true
> maven.xdoclet.xdoclet.fileset.0.include=**/*.java
> ---%<-------------
>
> Here I activate 2 subtasks ( externalizer / properties
> translator ) ,
> specify  fileset for eintire xdoclet invocation, and
> some task specific
> settings ( for example name pattern for generated
> properties  )
>
> then I need to specify desired task ( xdoclet:xdoclet
> ) as pregoal,
> and possibly tune my project xml so  that generated
> artifacts are packaged , or included in classpath of
> unit tests.
>
> regards,
>
>
>
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Zu Verst�rkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] f�r die Festanstellung.
> Arbeitsort: Mainz
> Skills:  Programieren, Kentnisse in OpenSource-Bereich
> ----[ http://www.pribluda.de ]------------------------
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - More reliable, more storage, less spam
> http://mail.yahoo.com
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to