Re: XDoclet in Maven

2004-11-12 Thread Pascal Thivent
Hi,

in deed, you made a lot of progress since the first mail. Lets try to
tackle all pending issues.

I'm not using the EjbDocletTask directly but use rather the maven
xdoclet goal. So I have this in my maven.xml :


Generates EJB classes and descriptor files

  

And the following dependency in my project.xml (it's enough for what
i'm doing for now) :


  xdoclet
  xdoclet-ejb-module
  1.2.1
  jar
  
false
  


And this *works fine* (other potentially required libraries such as
commons-collections, commons-logging, log4j are not mentionned here).

Anyway, it's also possible to use directly an ant task from maven, as
you are trying to do. I've tried to reproduce you configuration and
replaced the content of my pregoal with :


  


This won't do anything more than adding a task definition to the
current project, you still need to call it then (see for example :
http://tinyurl.com/4xfw7 or xdoclet web site) but it is enough to fix
potential classpath issues.

When running maven with the dependencies mentionned above, I get the
following trace :

BUILD FAILED
File.. E:\myprojects\cauldron\modules\biz\maven.xml
Element... taskdef
Line.. 24
Column 50
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
Total time: 12 seconds
Finished at: Sat Nov 13 06:53:01 CET 2004

This is surprising as everything was working fine with the
xdoclet:ejbdoclet goal. I'm for sure missing now some dependencies
that the maven-xdoclet-plugin has. When running maven with the -X
option, I get the  :

BUILD FAILED
File.. E:\myprojects\cauldron\modules\biz\maven.xml
Element... taskdef
Line.. 24
Column 50
taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [cauldron:dist
] -- E:\myprojects\cauldron\modules\biz\maven.xml:24:50:  taskdef class
 xdoclet.modules.ejb.EjbDocletTask cannot be found

[...]

--- Nested Exception ---
java.lang.NoClassDefFoundError: xdoclet/DocletTask

[...]

No possible doubts, I'm missing some dependencies. Let's try it again
with the following set (after a first try with just xdoclet added, I
saw that xjavadoc was required too) :


  xdoclet
  xdoclet-ejb-module
  1.2.1
  jar


xdoclet
xdoclet
1.2.1


xdoclet
xjavadoc
1.0.3


Ok, this time, the EjbDocletTask has been properly loaded, everyting
is fine. Would just have to do some stuff with it now :)

You should be able to get it wotking too now. 

I don't know if you have any preferences but I suggest to use the
maven-xdoclet-plugin and the xdoclet:ejbdoclet goal directly. The
maven-xodlet-plugin team is already adding the EjbDocletTask
definition so I prefer to not duplicate (and maintain !) this code in
my scripts.

On Fri, 12 Nov 2004 17:22:17 -0800 (PST), Janos Mucsi <[EMAIL PROTECTED]> wrote:
> 
> To rephrase my previous question, if the
> ${pom.dependencyClasspath} contains
> xdoclet-ejb-module-1.2.jar which contains
> xdoclet.modules.ejb.EjbDocletTask, then why do I get
> this if my taskdef is like this:
> 
> ===
> 
> 
>  classname="xdoclet.modules.ejb.EjbDocletTask">
> 
>  path="${pom.dependencyClasspath}"/>
>  refid="maven.dependency.classpath"/>
> 
> 
> =
> 
> 
> C:\temp\eclipse\PlutoApp\modules\everest-module-registration>maven
> ejb:install
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.1
> 
> build:start:
> 
> ejb:init:
> java:prepare-filesystem:
> 
> java:compile:
> [echo] java:compile ${pom.dependencyClasspath}=
> C:\Documents and Settings\jm
> ucsi/.maven/repository\opcert\jars\everest-module-bedrock-1.0.jar;C:\Documents
> a
> nd
> Settings\jmucsi/.maven/repository\j2ee\jars\j2ee-1.3.1.jar;C:\Documents
> and S
> ettings\jmucsi/.maven/repository\commons-collections\jars\commons-collections-3.
> 1.jar;C:\ccviews\USOpCert\source\complib\log4j-1.2.8.jar;C:\Documents
> and Settin
> gs\jmucsi/.maven/repository\xdoclet\jars\xdoclet-1.2.jar;C:\Documents
> and Settin
> gs\jmucsi/.maven/repository\xdoclet\jars\xdoclet-xdoclet-module-1.2.jar;C:\Docum
> ents and
> Settings\jmucsi/.maven/repository\xdoclet\jars\xdoclet-ejb-module-1.2.j
> ar;C:\Documents and
> Settings\jmucsi/.maven/repository\xdoclet\jars\xdoclet-hiber
> nate-module-1.2.jar;C:\Documents and
> Settings\jmucsi/.maven/repository\xdoclet\j
> ars\xdoclet-jboss-module-1.2.jar;
> 
> 
> 
> BUILD FAILED
> File..
> C:\temp\eclipse\PlutoApp\modules\everest-module-registration\maven.xm
> l
> Element... ant:taskdef
> Line.. 9
> Column 84
> taskdef class xdoclet.modules.ejb.EjbDocletTask cannot
> be found
> 
> __
> Do you Yahoo!?
> Check out the

RE: XDoclet in Maven

2004-11-13 Thread Eric Pugh
Have you tried with the latest and greatest of xdoclet?  1.2.2 was released,
and had many improvements and cleanups applied to the Maven plugin.

> -Original Message-
> From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 13, 2004 6:32 AM
> To: Maven Users List
> Subject: Re: XDoclet in Maven
>
>
> Hi,
>
> in deed, you made a lot of progress since the first mail. Lets try to
> tackle all pending issues.
>
> I'm not using the EjbDocletTask directly but use rather the maven
> xdoclet goal. So I have this in my maven.xml :
>
> 
> Generates EJB classes and descriptor files
> 
> 
>
> And the following dependency in my project.xml (it's enough for what
> i'm doing for now) :
>
> 
>   xdoclet
>   xdoclet-ejb-module
>   1.2.1
>   jar
>   
> false
>   
> 
>
> And this *works fine* (other potentially required libraries such as
> commons-collections, commons-logging, log4j are not mentionned here).
>
> Anyway, it's also possible to use directly an ant task from maven, as
> you are trying to do. I've tried to reproduce you configuration and
> replaced the content of my pregoal with :
>
> 
>   name="ejbdoclet"
>classname="xdoclet.modules.ejb.EjbDocletTask"
>classpathref="maven.dependency.classpath" />
> 
>
> This won't do anything more than adding a task definition to the
> current project, you still need to call it then (see for example :
> http://tinyurl.com/4xfw7 or xdoclet web site) but it is enough to fix
> potential classpath issues.
>
> When running maven with the dependencies mentionned above, I get the
> following trace :
>
> BUILD FAILED
> File.. E:\myprojects\cauldron\modules\biz\maven.xml
> Element... taskdef
> Line.. 24
> Column 50
> taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> Total time: 12 seconds
> Finished at: Sat Nov 13 06:53:01 CET 2004
>
> This is surprising as everything was working fine with the
> xdoclet:ejbdoclet goal. I'm for sure missing now some dependencies
> that the maven-xdoclet-plugin has. When running maven with the -X
> option, I get the  :
>
> BUILD FAILED
> File.. E:\myprojects\cauldron\modules\biz\maven.xml
> Element... taskdef
> Line.. 24
> Column 50
> taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> com.werken.werkz.UnattainableGoalException: Unable to obtain goal
> [cauldron:dist
> ] -- E:\myprojects\cauldron\modules\biz\maven.xml:24:50:
>  taskdef class
>  xdoclet.modules.ejb.EjbDocletTask cannot be found
>
> [...]
>
> --- Nested Exception ---
> java.lang.NoClassDefFoundError: xdoclet/DocletTask
>
> [...]
>
> No possible doubts, I'm missing some dependencies. Let's try it again
> with the following set (after a first try with just xdoclet added, I
> saw that xjavadoc was required too) :
>
> 
>   xdoclet
>   xdoclet-ejb-module
>   1.2.1
>   jar
> 
> 
>   xdoclet
>   xdoclet
>   1.2.1
> 
> 
>   xdoclet
>   xjavadoc
>   1.0.3
> 
>
> Ok, this time, the EjbDocletTask has been properly loaded, everyting
> is fine. Would just have to do some stuff with it now :)
>
> You should be able to get it wotking too now.
>
> I don't know if you have any preferences but I suggest to use the
> maven-xdoclet-plugin and the xdoclet:ejbdoclet goal directly. The
> maven-xodlet-plugin team is already adding the EjbDocletTask
> definition so I prefer to not duplicate (and maintain !) this code in
> my scripts.
>
> On Fri, 12 Nov 2004 17:22:17 -0800 (PST), Janos Mucsi
> <[EMAIL PROTECTED]> wrote:
> >
> > To rephrase my previous question, if the
> > ${pom.dependencyClasspath} contains
> > xdoclet-ejb-module-1.2.jar which contains
> > xdoclet.modules.ejb.EjbDocletTask, then why do I get
> > this if my taskdef is like this:
> >
> > ===
> >
> >
> >  > classname="xdoclet.modules.ejb.EjbDocletTask">
> > 
> >  > path="${pom.dependencyClasspath}"/>
> >  > refid="maven.dependency.classpath"/>
> > 
> > 
> > =
> >
> >
> > C:\temp\eclipse\PlutoApp\modules\everest-module-registration>maven
> > ejb:install
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _`

RE: XDoclet in Maven

2004-11-15 Thread Eric Pugh
I am in the process of updating the XDoclet repository at
http://xdoclet.sf.net/repository.  I have everything bug the newest plugin
uploaded, I ran into an issue with permissions on the filesystem that is
stopping me.  Hopefully everything will be online in the next day or so.

Eric

> -Original Message-
> From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 15, 2004 11:01 PM
> To: Maven Users List; Pascal Thivent
> Subject: XDoclet in Maven
>
>
> Pascal
>
> I set my dependencies exactly like you said. It solved
> the class not found problem.
> So now if I do
>
> 
> Generates EJB classes and descriptor
> files
> 
> 
>
> I get:
>
> [echo] Generates EJB classes and descriptor files
> Tag library requested that is not present: 'maven' in
> plugin: 'maven-xdoclet-plu
> gin-1.2.1'
> xdoclet:ejbdoclet:
>
> However, if I define a taskdef like you said:
>
> 
> classname="xdoclet.modules.ejb.EjbDocletTask"
>classpathref="maven.dependency.classpath"/>
>
> ejbspec="2.0"
>force="false">
>
> 
> 
> 
>
>  cacheHomes="true"/>
>
> 
> 
> 
> 
>
>  destdir="${ejb.descriptor.dir}"/>
>
> xmlencoding="UTF-8"
>typemapping="Hypersonic SQL"
>datasource="java:/DefaultDS"
>destdir="${ejb.descriptor.dir}"/>
>
> 
>
>
> I see no errors, however XDoclet does absolutely
> nothing. The resulting jar only contains my marked up
> class and the manifest. No ejb.xml. Can you please
> send me a sample EJB-marked up class. Is there
> something wrong with my source directory? I only have
>   src
>  + ejb
>  + META-INF
>   + MANIFEST.MF
>  + java
>   *Bean.java
>
>
> Is there something  wrong with my directory structure
> and the files in it? Why are the two ways behave
> differently?
> Thanks.
>
> Janos
>
>
>
>
> __
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
>
>
>
> -
> 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]



Re: XDoclet in Maven

2004-11-15 Thread Arnaud HERITIER
Thanks Eric.
It will help us a lot.

Arnaud


On Mon, 15 Nov 2004 23:37:05 -, Eric Pugh <[EMAIL PROTECTED]> wrote:
> I am in the process of updating the XDoclet repository at
> http://xdoclet.sf.net/repository.  I have everything bug the newest plugin
> uploaded, I ran into an issue with permissions on the filesystem that is
> stopping me.  Hopefully everything will be online in the next day or so.
> 
> Eric
> 
> 
> 
> > -Original Message-
> > From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> > Sent: Monday, November 15, 2004 11:01 PM
> > To: Maven Users List; Pascal Thivent
> > Subject: XDoclet in Maven
> >
> >
> > Pascal
> >
> > I set my dependencies exactly like you said. It solved
> > the class not found problem.
> > So now if I do
> >
> > 
> > Generates EJB classes and descriptor
> > files
> > 
> > 
> >
> > I get:
> >
> > [echo] Generates EJB classes and descriptor files
> > Tag library requested that is not present: 'maven' in
> > plugin: 'maven-xdoclet-plu
> > gin-1.2.1'
> > xdoclet:ejbdoclet:
> >
> > However, if I define a taskdef like you said:
> >
> >  >
> > classname="xdoclet.modules.ejb.EjbDocletTask"
> >classpathref="maven.dependency.classpath"/>
> >
> >  >ejbspec="2.0"
> >force="false">
> >
> > 
> > 
> > 
> >
> >  > cacheHomes="true"/>
> >
> > 
> > 
> > 
> > 
> >
> >  > destdir="${ejb.descriptor.dir}"/>
> >
> >  >xmlencoding="UTF-8"
> >typemapping="Hypersonic SQL"
> >datasource="java:/DefaultDS"
> >destdir="${ejb.descriptor.dir}"/>
> >
> > 
> >
> >
> > I see no errors, however XDoclet does absolutely
> > nothing. The resulting jar only contains my marked up
> > class and the manifest. No ejb.xml. Can you please
> > send me a sample EJB-marked up class. Is there
> > something wrong with my source directory? I only have
> >   src
> >  + ejb
> >  + META-INF
> >   + MANIFEST.MF
> >  + java
> >   *Bean.java
> >
> >
> > Is there something  wrong with my directory structure
> > and the files in it? Why are the two ways behave
> > differently?
> > Thanks.
> >
> > Janos
> >
> >
> >
> >
> > __
> > Do you Yahoo!?
> > The all-new My Yahoo! - Get yours free!
> > http://my.yahoo.com
> >
> >
> >
> > -
> > 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]
> 
>

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



Re: XDoclet in Maven

2004-11-16 Thread Pascal Thivent
Hi,

have you tried the *Maven Plug-in* entry on xdoclet website ?
http://xdoclet.sourceforge.net/xdoclet/maven-plugin.html. On this
page, we can read :

"Maven is an increasingly popular build tool, and XDoclet maintains
its own Maven plug-in. This plug-in is located in the same folder as
the other xdoclet jar files, and is named
maven-xdoclet-plugin-.jar. Just drop it in your
$MAVEN_HOME/plugins directory and you're ready to go. You might have
to delete your $MAVEN_HOME/cache/*.* files and previous un-zipped
XDoclet plug-ins in $MAVEN_HOME/plugins to be able to get it to work
properly."

So download xdoclet, unpack it and you'll find the plugin.

The second option would be to add the xdoclet repository to the
maven.repo.remote property in your build.properties :

maven.repo.remote=http://www.ibiblio.org/maven/,http://xdoclet.sourceforge.net/repository/

and to use the plugin:download goal and in a command prompt, type the
following command :

C:\WINDOWS\system32>maven -DgroupId=xdoclet -DartifactId=maven-xdoclet-plugin -D
version=1.2.2 plugin:download

This will be possible as soon as Eric will have updated the xdoclet repository.

On Mon, 15 Nov 2004 14:42:34 -0800 (PST), Janos Mucsi <[EMAIL PROTECTED]> wrote:
> Eric
> Where is this?
> I am still getting:
> java:compile:
> [echo] Generates EJB classes and descriptor files
> Tag library requested that is not present: 'maven' in
> plugin: 'maven-xdoclet-plugin-1.2.1'
> xdoclet:ejbdoclet:
> 
> Have you tried with the latest and greatest of
> xdoclet?  1.2.2 was
> released,
> and had many improvements and cleanups applied to the
> Maven plugin.
> 
> 
> __
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
Pascal

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



Re: XDoclet in Maven

2004-11-16 Thread Corey Scott
Aparently that is something that was fixed with Maven 1.1 and should
not be effecting the plugin's behaviour.

-Corey


On Tue, 16 Nov 2004 15:47:04 -0800 (PST), Janos Mucsi <[EMAIL PROTECTED]> wrote:
> Hi
> I commented out my dependencies, ran Maven, then I put
> back the XDoclet dependencies, ran Maven again, and
> everything started working. Here they are:
> 
>xdoclet
> 
> xdoclet-ejb-module
>1.2.2
>jar
>
> 
> false
>
>  
>  
>xdoclet
> 
> xdoclet-web-module
>1.2
>jar
>
> 
> false
>
>  
>   
>xdoclet
>xdoclet
>1.2.2
>
>
>
>xdoclet
>xjavadoc
>1.0.3
>
>
> 
> The JBoss and Hibernate XDoclet modules are still
> commented out. I have two questions:
> 
> 1. Why I see:
> Tag library requested that is not present: 'doc' in
> plugin: 'maven-ejb-plugin-1.
> 5'
> Tag library requested that is not present: 'maven' in
> plugin: 'maven-xdoclet-plu
> gin-1.2.2-SNAPSHOT'
> 
> 2. Why it is trying to download *every time* I run
> Maven: Attempting to download
> xdoclet-1.2.2-SNAPSHOT.jar.
> Attempting to download
> xdoclet-xdoclet-module-1.2.2-SNAPSHOT.jar.
> 
> Thanks.
> 
> Janos
> 
> __
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
> 
> -
> 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]



RE: XDoclet in Maven

2004-11-17 Thread Eric Pugh
The snapshot error is worrisome..  double check that the version of xdoclet
used by the plugin in MAVEN_HOME\cache\maven-xdoclet-plugin\project.xml
isn't marked as SNAPSHOT.

If it is, where did you get this plugin, from the download at
xdoclet.sf.net?

Eric


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



Re: XDoclet in Maven

2004-11-18 Thread Jose Gonzalez Gomez
   Eric,
   Any news regarding this? I have taken a look at the web, but I still 
cannot find the 1.2.2 version of the plugin.

   Best regards
   Jose
Eric Pugh wrote:
I am in the process of updating the XDoclet repository at
http://xdoclet.sf.net/repository.  I have everything bug the newest plugin
uploaded, I ran into an issue with permissions on the filesystem that is
stopping me.  Hopefully everything will be online in the next day or so.
Eric
 

-Original Message-
From: Janos Mucsi [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 11:01 PM
To: Maven Users List; Pascal Thivent
Subject: XDoclet in Maven
Pascal
I set my dependencies exactly like you said. It solved
the class not found problem.
So now if I do

   Generates EJB classes and descriptor
files
   
   
I get:
   [echo] Generates EJB classes and descriptor files
Tag library requested that is not present: 'maven' in
plugin: 'maven-xdoclet-plu
gin-1.2.1'
xdoclet:ejbdoclet:
However, if I define a taskdef like you said:

classname="xdoclet.modules.ejb.EjbDocletTask"
  classpathref="maven.dependency.classpath"/>
   
   
   
   
   
   
   
   
   
   
   
   
I see no errors, however XDoclet does absolutely
nothing. The resulting jar only contains my marked up
class and the manifest. No ejb.xml. Can you please
send me a sample EJB-marked up class. Is there
something wrong with my source directory? I only have
 src
+ ejb
+ META-INF
 + MANIFEST.MF
+ java
 *Bean.java
Is there something  wrong with my directory structure
and the files in it? Why are the two ways behave
differently?
Thanks.
Janos

__
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com

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


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


Re: XDoclet in Maven

2004-11-18 Thread Pascal Thivent
Hi,

the maven xdoclet plugin is available in xdoclet distribution.

See 
http://sourceforge.net/project/showfiles.php?group_id=31602&package_id=23635&release_id=277003

On Thu, 18 Nov 2004 13:51:22 +0100, Jose Gonzalez Gomez
<[EMAIL PROTECTED]> wrote:
> 
> Eric,
> 
> Any news regarding this? I have taken a look at the web, but I still
> cannot find the 1.2.2 version of the plugin.
> 
> Best regards
> Jose
> 
> 
> 
> Eric Pugh wrote:
> 
> >I am in the process of updating the XDoclet repository at
> >http://xdoclet.sf.net/repository.  I have everything bug the newest plugin
> >uploaded, I ran into an issue with permissions on the filesystem that is
> >stopping me.  Hopefully everything will be online in the next day or so.
> >
> >Eric
> >
> >
> >
> >>-Original Message-
> >>From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> >>Sent: Monday, November 15, 2004 11:01 PM
> >>To: Maven Users List; Pascal Thivent
> >>Subject: XDoclet in Maven
> >>
> >>
> >>Pascal
> >>
> >>I set my dependencies exactly like you said. It solved
> >>the class not found problem.
> >>So now if I do
> >>
> >>
> >>Generates EJB classes and descriptor
> >>files
> >>
> >>
> >>
> >>I get:
> >>
> >>[echo] Generates EJB classes and descriptor files
> >>Tag library requested that is not present: 'maven' in
> >>plugin: 'maven-xdoclet-plu
> >>gin-1.2.1'
> >>xdoclet:ejbdoclet:
> >>
> >>However, if I define a taskdef like you said:
> >>
> >> >>
> >>classname="xdoclet.modules.ejb.EjbDocletTask"
> >>   classpathref="maven.dependency.classpath"/>
> >>
> >> >>   ejbspec="2.0"
> >>   force="false">
> >>
> >>
> >>
> >>
> >>
> >> >>cacheHomes="true"/>
> >>
> >>
> >>
> >>
> >>
> >>
> >> >>destdir="${ejb.descriptor.dir}"/>
> >>
> >> >>   xmlencoding="UTF-8"
> >>   typemapping="Hypersonic SQL"
> >>   datasource="java:/DefaultDS"
> >>   destdir="${ejb.descriptor.dir}"/>
> >>
> >>
> >>
> >>
> >>I see no errors, however XDoclet does absolutely
> >>nothing. The resulting jar only contains my marked up
> >>class and the manifest. No ejb.xml. Can you please
> >>send me a sample EJB-marked up class. Is there
> >>something wrong with my source directory? I only have
> >>  src
> >> + ejb
> >> + META-INF
> >>  + MANIFEST.MF
> >> + java
> >>  *Bean.java
> >>
> >>
> >>Is there something  wrong with my directory structure
> >>and the files in it? Why are the two ways behave
> >>differently?
> >>Thanks.
> >>
> >>Janos
> >>
> >>
> >>
> >>
> >>__
> >>Do you Yahoo!?
> >>The all-new My Yahoo! - Get yours free!
> >>http://my.yahoo.com
> >>
> >>
> >>
> >>-
> >>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]
> >
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Pascal

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



Re: XDoclet in Maven

2004-11-18 Thread Jose Gonzalez Gomez
   Pascal,
   I (and all the team) would like, if possible, to install the plugin 
(and the dependencies needed) from the web with minimal intervention. If 
this is not possible, we will download and install manually the plugin 
and the dependencies. I just wanted to know if there is any progress on 
this, as it seemed Eric was going to upload the plugin in a short period 
of time, or this wasn't going to happen, in order to go the manual way.

   Thanks, best regards
   Jose
Pascal Thivent wrote:
Hi,
the maven xdoclet plugin is available in xdoclet distribution.
See 
http://sourceforge.net/project/showfiles.php?group_id=31602&package_id=23635&release_id=277003
On Thu, 18 Nov 2004 13:51:22 +0100, Jose Gonzalez Gomez
<[EMAIL PROTECTED]> wrote:
 

   Eric,
   Any news regarding this? I have taken a look at the web, but I still
cannot find the 1.2.2 version of the plugin.
   Best regards
   Jose

Eric Pugh wrote:
   

I am in the process of updating the XDoclet repository at
http://xdoclet.sf.net/repository.  I have everything bug the newest plugin
uploaded, I ran into an issue with permissions on the filesystem that is
stopping me.  Hopefully everything will be online in the next day or so.
Eric

 

-Original Message-
From: Janos Mucsi [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 11:01 PM
To: Maven Users List; Pascal Thivent
Subject: XDoclet in Maven
Pascal
I set my dependencies exactly like you said. It solved
the class not found problem.
So now if I do

  Generates EJB classes and descriptor
files
  
  
I get:
  [echo] Generates EJB classes and descriptor files
Tag library requested that is not present: 'maven' in
plugin: 'maven-xdoclet-plu
gin-1.2.1'
xdoclet:ejbdoclet:
However, if I define a taskdef like you said:

classname="xdoclet.modules.ejb.EjbDocletTask"
 classpathref="maven.dependency.classpath"/>
  
  
  
  
  
  
  
  
  
  
  
  
I see no errors, however XDoclet does absolutely
nothing. The resulting jar only contains my marked up
class and the manifest. No ejb.xml. Can you please
send me a sample EJB-marked up class. Is there
something wrong with my source directory? I only have
src
   + ejb
   + META-INF
+ MANIFEST.MF
   + java
*Bean.java
Is there something  wrong with my directory structure
and the files in it? Why are the two ways behave
differently?
Thanks.
Janos

__
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com

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

 

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


Re: XDoclet in Maven

2004-11-18 Thread Pascal Thivent
Jose,

as you can see at
http://xdoclet.sourceforge.net/repository/xdoclet/plugins/, the plugin
is still not available in xdoclet repository. I guess Eric still has
some write access problems.

So you can't use for now the plugin:download goal (see a previous mail
for the exact command).

Anyway, installing the plugin is a manual intervention. 

Regarding the needed dependencies, you'll need to add only
dependencies that you would like to use and that are not referenced in
the plugin's project.xml.

Regards,

On Thu, 18 Nov 2004 15:37:32 +0100, Jose Gonzalez Gomez
<[EMAIL PROTECTED]> wrote:
> 
> Pascal,
> 
> I (and all the team) would like, if possible, to install the plugin
> (and the dependencies needed) from the web with minimal intervention. If
> this is not possible, we will download and install manually the plugin
> and the dependencies. I just wanted to know if there is any progress on
> this, as it seemed Eric was going to upload the plugin in a short period
> of time, or this wasn't going to happen, in order to go the manual way.
> 
> Thanks, best regards
> Jose
> 
> 
> 
> Pascal Thivent wrote:
> 
> >Hi,
> >
> >the maven xdoclet plugin is available in xdoclet distribution.
> >
> >See 
> >http://sourceforge.net/project/showfiles.php?group_id=31602&package_id=23635&release_id=277003
> >
> >On Thu, 18 Nov 2004 13:51:22 +0100, Jose Gonzalez Gomez
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >>Eric,
> >>
> >>Any news regarding this? I have taken a look at the web, but I still
> >>cannot find the 1.2.2 version of the plugin.
> >>
> >>Best regards
> >>Jose
> >>
> >>
> >>
> >>Eric Pugh wrote:
> >>
> >>
> >>
> >>>I am in the process of updating the XDoclet repository at
> >>>http://xdoclet.sf.net/repository.  I have everything bug the newest plugin
> >>>uploaded, I ran into an issue with permissions on the filesystem that is
> >>>stopping me.  Hopefully everything will be online in the next day or so.
> >>>
> >>>Eric
> >>>
> >>>
> >>>
> >>>
> >>>
> -Original Message-
> From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 15, 2004 11:01 PM
> To: Maven Users List; Pascal Thivent
> Subject: XDoclet in Maven
> 
> 
> Pascal
> 
> I set my dependencies exactly like you said. It solved
> the class not found problem.
> So now if I do
> 
> 
>    Generates EJB classes and descriptor
> files
>    
>    
> 
> I get:
> 
>    [echo] Generates EJB classes and descriptor files
> Tag library requested that is not present: 'maven' in
> plugin: 'maven-xdoclet-plu
> gin-1.2.1'
> xdoclet:ejbdoclet:
> 
> However, if I define a taskdef like you said:
> 
>  
> classname="xdoclet.modules.ejb.EjbDocletTask"
>   classpathref="maven.dependency.classpath"/>
> 
>   ejbspec="2.0"
>   force="false">
> 
>    
>    
>    
> 
> cacheHomes="true"/>
> 
>    
>    
>    
>    
> 
>    destdir="${ejb.descriptor.dir}"/>
> 
>   xmlencoding="UTF-8"
>   typemapping="Hypersonic SQL"
>   datasource="java:/DefaultDS"
>   destdir="${ejb.descriptor.dir}"/>
> 
>    
> 
> 
> I see no errors, however XDoclet does absolutely
> nothing. The resulting jar only contains my marked up
> class and the manifest. No ejb.xml. Can you please
> send me a sample EJB-marked up class. Is there
> something wrong with my source directory? I only have
>  src
> + ejb
> + META-INF
>  + MANIFEST.MF
> + java
>  *Bean.java
> 
> 
> Is there something  wrong with my directory structure
> and the files in it? Why are the two ways behave
> differently?
> Thanks.
> 
> Janos
> 
> 
> 
> 
> __
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
> 
> 
> 
> -
> 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]
> >>>
> >>>
> >>>
> >>>
> >>>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> 
> 
> -
> 
> 
> 

RE: XDoclet in Maven

2004-11-18 Thread Poppe, Troy

What's the point of a global repository of plugins and libraries if every 
project
has their own repository?

So now, I, as a developer/project maintainer, have to make sure that all my
developers have the right list of repositories in their properties files so they
can update their plugins.

The value of Maven as a tool to simplify things is decreased by imposing this
type of activity on the user.  (Besides, good luck finding the documentation 
that
tells a new user where to get the xdoclet plugin!)

T

-Original Message-
From: Pascal Thivent [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 10:54 AM
To: Maven Users List
Subject: Re: XDoclet in Maven


Jose,

as you can see at http://xdoclet.sourceforge.net/repository/xdoclet/plugins/, 
the
plugin is still not available in xdoclet repository. I guess Eric still has some
write access problems.

So you can't use for now the plugin:download goal (see a previous mail for the
exact command).

Anyway, installing the plugin is a manual intervention. 

Regarding the needed dependencies, you'll need to add only dependencies that you
would like to use and that are not referenced in the plugin's project.xml.

Regards,

On Thu, 18 Nov 2004 15:37:32 +0100, Jose Gonzalez Gomez
<[EMAIL PROTECTED]> wrote:
> 
> Pascal,
> 
> I (and all the team) would like, if possible, to install the 
> plugin (and the dependencies needed) from the web with minimal 
> intervention. If this is not possible, we will download and install 
> manually the plugin and the dependencies. I just wanted to know if 
> there is any progress on this, as it seemed Eric was going to upload 
> the plugin in a short period of time, or this wasn't going to happen, 
> in order to go the manual way.
> 
> Thanks, best regards
> Jose
> 
> 
> 
> Pascal Thivent wrote:
> 
> >Hi,
> >
> >the maven xdoclet plugin is available in xdoclet distribution.
> >
> >See 
> >http://sourceforge.net/project/showfiles.php?group_id=31602&package_i
> >d=23635&release_id=277003
> >
> >On Thu, 18 Nov 2004 13:51:22 +0100, Jose Gonzalez Gomez 
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >>Eric,
> >>
> >>Any news regarding this? I have taken a look at the web, but I 
> >>still cannot find the 1.2.2 version of the plugin.
> >>
> >>Best regards
> >>Jose
> >>
> >>
> >>
> >>Eric Pugh wrote:
> >>
> >>
> >>
> >>>I am in the process of updating the XDoclet repository at 
> >>>http://xdoclet.sf.net/repository.  I have everything bug the newest 
> >>>plugin uploaded, I ran into an issue with permissions on the 
> >>>filesystem that is stopping me.  Hopefully everything will be 
> >>>online in the next day or so.
> >>>
> >>>Eric
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>-Original Message-
> >>>>From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> >>>>Sent: Monday, November 15, 2004 11:01 PM
> >>>>To: Maven Users List; Pascal Thivent
> >>>>Subject: XDoclet in Maven
> >>>>
> >>>>
> >>>>Pascal
> >>>>
> >>>>I set my dependencies exactly like you said. It solved the class 
> >>>>not found problem. So now if I do
> >>>>
> >>>>
> >>>>   Generates EJB classes and descriptor files
> >>>>   
> >>>>   
> >>>>
> >>>>I get:
> >>>>
> >>>>   [echo] Generates EJB classes and descriptor files
> >>>>Tag library requested that is not present: 'maven' in
> >>>>plugin: 'maven-xdoclet-plu
> >>>>gin-1.2.1'
> >>>>xdoclet:ejbdoclet:
> >>>>
> >>>>However, if I define a taskdef like you said:
> >>>>
> >>>> >>>>
> >>>>classname="xdoclet.modules.ejb.EjbDocletTask"
> >>>>  classpathref="maven.dependency.classpath"/>
> >>>>
> >>>>>>>>  ejbspec="2.0"
> >>>>  force="false">
> >>>>
> >>>>   
> >>>>   
> >>>>   
> >>>>
> >>>>>>>>cacheHomes="true"/>
> >>>>

RE: XDoclet in Maven

2004-11-18 Thread Ryan Sonnek
you can put a list of remote repositories in the project.properties.
then every developer doesn't need to specify this.  in my
project.properties I always set it to include maven-plugins.sf.net and
ibiblio since my project depends on plugins/jars from both of these
places.

-Original Message-
From: Poppe, Troy [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 10:23 AM
To: 'Maven Users List'; 'Pascal Thivent'
Subject: RE: XDoclet in Maven



What's the point of a global repository of plugins and libraries if
every project
has their own repository?

So now, I, as a developer/project maintainer, have to make sure that all
my
developers have the right list of repositories in their properties files
so they
can update their plugins.

The value of Maven as a tool to simplify things is decreased by imposing
this
type of activity on the user.  (Besides, good luck finding the
documentation that
tells a new user where to get the xdoclet plugin!)

T

-Original Message-
From: Pascal Thivent [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 10:54 AM
To: Maven Users List
Subject: Re: XDoclet in Maven


Jose,

as you can see at
http://xdoclet.sourceforge.net/repository/xdoclet/plugins/, the
plugin is still not available in xdoclet repository. I guess Eric still
has some
write access problems.

So you can't use for now the plugin:download goal (see a previous mail
for the
exact command).

Anyway, installing the plugin is a manual intervention. 

Regarding the needed dependencies, you'll need to add only dependencies
that you
would like to use and that are not referenced in the plugin's
project.xml.

Regards,

On Thu, 18 Nov 2004 15:37:32 +0100, Jose Gonzalez Gomez
<[EMAIL PROTECTED]> wrote:
> 
> Pascal,
> 
> I (and all the team) would like, if possible, to install the 
> plugin (and the dependencies needed) from the web with minimal 
> intervention. If this is not possible, we will download and install 
> manually the plugin and the dependencies. I just wanted to know if 
> there is any progress on this, as it seemed Eric was going to upload 
> the plugin in a short period of time, or this wasn't going to happen, 
> in order to go the manual way.
> 
> Thanks, best regards
> Jose
> 
> 
> 
> Pascal Thivent wrote:
> 
> >Hi,
> >
> >the maven xdoclet plugin is available in xdoclet distribution.
> >
> >See 
> >http://sourceforge.net/project/showfiles.php?group_id=31602&package_i
> >d=23635&release_id=277003
> >
> >On Thu, 18 Nov 2004 13:51:22 +0100, Jose Gonzalez Gomez 
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >>Eric,
> >>
> >>Any news regarding this? I have taken a look at the web, but I 
> >>still cannot find the 1.2.2 version of the plugin.
> >>
> >>Best regards
> >>Jose
> >>
> >>
> >>
> >>Eric Pugh wrote:
> >>
> >>
> >>
> >>>I am in the process of updating the XDoclet repository at 
> >>>http://xdoclet.sf.net/repository.  I have everything bug the newest

> >>>plugin uploaded, I ran into an issue with permissions on the 
> >>>filesystem that is stopping me.  Hopefully everything will be 
> >>>online in the next day or so.
> >>>
> >>>Eric
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>-Original Message-
> >>>>From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> >>>>Sent: Monday, November 15, 2004 11:01 PM
> >>>>To: Maven Users List; Pascal Thivent
> >>>>Subject: XDoclet in Maven
> >>>>
> >>>>
> >>>>Pascal
> >>>>
> >>>>I set my dependencies exactly like you said. It solved the class 
> >>>>not found problem. So now if I do
> >>>>
> >>>>
> >>>>   Generates EJB classes and descriptor files
> >>>>   
> >>>>   
> >>>>
> >>>>I get:
> >>>>
> >>>>   [echo] Generates EJB classes and descriptor files
> >>>>Tag library requested that is not present: 'maven' in
> >>>>plugin: 'maven-xdoclet-plu
> >>>>gin-1.2.1'
> >>>>xdoclet:ejbdoclet:
> >>>>
> >>>>However, if I define a taskdef like you said:
> >>>>
> >>>> >>>>
> >>>>classname="xdoclet.modules.ejb.EjbDocletTask"
> >>>>  classpathref="maven.dependency.classpath"/

Re: XDoclet in Maven

2004-11-18 Thread Jose Gonzalez Gomez
   Well, you still may have maven.repo.remote defined in your 
project.properties shared among all your developers (we do so), and as 
soon as you can specify a plugin as a dependency (maven 1.1?) there will 
be no problem to keep all the developers' plugins updated.

   Best regards
   Jose
Poppe, Troy wrote:
What's the point of a global repository of plugins and libraries if every 
project
has their own repository?
So now, I, as a developer/project maintainer, have to make sure that all my
developers have the right list of repositories in their properties files so they
can update their plugins.
The value of Maven as a tool to simplify things is decreased by imposing this
type of activity on the user.  (Besides, good luck finding the documentation 
that
tells a new user where to get the xdoclet plugin!)
T
-Original Message-
From: Pascal Thivent [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 10:54 AM
To: Maven Users List
Subject: Re: XDoclet in Maven

Jose,
as you can see at http://xdoclet.sourceforge.net/repository/xdoclet/plugins/, 
the
plugin is still not available in xdoclet repository. I guess Eric still has some
write access problems.
So you can't use for now the plugin:download goal (see a previous mail for the
exact command).
Anyway, installing the plugin is a manual intervention. 

Regarding the needed dependencies, you'll need to add only dependencies that you
would like to use and that are not referenced in the plugin's project.xml.
Regards,
On Thu, 18 Nov 2004 15:37:32 +0100, Jose Gonzalez Gomez
<[EMAIL PROTECTED]> wrote:
 

   Pascal,
   I (and all the team) would like, if possible, to install the 
plugin (and the dependencies needed) from the web with minimal 
intervention. If this is not possible, we will download and install 
manually the plugin and the dependencies. I just wanted to know if 
there is any progress on this, as it seemed Eric was going to upload 
the plugin in a short period of time, or this wasn't going to happen, 
in order to go the manual way.

   Thanks, best regards
   Jose

Pascal Thivent wrote:
   

Hi,
the maven xdoclet plugin is available in xdoclet distribution.
See 
http://sourceforge.net/project/showfiles.php?group_id=31602&package_i
d=23635&release_id=277003

On Thu, 18 Nov 2004 13:51:22 +0100, Jose Gonzalez Gomez 
<[EMAIL PROTECTED]> wrote:

 

  Eric,
  Any news regarding this? I have taken a look at the web, but I 
still cannot find the 1.2.2 version of the plugin.

  Best regards
  Jose

Eric Pugh wrote:

   

I am in the process of updating the XDoclet repository at 
http://xdoclet.sf.net/repository.  I have everything bug the newest 
plugin uploaded, I ran into an issue with permissions on the 
filesystem that is stopping me.  Hopefully everything will be 
online in the next day or so.

Eric


 

-Original Message-
From: Janos Mucsi [mailto:[EMAIL PROTECTED]
Sent: Monday, November 15, 2004 11:01 PM
To: Maven Users List; Pascal Thivent
Subject: XDoclet in Maven
Pascal
I set my dependencies exactly like you said. It solved the class 
not found problem. So now if I do


 Generates EJB classes and descriptor files
 
 
I get:
 [echo] Generates EJB classes and descriptor files
Tag library requested that is not present: 'maven' in
plugin: 'maven-xdoclet-plu
gin-1.2.1'
xdoclet:ejbdoclet:
However, if I define a taskdef like you said:

classname="xdoclet.modules.ejb.EjbDocletTask"
classpathref="maven.dependency.classpath"/>
 
 
 
 
 
 
 
 
 
 
 
 
I see no errors, however XDoclet does absolutely
nothing. The resulting jar only contains my marked up class and 
the manifest. No ejb.xml. Can you please send me a sample 
EJB-marked up class. Is there something wrong with my source 
directory? I only have  src
  + ejb
  + META-INF
   + MANIFEST.MF
  + java
   *Bean.java

Is there something  wrong with my directory structure
and the files in it? Why are the two ways behave differently?
Thanks.
Janos

__
Do you Yahoo!?
The all-new My Yahoo! - Get yours free! http://my.yahoo.com

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


 


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

 


---

Re: XDoclet in Maven

2004-11-18 Thread Pascal Thivent
>From my point of view, this is a configuration management issue that
should be addressed with a SCM tool.

On Thu, 18 Nov 2004 17:24:19 +0100, Jose Gonzalez Gomez
<[EMAIL PROTECTED]> wrote:
> 
> Well, you still may have maven.repo.remote defined in your
> project.properties shared among all your developers (we do so), and as
> soon as you can specify a plugin as a dependency (maven 1.1?) there will
> be no problem to keep all the developers' plugins updated.
> 
> Best regards
> Jose
> 
> 
> 
> Poppe, Troy wrote:
> 
> >What's the point of a global repository of plugins and libraries if every 
> >project
> >has their own repository?
> >
> >So now, I, as a developer/project maintainer, have to make sure that all my
> >developers have the right list of repositories in their properties files so 
> >they
> >can update their plugins.
> >
> >The value of Maven as a tool to simplify things is decreased by imposing this
> >type of activity on the user.  (Besides, good luck finding the documentation 
> >that
> >tells a new user where to get the xdoclet plugin!)
> >
> >T
> >
> >-----Original Message-
> >From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, November 18, 2004 10:54 AM
> >To: Maven Users List
> >Subject: Re: XDoclet in Maven
> >
> >
> >Jose,
> >
> >as you can see at 
> >http://xdoclet.sourceforge.net/repository/xdoclet/plugins/, the
> >plugin is still not available in xdoclet repository. I guess Eric still has 
> >some
> >write access problems.
> >
> >So you can't use for now the plugin:download goal (see a previous mail for 
> >the
> >exact command).
> >
> >Anyway, installing the plugin is a manual intervention.
> >
> >Regarding the needed dependencies, you'll need to add only dependencies that 
> >you
> >would like to use and that are not referenced in the plugin's project.xml.
> >
> >Regards,
> >
> >On Thu, 18 Nov 2004 15:37:32 +0100, Jose Gonzalez Gomez
> ><[EMAIL PROTECTED]> wrote:
> >
> >
> >>Pascal,
> >>
> >>I (and all the team) would like, if possible, to install the
> >>plugin (and the dependencies needed) from the web with minimal
> >>intervention. If this is not possible, we will download and install
> >>manually the plugin and the dependencies. I just wanted to know if
> >>there is any progress on this, as it seemed Eric was going to upload
> >>the plugin in a short period of time, or this wasn't going to happen,
> >>in order to go the manual way.
> >>
> >>Thanks, best regards
> >>Jose
> >>
> >>
> >>
> >>Pascal Thivent wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>
> >>>the maven xdoclet plugin is available in xdoclet distribution.
> >>>
> >>>See
> >>>http://sourceforge.net/project/showfiles.php?group_id=31602&package_i
> >>>d=23635&release_id=277003
> >>>
> >>>On Thu, 18 Nov 2004 13:51:22 +0100, Jose Gonzalez Gomez
> >>><[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>   Eric,
> >>>>
> >>>>   Any news regarding this? I have taken a look at the web, but I
> >>>>still cannot find the 1.2.2 version of the plugin.
> >>>>
> >>>>   Best regards
> >>>>   Jose
> >>>>
> >>>>
> >>>>
> >>>>Eric Pugh wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>I am in the process of updating the XDoclet repository at
> >>>>>http://xdoclet.sf.net/repository.  I have everything bug the newest
> >>>>>plugin uploaded, I ran into an issue with permissions on the
> >>>>>filesystem that is stopping me.  Hopefully everything will be
> >>>>>online in the next day or so.
> >>>>>
> >>>>>Eric
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>-Original Message-
> >>>>>>From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> >>>>>>Sent: Monday, November 15, 2004 11:01 PM
> >>>>>>To: Maven Users List; Pas

RE: XDoclet in Maven

2004-11-18 Thread Eric Pugh
I am working on getting the plugin up on XDoclet's repo (file system
permission problems).

If you could contribute a patch on the xdoclet-dev list with better
documentation, that would be great.

Also, what would help is if you can submit some fileupload requests for the
various XDoclet jars [1].  That's what is great about open source, we can
all contribute and we can directly help fix the things that bug us.

Eric

[1] http://maven.apache.org/repository-upload.html

> -Original Message-
> From: Poppe, Troy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 4:23 PM
> To: 'Maven Users List'; 'Pascal Thivent'
> Subject: RE: XDoclet in Maven
>
>
>
> What's the point of a global repository of plugins and libraries
> if every project
> has their own repository?
>
> So now, I, as a developer/project maintainer, have to make sure
> that all my
> developers have the right list of repositories in their
> properties files so they
> can update their plugins.
>
> The value of Maven as a tool to simplify things is decreased by
> imposing this
> type of activity on the user.  (Besides, good luck finding the
> documentation that
> tells a new user where to get the xdoclet plugin!)
>
> T
>
> -Original Message-
> From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 18, 2004 10:54 AM
> To: Maven Users List
> Subject: Re: XDoclet in Maven
>
>
> Jose,
>
> as you can see at
> http://xdoclet.sourceforge.net/repository/xdoclet/plugins/, the
> plugin is still not available in xdoclet repository. I guess Eric
> still has some
> write access problems.
>
> So you can't use for now the plugin:download goal (see a previous
> mail for the
> exact command).
>
> Anyway, installing the plugin is a manual intervention.
>
> Regarding the needed dependencies, you'll need to add only
> dependencies that you
> would like to use and that are not referenced in the plugin's project.xml.
>
> Regards,
>
> On Thu, 18 Nov 2004 15:37:32 +0100, Jose Gonzalez Gomez
> <[EMAIL PROTECTED]> wrote:
> >
> > Pascal,
> >
> > I (and all the team) would like, if possible, to install the
> > plugin (and the dependencies needed) from the web with minimal
> > intervention. If this is not possible, we will download and install
> > manually the plugin and the dependencies. I just wanted to know if
> > there is any progress on this, as it seemed Eric was going to upload
> > the plugin in a short period of time, or this wasn't going to happen,
> > in order to go the manual way.
> >
> > Thanks, best regards
> > Jose
> >
> >
> >
> > Pascal Thivent wrote:
> >
> > >Hi,
> > >
> > >the maven xdoclet plugin is available in xdoclet distribution.
> > >
> > >See
> > >http://sourceforge.net/project/showfiles.php?group_id=31602&package_i
> > >d=23635&release_id=277003
> > >
> > >On Thu, 18 Nov 2004 13:51:22 +0100, Jose Gonzalez Gomez
> > ><[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >>Eric,
> > >>
> > >>Any news regarding this? I have taken a look at the web, but I
> > >>still cannot find the 1.2.2 version of the plugin.
> > >>
> > >>Best regards
> > >>Jose
> > >>
> > >>
> > >>
> > >>Eric Pugh wrote:
> > >>
> > >>
> > >>
> > >>>I am in the process of updating the XDoclet repository at
> > >>>http://xdoclet.sf.net/repository.  I have everything bug the newest
> > >>>plugin uploaded, I ran into an issue with permissions on the
> > >>>filesystem that is stopping me.  Hopefully everything will be
> > >>>online in the next day or so.
> > >>>
> > >>>Eric
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>-Original Message-
> > >>>>From: Janos Mucsi [mailto:[EMAIL PROTECTED]
> > >>>>Sent: Monday, November 15, 2004 11:01 PM
> > >>>>To: Maven Users List; Pascal Thivent
> > >>>>Subject: XDoclet in Maven
> > >>>>
> > >>>>
> > >>>>Pascal
> > >>>>
> > >>>>I set my dependencies exactly like you said. It solved the class
> > >>>>not found problem. So now if I do
> > >>>>
> > >>>>
>

[OT] Re: XDoclet in Maven

2004-11-13 Thread Pascal Thivent
Hi,

I've upgraded my maven-xdoclet-plugin and my various xdoclet modules
dependencies to version 1.2.2. EJBs classes and hibernate mappings
generation works fine.

Thanks.

On Sat, 13 Nov 2004 12:47:53 -, Eric Pugh <[EMAIL PROTECTED]> wrote:
> Have you tried with the latest and greatest of xdoclet?  1.2.2 was released,
> and had many improvements and cleanups applied to the Maven plugin.
> 
> 
> 
> > -Original Message-
> > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, November 13, 2004 6:32 AM
> > To: Maven Users List
> > Subject: Re: XDoclet in Maven
> >
> >
> > Hi,
> >
> > in deed, you made a lot of progress since the first mail. Lets try to
> > tackle all pending issues.
> >
> > I'm not using the EjbDocletTask directly but use rather the maven
> > xdoclet goal. So I have this in my maven.xml :
> >
> > 
> > Generates EJB classes and descriptor files
> > 
> > 
> >
> > And the following dependency in my project.xml (it's enough for what
> > i'm doing for now) :
> >
> > 
> >   xdoclet
> >   xdoclet-ejb-module
> >   1.2.1
> >   jar
> >   
> > false
> >   
> > 
> >
> > And this *works fine* (other potentially required libraries such as
> > commons-collections, commons-logging, log4j are not mentionned here).
> >
> > Anyway, it's also possible to use directly an ant task from maven, as
> > you are trying to do. I've tried to reproduce you configuration and
> > replaced the content of my pregoal with :
> >
> > 
> >>name="ejbdoclet"
> >classname="xdoclet.modules.ejb.EjbDocletTask"
> >classpathref="maven.dependency.classpath" />
> > 
> >
> > This won't do anything more than adding a task definition to the
> > current project, you still need to call it then (see for example :
> > http://tinyurl.com/4xfw7 or xdoclet web site) but it is enough to fix
> > potential classpath issues.
> >
> > When running maven with the dependencies mentionned above, I get the
> > following trace :
> >
> > BUILD FAILED
> > File.. E:\myprojects\cauldron\modules\biz\maven.xml
> > Element... taskdef
> > Line.. 24
> > Column 50
> > taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> > Total time: 12 seconds
> > Finished at: Sat Nov 13 06:53:01 CET 2004
> >
> > This is surprising as everything was working fine with the
> > xdoclet:ejbdoclet goal. I'm for sure missing now some dependencies
> > that the maven-xdoclet-plugin has. When running maven with the -X
> > option, I get the  :
> >
> > BUILD FAILED
> > File.. E:\myprojects\cauldron\modules\biz\maven.xml
> > Element... taskdef
> > Line.. 24
> > Column 50
> > taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> > com.werken.werkz.UnattainableGoalException: Unable to obtain goal
> > [cauldron:dist
> > ] -- E:\myprojects\cauldron\modules\biz\maven.xml:24:50:
> >  taskdef class
> >  xdoclet.modules.ejb.EjbDocletTask cannot be found
> >
> > [...]
> >
> > --- Nested Exception ---
> > java.lang.NoClassDefFoundError: xdoclet/DocletTask
> >
> > [...]
> >
> > No possible doubts, I'm missing some dependencies. Let's try it again
> > with the following set (after a first try with just xdoclet added, I
> > saw that xjavadoc was required too) :
> >
> > 
> >   xdoclet
> >   xdoclet-ejb-module
> >   1.2.1
> >   jar
> > 
> > 
> >   xdoclet
> >   xdoclet
> >   1.2.1
> > 
> > 
> >   xdoclet
> >   xjavadoc
> >   1.0.3
> > 
> >
> > Ok, this time, the EjbDocletTask has been properly loaded, everyting
> > is fine. Would just have to do some stuff with it now :)
> >
> > You should be able to get it wotking too now.
> >
> > I don't know if you have any preferences but I suggest to use the
> > maven-xdoclet-plugin and the xdoclet:ejbdoclet goal directly. The
> > maven-xodlet-plugin team is already adding the EjbDocletTask
> > definition so I prefer to not duplicate (and maintain !) this code in
> > my scripts.
> >
> > On Fri, 12 Nov 2004 17:22:17 -0800 (PST), Janos Mucsi
> > <[EMAIL PROTECTED]> wrote:
> > >
>

Re: [OT] Re: XDoclet in Maven

2004-11-13 Thread Pascal Thivent
Actually, the maven xdoclet plugin has all xdoclet required
dependencies in its project.xml so I don't have to manage them
anymore.

Thus, I would recommand more than ever to use the maven-xdoclet-plugin
rather than xdoclet ant tasks directly (for the same reason as
mentionned in a previous mail : maintainability).

On Sat, 13 Nov 2004 20:47:38 -0100, Pascal Thivent
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've upgraded my maven-xdoclet-plugin and my various xdoclet modules
> dependencies to version 1.2.2. EJBs classes and hibernate mappings
> generation works fine.
> 
> Thanks.
> 
> 
> 
> On Sat, 13 Nov 2004 12:47:53 -, Eric Pugh <[EMAIL PROTECTED]> wrote:
> > Have you tried with the latest and greatest of xdoclet?  1.2.2 was released,
> > and had many improvements and cleanups applied to the Maven plugin.
> >
> >
> >
> > > -Original Message-
> > > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > > Sent: Saturday, November 13, 2004 6:32 AM
> > > To: Maven Users List
> > > Subject: Re: XDoclet in Maven
> > >
> > >
> > > Hi,
> > >
> > > in deed, you made a lot of progress since the first mail. Lets try to
> > > tackle all pending issues.
> > >
> > > I'm not using the EjbDocletTask directly but use rather the maven
> > > xdoclet goal. So I have this in my maven.xml :
> > >
> > > 
> > > Generates EJB classes and descriptor files
> > > 
> > > 
> > >
> > > And the following dependency in my project.xml (it's enough for what
> > > i'm doing for now) :
> > >
> > > 
> > >   xdoclet
> > >   xdoclet-ejb-module
> > >   1.2.1
> > >   jar
> > >   
> > > false
> > >   
> > > 
> > >
> > > And this *works fine* (other potentially required libraries such as
> > > commons-collections, commons-logging, log4j are not mentionned here).
> > >
> > > Anyway, it's also possible to use directly an ant task from maven, as
> > > you are trying to do. I've tried to reproduce you configuration and
> > > replaced the content of my pregoal with :
> > >
> > > 
> > >> >name="ejbdoclet"
> > >classname="xdoclet.modules.ejb.EjbDocletTask"
> > >classpathref="maven.dependency.classpath" />
> > > 
> > >
> > > This won't do anything more than adding a task definition to the
> > > current project, you still need to call it then (see for example :
> > > http://tinyurl.com/4xfw7 or xdoclet web site) but it is enough to fix
> > > potential classpath issues.
> > >
> > > When running maven with the dependencies mentionned above, I get the
> > > following trace :
> > >
> > > BUILD FAILED
> > > File.. E:\myprojects\cauldron\modules\biz\maven.xml
> > > Element... taskdef
> > > Line.. 24
> > > Column 50
> > > taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> > > Total time: 12 seconds
> > > Finished at: Sat Nov 13 06:53:01 CET 2004
> > >
> > > This is surprising as everything was working fine with the
> > > xdoclet:ejbdoclet goal. I'm for sure missing now some dependencies
> > > that the maven-xdoclet-plugin has. When running maven with the -X
> > > option, I get the  :
> > >
> > > BUILD FAILED
> > > File.. E:\myprojects\cauldron\modules\biz\maven.xml
> > > Element... taskdef
> > > Line.. 24
> > > Column 50
> > > taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> > > com.werken.werkz.UnattainableGoalException: Unable to obtain goal
> > > [cauldron:dist
> > > ] -- E:\myprojects\cauldron\modules\biz\maven.xml:24:50:
> > >  taskdef class
> > >  xdoclet.modules.ejb.EjbDocletTask cannot be found
> > >
> > > [...]
> > >
> > > --- Nested Exception ---
> > > java.lang.NoClassDefFoundError: xdoclet/DocletTask
> > >
> > > [...]
> > >
> > > No possible doubts, I'm missing some dependencies. Let's try it again
> > > with the following set (after a first try with just xdoclet added, I
> > > saw that xjavadoc was required too) :
> > >
> > > 
> > >   xdoclet
> > >   xdoclet-ejb-module
> > 

RE: [OT] Re: XDoclet in Maven

2004-11-14 Thread Eric Pugh
I'm glad you like the new "all in one" aspect in 1.2.2 ;-).

Note though, I only added the most common dependencies.  I thought about
adding all of them, but was worried it would make anyone using the plugin
have to download a massive number of dependencies when they only need one.
However, if people find there are some specific ones they would like added,
hollar on the xdoclet-dev list.

Eric

> -Original Message-
> From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 13, 2004 10:19 PM
> To: [EMAIL PROTECTED]; Maven Users List
> Subject: Re: [OT] Re: XDoclet in Maven
>
>
> Actually, the maven xdoclet plugin has all xdoclet required
> dependencies in its project.xml so I don't have to manage them
> anymore.
>
> Thus, I would recommand more than ever to use the maven-xdoclet-plugin
> rather than xdoclet ant tasks directly (for the same reason as
> mentionned in a previous mail : maintainability).
>
> On Sat, 13 Nov 2004 20:47:38 -0100, Pascal Thivent
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've upgraded my maven-xdoclet-plugin and my various xdoclet modules
> > dependencies to version 1.2.2. EJBs classes and hibernate mappings
> > generation works fine.
> >
> > Thanks.
> >
> >
> >
> > On Sat, 13 Nov 2004 12:47:53 -, Eric Pugh <[EMAIL PROTECTED]> wrote:
> > > Have you tried with the latest and greatest of xdoclet?
> 1.2.2 was released,
> > > and had many improvements and cleanups applied to the Maven plugin.
> > >
> > >
> > >
> > > > -Original Message-
> > > > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > > > Sent: Saturday, November 13, 2004 6:32 AM
> > > > To: Maven Users List
> > > > Subject: Re: XDoclet in Maven
> > > >
> > > >
> > > > Hi,
> > > >
> > > > in deed, you made a lot of progress since the first mail.
> Lets try to
> > > > tackle all pending issues.
> > > >
> > > > I'm not using the EjbDocletTask directly but use rather the maven
> > > > xdoclet goal. So I have this in my maven.xml :
> > > >
> > > > 
> > > > Generates EJB classes and descriptor files
> > > > 
> > > > 
> > > >
> > > > And the following dependency in my project.xml (it's enough for what
> > > > i'm doing for now) :
> > > >
> > > > 
> > > >   xdoclet
> > > >   xdoclet-ejb-module
> > > >   1.2.1
> > > >   jar
> > > >   
> > > > false
> > > >   
> > > > 
> > > >
> > > > And this *works fine* (other potentially required libraries such as
> > > > commons-collections, commons-logging, log4j are not
> mentionned here).
> > > >
> > > > Anyway, it's also possible to use directly an ant task from
> maven, as
> > > > you are trying to do. I've tried to reproduce you configuration and
> > > > replaced the content of my pregoal with :
> > > >
> > > > 
> > > >> > >name="ejbdoclet"
> > > >classname="xdoclet.modules.ejb.EjbDocletTask"
> > > >classpathref="maven.dependency.classpath" />
> > > > 
> > > >
> > > > This won't do anything more than adding a task definition to the
> > > > current project, you still need to call it then (see for example :
> > > > http://tinyurl.com/4xfw7 or xdoclet web site) but it is
> enough to fix
> > > > potential classpath issues.
> > > >
> > > > When running maven with the dependencies mentionned above, I get the
> > > > following trace :
> > > >
> > > > BUILD FAILED
> > > > File.. E:\myprojects\cauldron\modules\biz\maven.xml
> > > > Element... taskdef
> > > > Line.. 24
> > > > Column 50
> > > > taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> > > > Total time: 12 seconds
> > > > Finished at: Sat Nov 13 06:53:01 CET 2004
> > > >
> > > > This is surprising as everything was working fine with the
> > > > xdoclet:ejbdoclet goal. I'm for sure missing now some dependencies
> > > > that the maven-xdoclet-plugin has. When running ma

RE: [OT] Re: XDoclet in Maven

2004-11-14 Thread Arnaud HERITIER
Did you find xdoclet 1.2.2 on a repository like ibiblio ??
I didn't find it. I must install it locally myself :-(

Arnaud

> -Message d'origine-
> De : Eric Pugh [mailto:[EMAIL PROTECTED]
> Envoyé : dimanche 14 novembre 2004 17:22
> À : Pascal Thivent; [EMAIL PROTECTED]; Maven Users List
> Objet : RE: [OT] Re: XDoclet in Maven
> 
> I'm glad you like the new "all in one" aspect in 1.2.2 ;-).
> 
> Note though, I only added the most common dependencies.  I thought about
> adding all of them, but was worried it would make anyone using the plugin
> have to download a massive number of dependencies when they only need one.
> However, if people find there are some specific ones they would like added,
> hollar on the xdoclet-dev list.
> 
> Eric
> 
> > -Original Message-
> > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, November 13, 2004 10:19 PM
> > To: [EMAIL PROTECTED]; Maven Users List
> > Subject: Re: [OT] Re: XDoclet in Maven
> >
> >
> > Actually, the maven xdoclet plugin has all xdoclet required
> > dependencies in its project.xml so I don't have to manage them
> > anymore.
> >
> > Thus, I would recommand more than ever to use the maven-xdoclet-plugin
> > rather than xdoclet ant tasks directly (for the same reason as
> > mentionned in a previous mail : maintainability).
> >
> > On Sat, 13 Nov 2004 20:47:38 -0100, Pascal Thivent
> > <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I've upgraded my maven-xdoclet-plugin and my various xdoclet modules
> > > dependencies to version 1.2.2. EJBs classes and hibernate mappings
> > > generation works fine.
> > >
> > > Thanks.
> > >
> > >
> > >
> > > On Sat, 13 Nov 2004 12:47:53 -, Eric Pugh <[EMAIL PROTECTED]> wrote:
> > > > Have you tried with the latest and greatest of xdoclet?
> > 1.2.2 was released,
> > > > and had many improvements and cleanups applied to the Maven plugin.
> > > >
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > > > > Sent: Saturday, November 13, 2004 6:32 AM
> > > > > To: Maven Users List
> > > > > Subject: Re: XDoclet in Maven
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > > in deed, you made a lot of progress since the first mail.
> > Lets try to
> > > > > tackle all pending issues.
> > > > >
> > > > > I'm not using the EjbDocletTask directly but use rather the maven
> > > > > xdoclet goal. So I have this in my maven.xml :
> > > > >
> > > > > 
> > > > > Generates EJB classes and descriptor files
> > > > > 
> > > > > 
> > > > >
> > > > > And the following dependency in my project.xml (it's enough for what
> > > > > i'm doing for now) :
> > > > >
> > > > > 
> > > > >   xdoclet
> > > > >   xdoclet-ejb-module
> > > > >   1.2.1
> > > > >   jar
> > > > >   
> > > > > false
> > > > >   
> > > > > 
> > > > >
> > > > > And this *works fine* (other potentially required libraries such as
> > > > > commons-collections, commons-logging, log4j are not
> > mentionned here).
> > > > >
> > > > > Anyway, it's also possible to use directly an ant task from
> > maven, as
> > > > > you are trying to do. I've tried to reproduce you configuration and
> > > > > replaced the content of my pregoal with :
> > > > >
> > > > > 
> > > > >> > > >name="ejbdoclet"
> > > > >classname="xdoclet.modules.ejb.EjbDocletTask"
> > > > >classpathref="maven.dependency.classpath" />
> > > > > 
> > > > >
> > > > > This won't do anything more than adding a task definition to the
> > > > > current project, you still need to call it then (see for example :
> > > > > http://tinyurl.com/4xfw7 or xdoclet web site) but it is
> > enough to fix
> > > > > potential classpath issues.
> &g

Re: [OT] Re: XDoclet in Maven

2004-11-15 Thread Corey Scott
Arnaud,

There is a line on the xdoclet site (although it isnt as obvious and
maybe it should be) but you can add the xdoclet maven repository to
you maven.repo.remote setting and this should take care of downloading
everything you need.

Your build.properties (or similar) may end up something like the following:
maven.repo.remote=http://www.ibiblio.org/maven/,http://xdoclet.sourceforge.net/repository/

Hope this helps,
Corey

On Sun, 14 Nov 2004 17:41:48 +0100, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> Did you find xdoclet 1.2.2 on a repository like ibiblio ??
> I didn't find it. I must install it locally myself :-(
> 
> Arnaud
> 
> > -Message d'origine-
> > De : Eric Pugh [mailto:[EMAIL PROTECTED]
> > Envoyé : dimanche 14 novembre 2004 17:22
> > À : Pascal Thivent; [EMAIL PROTECTED]; Maven Users List
> > Objet : RE: [OT] Re: XDoclet in Maven
> 
> 
> >
> > I'm glad you like the new "all in one" aspect in 1.2.2 ;-).
> >
> > Note though, I only added the most common dependencies.  I thought about
> > adding all of them, but was worried it would make anyone using the plugin
> > have to download a massive number of dependencies when they only need one.
> > However, if people find there are some specific ones they would like added,
> > hollar on the xdoclet-dev list.
> >
> > Eric
> >
> > > -Original Message-
> > > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > > Sent: Saturday, November 13, 2004 10:19 PM
> > > To: [EMAIL PROTECTED]; Maven Users List
> > > Subject: Re: [OT] Re: XDoclet in Maven
> > >
> > >
> > > Actually, the maven xdoclet plugin has all xdoclet required
> > > dependencies in its project.xml so I don't have to manage them
> > > anymore.
> > >
> > > Thus, I would recommand more than ever to use the maven-xdoclet-plugin
> > > rather than xdoclet ant tasks directly (for the same reason as
> > > mentionned in a previous mail : maintainability).
> > >
> > > On Sat, 13 Nov 2004 20:47:38 -0100, Pascal Thivent
> > > <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > I've upgraded my maven-xdoclet-plugin and my various xdoclet modules
> > > > dependencies to version 1.2.2. EJBs classes and hibernate mappings
> > > > generation works fine.
> > > >
> > > > Thanks.
> > > >
> > > >
> > > >
> > > > On Sat, 13 Nov 2004 12:47:53 -0000, Eric Pugh <[EMAIL PROTECTED]> wrote:
> > > > > Have you tried with the latest and greatest of xdoclet?
> > > 1.2.2 was released,
> > > > > and had many improvements and cleanups applied to the Maven plugin.
> > > > >
> > > > >
> > > > >
> > > > > > -Original Message-
> > > > > > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > > > > > Sent: Saturday, November 13, 2004 6:32 AM
> > > > > > To: Maven Users List
> > > > > > Subject: Re: XDoclet in Maven
> > > > > >
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > in deed, you made a lot of progress since the first mail.
> > > Lets try to
> > > > > > tackle all pending issues.
> > > > > >
> > > > > > I'm not using the EjbDocletTask directly but use rather the maven
> > > > > > xdoclet goal. So I have this in my maven.xml :
> > > > > >
> > > > > > 
> > > > > > Generates EJB classes and descriptor files
> > > > > > 
> > > > > > 
> > > > > >
> > > > > > And the following dependency in my project.xml (it's enough for what
> > > > > > i'm doing for now) :
> > > > > >
> > > > > > 
> > > > > >   xdoclet
> > > > > >   xdoclet-ejb-module
> > > > > >   1.2.1
> > > > > >   jar
> > > > > >   
> > > > > > false
> > > > > >   
> > > > > > 
> > > > > >
> > > > > > And this *works fine* (other potentially required libraries such as
> > > > > > commons-collections, commons-logging, log4j are not
> > > mentionned here).
> > > > > >
&

Re: [OT] Re: XDoclet in Maven

2004-11-15 Thread Arnaud HERITIER
Thanks Corey,

I saw this but there's only the 1.2.1 release on this repository.
Do you know if there's something planned to publish the 1.2.2 ??

Arnaud


On Tue, 16 Nov 2004 00:27:10 +0800, Corey Scott <[EMAIL PROTECTED]> wrote:
> Arnaud,
> 
> There is a line on the xdoclet site (although it isnt as obvious and
> maybe it should be) but you can add the xdoclet maven repository to
> you maven.repo.remote setting and this should take care of downloading
> everything you need.
> 
> Your build.properties (or similar) may end up something like the following:
> maven.repo.remote=http://www.ibiblio.org/maven/,http://xdoclet.sourceforge.net/repository/
> 
> Hope this helps,
> Corey
> 
> 
> 
> On Sun, 14 Nov 2004 17:41:48 +0100, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> > Did you find xdoclet 1.2.2 on a repository like ibiblio ??
> > I didn't find it. I must install it locally myself :-(
> >
> > Arnaud
> >
> > > -Message d'origine-
> > > De : Eric Pugh [mailto:[EMAIL PROTECTED]
> > > Envoyé : dimanche 14 novembre 2004 17:22
> > > À : Pascal Thivent; [EMAIL PROTECTED]; Maven Users List
> > > Objet : RE: [OT] Re: XDoclet in Maven
> >
> >
> > >
> > > I'm glad you like the new "all in one" aspect in 1.2.2 ;-).
> > >
> > > Note though, I only added the most common dependencies.  I thought about
> > > adding all of them, but was worried it would make anyone using the plugin
> > > have to download a massive number of dependencies when they only need one.
> > > However, if people find there are some specific ones they would like 
> > > added,
> > > hollar on the xdoclet-dev list.
> > >
> > > Eric
> > >
> > > > -Original Message-
> > > > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > > > Sent: Saturday, November 13, 2004 10:19 PM
> > > > To: [EMAIL PROTECTED]; Maven Users List
> > > > Subject: Re: [OT] Re: XDoclet in Maven
> > > >
> > > >
> > > > Actually, the maven xdoclet plugin has all xdoclet required
> > > > dependencies in its project.xml so I don't have to manage them
> > > > anymore.
> > > >
> > > > Thus, I would recommand more than ever to use the maven-xdoclet-plugin
> > > > rather than xdoclet ant tasks directly (for the same reason as
> > > > mentionned in a previous mail : maintainability).
> > > >
> > > > On Sat, 13 Nov 2004 20:47:38 -0100, Pascal Thivent
> > > > <[EMAIL PROTECTED]> wrote:
> > > > > Hi,
> > > > >
> > > > > I've upgraded my maven-xdoclet-plugin and my various xdoclet modules
> > > > > dependencies to version 1.2.2. EJBs classes and hibernate mappings
> > > > > generation works fine.
> > > > >
> > > > > Thanks.
> > > > >
> > > > >
> > > > >
> > > > > On Sat, 13 Nov 2004 12:47:53 -, Eric Pugh <[EMAIL PROTECTED]> 
> > > > > wrote:
> > > > > > Have you tried with the latest and greatest of xdoclet?
> > > > 1.2.2 was released,
> > > > > > and had many improvements and cleanups applied to the Maven plugin.
> > > > > >
> > > > > >
> > > > > >
> > > > > > > -Original Message-
> > > > > > > From: Pascal Thivent [mailto:[EMAIL PROTECTED]
> > > > > > > Sent: Saturday, November 13, 2004 6:32 AM
> > > > > > > To: Maven Users List
> > > > > > > Subject: Re: XDoclet in Maven
> > > > > > >
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > in deed, you made a lot of progress since the first mail.
> > > > Lets try to
> > > > > > > tackle all pending issues.
> > > > > > >
> > > > > > > I'm not using the EjbDocletTask directly but use rather the maven
> > > > > > > xdoclet goal. So I have this in my maven.xml :
> > > > > > >
> > > > > > > 
> > > > > > > Generates EJB classes and descriptor files
> > > > > > > 
> > > > > > > 
> > > > > > >
> > > > > > > And the following dependency in my project.xml (i

Re: XDoclet in Maven - almost good

2004-11-16 Thread Pascal Thivent
The plugin doesn't seem to be installed. Refer to previous mail to install it.

On Mon, 15 Nov 2004 19:35:17 -0800 (PST), Janos Mucsi <[EMAIL PROTECTED]> wrote:
> I cleaned out the cache so everything was downloaded
> very well, I am still getting the following error:

This has nothing to do with the clean of the plugins cache. Jars have
been downloaded because you added them as dependencies.

> 
> C:\temp\eclipse\PlutoApp\modules\everest-module-registration>maven
> ejb:install
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.1
> 
> Attempting to download xdoclet-ejb-module-1.2.2.jar.
> 206K downloaded
> Attempting to download xdoclet-1.2.2.jar.
> 143K downloaded
> Attempting to download xjavadoc-1.0.3.jar.
> 229K downloaded
> Attempting to download
> xdoclet-hibernate-module-1.2.2.jar.
> 46K downloaded
> Attempting to download xdoclet-jboss-module-1.2.jar.
> 84K downloaded
> Tag library requested that is not present: 'doc' in
> plugin: 'maven-ejb-plugin-1.
> 5'
> build:start:
> 
> ejb:init:
> java:prepare-filesystem:
> 
> java:compile:
> [echo] Generates EJB classes and descriptor files
> 
> BUILD FAILED
> File..
> C:\temp\eclipse\PlutoApp\modules\everest-module-registration\maven.xm
> l
> Element... attainGoal
> Line.. 8
> Column 51
> No goal [xdoclet:ejbdoclet]

Install maven xdoclet plugin.

> 
> In maven.xml I have:
> 
> 
> Generates EJB classes and descriptor
> files
> 
> 
> 
> In project.xml how many dependencies must I declare?
> From the previous postings I gathered that one is
> enough?
> I currently have these:
> 
> 
> xdoclet
> 
> xdoclet-ejb-module
> 1.2.2
> jar
> 
> 
> false
> 
>   
>
> xdoclet
> xdoclet
> 1.2.2
> 
> 
> 
> xdoclet
> xjavadoc
> 1.0.3
> 
> 
>
> xdoclet
> 
> xdoclet-hibernate-module
> 1.2.2
> 
> 
> 
> xdoclet
> 
> xdoclet-jboss-module
> 1.2
> 
> 
> 

It's not required to declare these dependencies if you install the
maven xdoclet plugin 1.2.2

> Thanks!
> Janos
> 
> __
> Do you Yahoo!?
> The all-new My Yahoo! - Get yours free!
> http://my.yahoo.com
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
Pascal

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