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]



Using XDoclet2 Hibernate with Maven2

2006-01-06 Thread Darryl L. Pierce
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]



Re: Using XDoclet2 Hibernate with Maven2

2006-01-06 Thread HMolina
Example :

  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdxdoclet-maven-plugin/artifactId
executions
  execution
phasegenerate-sources/phase
goals
  goalxdoclet/goal
/goals
configuration
  tasks
hibernatedoclet destdir=./src/main/java 
  excludedtags=@version,@author,@todo,@see,@desc
  force=./src/main/java verbose=true
  fileset dir=./src/main/java
include name=**/modelo/*.java /
  /fileset
  hibernate version=3.0 /
/hibernatedoclet
springdoclet destdir=./src/main/webapp/WEB-INF
  mergeDir=./src/main/resources/metadata/metadata-spring 
force=true
  fileset dir=./src/main/java
include name=**/*.java /
exclude name=**/actions/*.java /
  /fileset
  springxml destinationFile=
quirografarios2-application-context.xml defaultAutowire=no
defaultLazyInit=true /
/springdoclet
  /tasks
/configuration
  /execution
/executions
  /plugin

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 users@maven.apache.org


Para
Maven Users List users@maven.apache.org
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 :

  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdxdoclet-maven-plugin/artifactId
executions
  execution
phasegenerate-sources/phase
goals
  goalxdoclet/goal
/goals
configuration
  tasks
hibernatedoclet destdir=./src/main/java 
  excludedtags=@version,@author,@todo,@see,@desc
  force=./src/main/java verbose=true
  fileset dir=./src/main/java
include name=**/modelo/*.java /
  /fileset
  hibernate version=3.0 /
/hibernatedoclet
springdoclet destdir=./src/main/webapp/WEB-INF
 
mergeDir=./src/main/resources/metadata/metadata-spring 
force=true
  fileset dir=./src/main/java
include name=**/*.java /
exclude name=**/actions/*.java /
  /fileset
  springxml destinationFile=
quirografarios2-application-context.xml defaultAutowire=no
defaultLazyInit=true /
/springdoclet
  /tasks
/configuration
  /execution
/executions
  /plugin

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 users@maven.apache.org


Para
Maven Users List users@maven.apache.org
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]