Re: Using XDoclet2 Hibernate with Maven2

2006-01-06 Thread HMolina
Example :

  
org.codehaus.mojo
xdoclet-maven-plugin

  
generate-sources

  xdoclet


  

  

  
  


  


  
  

  

  

  

Saludos


Ing. Henry Molina
CONSULTOR INFORMATICO PNUD-IESS



"Darryl L. Pierce" <[EMAIL PROTECTED]> 
06/01/2006 15:14
Por favor, responda a
"Maven Users List" 


Para
Maven Users List 
cc

Asunto
Using XDoclet2 Hibernate with Maven2






I'm trying to quickly ramp up and use Maven2 on my project. I'm familiar 
with XDoclet and have used it with Ant previously. My team is bringing 
Maven2 into the project and I'm tasked with moving our XDoclet stuff 
over. However, I can't find any documentation that shows how to 
configure Hibernate in the pom.xml file (I did find the XDoclet2 Maven2 
plugin page) and call it with Maven2.

Any help is greatly appreciated.

-- 
Darryl L. Pierce <[EMAIL PROTECTED]>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly, 
I could have done." - Jon Stewart


-
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: Using XDoclet2 Hibernate with Maven2

2006-01-06 Thread Mike Perham
I don't know of anything which does Xdoclet2.  The plugin below is for
Xdoclet1. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 06, 2006 2:21 PM
To: Maven Users List
Cc: Maven Users List
Subject: Re: Using XDoclet2 Hibernate with Maven2

Example :

  
org.codehaus.mojo
xdoclet-maven-plugin

  
generate-sources

  xdoclet


  

  

  
  


  


  
  

  

  

  

Saludos


Ing. Henry Molina
CONSULTOR INFORMATICO PNUD-IESS



"Darryl L. Pierce" <[EMAIL PROTECTED]>
06/01/2006 15:14
Por favor, responda a
"Maven Users List" 


Para
Maven Users List 
cc

Asunto
Using XDoclet2 Hibernate with Maven2






I'm trying to quickly ramp up and use Maven2 on my project. I'm familiar

with XDoclet and have used it with Ant previously. My team is bringing 
Maven2 into the project and I'm tasked with moving our XDoclet stuff 
over. However, I can't find any documentation that shows how to 
configure Hibernate in the pom.xml file (I did find the XDoclet2 Maven2 
plugin page) and call it with Maven2.

Any help is greatly appreciated.

-- 
Darryl L. Pierce <[EMAIL PROTECTED]>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly, 
I could have done." - Jon Stewart


-
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: Using XDoclet2 Hibernate with Maven2

2006-01-07 Thread Grégory Joseph
Hi list,

On 06/01/06, Mike Perham <[EMAIL PROTECTED]> wrote:
> I don't know of anything which does Xdoclet2.

http://xdoclet.codehaus.org/Maven2+Plugin

Darryl,

What did you try, what is not working for you ?

Cheers,

g


> "Darryl L. Pierce" <[EMAIL PROTECTED]>
> 06/01/2006 15:14
> Por favor, responda a
> "Maven Users List" 
>
>
> Para
> Maven Users List 
> cc
>
> Asunto
> Using XDoclet2 Hibernate with Maven2
>
>
>
>
>
>
> I'm trying to quickly ramp up and use Maven2 on my project. I'm familiar
>
> with XDoclet and have used it with Ant previously. My team is bringing
> Maven2 into the project and I'm tasked with moving our XDoclet stuff
> over. However, I can't find any documentation that shows how to
> configure Hibernate in the pom.xml file (I did find the XDoclet2 Maven2
> plugin page) and call it with Maven2.
>
> Any help is greatly appreciated.
>
> --
> Darryl L. Pierce <[EMAIL PROTECTED]>
> Homepage: http://mcpierce.multiply.com/
> "McVeigh's lawyer got him the death penalty, which, quite frankly,
> I could have done." - Jon Stewart
>
>
> -
> 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: Using XDoclet2 Hibernate with Maven2

2006-01-07 Thread Darryl L. Pierce

Grégory Joseph wrote:


http://xdoclet.codehaus.org/Maven2+Plugin

Darryl,

What did you try, what is not working for you ?
 

The page in question doesn't explain anything, it only says what to do 
for one particular case. For example, the first thing I need to do is 
incorporate Hibernate into our project. How do I do that based on this 
page's example? How do I define the merge directory, the output 
directory, etc?


--
Darryl L. Pierce <[EMAIL PROTECTED]>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly, 
I could have done." - Jon Stewart



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



Re: Using XDoclet2 Hibernate with Maven2

2006-01-07 Thread Grégory Joseph
Hi,

> The page in question doesn't explain anything, it only says what to do
> for one particular case.

For one sample case, I would say. Using other xdoclet2-plugins is
totally similar, and should be a no brainer if you'd know how xdoclet2
generally works. Other pages might help in this respect, although I'll
gladly hear your feedback, because we know they're probably
unsufficient.

> For example, the first thing I need to do is
> incorporate Hibernate into our project.

Incorporate? I fail to see the connection with xdoclet2 and/or maven,
here. However, if you mean "how to leverage xdoclet(2) to generate
hibernate mapping files", then again, I'll point you to the general
xdoclet2 docs and the xd2-hibernate-plugin specific docs (
http://xdoclet.codehaus.org/ and
http://xdoclet.codehaus.org/Hibernate+plugin - see the "hibernate
tags" and the "hibernate mapping plugin" pages in particular.)
Again, please comment on what to improve on these pages.

> How do I do that based on this
> page's example? How do I define the merge directory, the output
> directory, etc?

See above.

Please bear in mind the warning on top of
http://xdoclet.codehaus.org/Maven2+Plugin , help us improve it, and
feel free to join the xdoclet2-users and/or the xdoclet-plugins list
for xdoclet2-related information.


HTH,

greg

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



Re: Using XDoclet2 Hibernate with Maven2

2006-01-07 Thread Darryl L. Pierce

Grégory Joseph wrote:


For one sample case, I would say. Using other xdoclet2-plugins is
totally similar, and should be a no brainer if you'd know how xdoclet2
generally works. Other pages might help in this respect, although I'll
gladly hear your feedback, because we know they're probably
unsufficient.
 

I'm only familiar with XDoclet, so the page in question doesn't help me 
at all. It doesn't say how to invoke the targets or anything. Pardon my 
ignorance, but the whole Maven thing is new to me.



For example, the first thing I need to do is
incorporate Hibernate into our project.
   



Incorporate? I fail to see the connection with xdoclet2 and/or maven,
here.

Our build environment is Maven2. I'm trying to bring XDoclet2 into that 
environment. The page in question is showing how to do that.



However, if you mean "how to leverage xdoclet(2) to generate
hibernate mapping files", then again, I'll point you to the general
xdoclet2 docs and the xd2-hibernate-plugin specific docs (
http://xdoclet.codehaus.org/ and
http://xdoclet.codehaus.org/Hibernate+plugin - see the "hibernate
tags" and the "hibernate mapping plugin" pages in particular.)
Again, please comment on what to improve on these pages.

 

If the page gave an example commandline for invoking the XD2 targets, 
that would be nice.



How do I do that based on this
page's example? How do I define the merge directory, the output
directory, etc?
   



See above.

Please bear in mind the warning on top of
http://xdoclet.codehaus.org/Maven2+Plugin , help us improve it, and
feel free to join the xdoclet2-users and/or the xdoclet-plugins list
for xdoclet2-related information.

 

If the page answers the questions I've posted here that would be a great 
improvement. :)


--
Darryl L. Pierce <[EMAIL PROTECTED]>
Homepage: http://mcpierce.multiply.com/
"McVeigh's lawyer got him the death penalty, which, quite frankly, 
I could have done." - Jon Stewart



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



Re: Using XDoclet2 Hibernate with Maven2

2006-01-07 Thread Srepfler Srgjan

Vote for this issue:
http://jira.codehaus.org/browse/XDOCLET-41
Maven2 must use better the feature of archetypes in order to facilitate 
the migration and adoption of it's technologies.


Srgjan

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