[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2005-01-25 Thread jira
The following comment has been added to this issue:

 Author: Felipe Leme
Created: Tue, 25 Jan 2005 6:49 PM
   Body:
Hi Paul,

I'd like to have released 1.3 already, but haven't had the time yet :-(

Hopefully I will do it by middle of next week.

-- Felipe
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_29261

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin
   Fix Fors:
 1.3

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Tue, 25 Jan 2005 6:49 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2005-01-19 Thread jira
The following comment has been added to this issue:

 Author: Paul Kearney
Created: Wed, 19 Jan 2005 8:17 AM
   Body:
Excellent new Felipe.  Do you know when this will make it into a release?

Paul
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_29060

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin
   Fix Fors:
 1.3

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Wed, 19 Jan 2005 8:17 AM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2005-01-18 Thread jira
The following comment has been added to this issue:

 Author: Felipe Leme
Created: Tue, 18 Jan 2005 7:04 PM
   Body:
Nevermind the XDoclet question, I figured it out myself - you need to add the 
XDoclet tags in a  tag inside the .hbm.xml.

-- Felipe
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_29049

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin
   Fix Fors:
 1.3

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Tue, 18 Jan 2005 7:04 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2005-01-14 Thread jira
The following comment has been added to this issue:

 Author: Felipe Leme
Created: Fri, 14 Jan 2005 7:06 AM
   Body:
Hi Paul,

Sorry, but I've been too busy lately, so I hadn't have the time to look on your 
changes yet.

-- Felipe

-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_28945

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Fri, 14 Jan 2005 7:06 AM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2004-12-21 Thread jira
The following comment has been added to this issue:

 Author: Felipe Leme
Created: Tue, 21 Dec 2004 8:31 AM
   Body:
I will be off-line for a couple of weeks, but will take a better look on the 
issue when I'm back (early January).
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_28248

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Tue, 21 Dec 2004 8:31 AM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2004-12-20 Thread jira
The following comment has been added to this issue:

 Author: Paul Kearney
Created: Mon, 20 Dec 2004 6:57 PM
   Body:
Felipe,

The current plugin.jelly does support the exclusion of files from being 
generated. If you set maven.hibernate.input.excludes = 
org/apache/maven/hibernate/Item.hbm.xml then this should exclude the Item.java 
from being generated.  

This just re-uses existing properties and I agree it may well be clearer to 
provide hbm generation specific properties rather than reusing existing ones.  
Both maven.hibernate.input.includes and maven.hibernate.input.excludes are 
reused in the plugin.jelly I submitted.

The second point regarding the addition of the generated source to the src set 
expected by the java:compile target I am not sure about.  

For one this sounds like it may require overriding the class loader (something 
I have never attempted before), but it also strikes me as being beyond the 
scope of the plugin. It makes an assumption that everyone using the plugin will 
run java:compile after the code is generated.  Would it not be more sensible to 
allow the person using the plugin to add the generated source directory to 
their java:compile set by configuring the maven.compile.src.set property of the 
java plugin.  Personally, I set the maven.hibernate.generated.output.dir 
property to point to my projects java source directory (not that I am 
suggesting everyone should have to do this, but it does make sense to me).

Let me know if you agree or not.  

Paul
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_28234

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Mon, 20 Dec 2004 6:57 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2004-12-08 Thread jira
The following comment has been added to this issue:

 Author: Paul Kearney
Created: Wed, 8 Dec 2004 5:13 PM
   Body:
Felipe,

I have placed a request for the upload of the hibernate-tools-2.1.3.jar to 
ibiblio as you suggested.  If this goes ahead the project.xml for my patch will 
require to be updated to reflect the newer version of this jar (2.1.3 now, not 
2.1.2).

Paul
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_27670

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Wed, 8 Dec 2004 5:14 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2004-12-07 Thread jira
The following comment has been added to this issue:

 Author: Felipe Leme
Created: Tue, 7 Dec 2004 7:19 PM
   Body:
Hi Paul,

I've tried to apply your patch, but that hibernate-extensions:hibernate-tools 
jar is not on ibiblio.

Could you please open a jira request for uploading it? Prefereably, versions 
2.1.3 (which is the current version used by the plugin) and 2.1.6 (which is the 
most recent).

-- Felipe

PS: here are the instructions on how to upload it:

http://maven.apache.org/repository-upload.html
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_27605

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Tue, 7 Dec 2004 7:19 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2004-12-07 Thread jira
The following comment has been added to this issue:

 Author: Paul Kearney
Created: Tue, 7 Dec 2004 6:25 PM
   Body:
I have (I think) carried out all of Felipe's suggestions.  I have updated the 
xdocs and provided a basic test case.  I am reusing some properties that are 
used in other targets and maybe these should be seperated out.  

Any further comments let me know and I'll see what I can do.  I haven't as yet 
got round to uploading the hibernate-extenstions jar required for this plugin 
to work onto ibiblio and I have made assumptions about its group id.  

Paul
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_27601

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Tue, 7 Dec 2004 6:25 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2004-11-19 Thread jira
The following comment has been added to this issue:

 Author: Paul Kearney
Created: Fri, 19 Nov 2004 6:24 PM
   Body:
Eric,

yes we did correspond about this. I sent you some files that can be recreated 
by following the steps I detailed in my original comment.  I have been a bit 
pressed for time recently but am going to look at implementing Felipes 
suggestions.

Once I have a working version of this I'll let you know.

Paul
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_26966

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Fri, 19 Nov 2004 6:24 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2004-11-16 Thread jira
The following comment has been added to this issue:

 Author: David Eric Pugh
Created: Tue, 16 Nov 2004 1:19 PM
   Body:
Paul,  I think we corresponded offline about this bug.  I wanted to make sure 
this hadn't fallen through the cracks.  What is the current status on this..  I 
thought you sent me some files, but I can't find them.  Can you attach them 
directly to the bug?
-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_26479

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Tue, 16 Nov 2004 1:19 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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



[jira] Commented: (MPHIBERNATE-12) Adding POJO from hbm file code generation feature to plugin

2004-11-06 Thread jira
The following comment has been added to this issue:

 Author: Felipe Leme
Created: Sat, 6 Nov 2004 6:52 PM
   Body:
Paul,

This feature seems very interesting and we would be glad to add a new goal for 
it in the plugin. But before we do so, I have some comments:

1.We are not using Jelly to write this plugin - all features are implemented in 
Java and we use Jelly only as a wrapper (take a look on the current code, it's 
pretty simple)

2.We need test cases for the new feature

3.Also, we would need that new feature documented (tipycally at 
xdocs/properties.xml and xdocs/goals.xml)

3.The best way to contribute is providing a patch (using cvs diff or a patch 
feature from your IDE - Eclipse, for instance, have a nice cvs support).

Could you try these 4 improvements and then attach the patch here on Jira?

-- Felipe

-
View this comment:
  http://jira.codehaus.org/browse/MPHIBERNATE-12?page=comments#action_26162

-
View the issue:
  http://jira.codehaus.org/browse/MPHIBERNATE-12

Here is an overview of the issue:
-
Key: MPHIBERNATE-12
Summary: Adding POJO from hbm file code generation feature to plugin
   Type: New Feature

 Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

Project: maven-hibernate-plugin

   Assignee: 
   Reporter: Paul Kearney

Created: Tue, 2 Nov 2004 4:56 PM
Updated: Sat, 6 Nov 2004 6:52 PM
Environment: N/A

Description:
I have added a feature to my local version of the hibernate plugin which I 
thought might be worthy of inclusion in a future version.

In the projects I work on there is a need to generate POJOs classes from 
hibernate hbm files and I have adapted and incorportated an old ant script into 
our maven-hibernate plugin to do this.

In order to add this goal all you have to do is:

1. Add the following to project.xml:


  hibernate-extensions
  hibernate-tools
  2.1.2
  jar


  jdom
  jdom
  1.0
  jar


2.

Add the following goal to the plugin.jelly

 

Generating POJOs from hbm files




 




 
   








  



3.

Add the following properties to the plugin.properties

maven.hibernate.generated.input.dir=${maven.src.dir}/conf/hibernate
maven.hibernate.generated.output.dir=${maven.src.dir}/java

4.

Ensure that hibernate-tools-2.1.2.jar is available at ibiblio.

It should now be possible to generate POJOs from hbm files.  The POJOs will be 
placed in the src/java directory by default.  

I am in the process of carrying out Step 4 myself and will hopefully do this 
soon.

Hope you find this worth consideration and hopefully it can make it into a 
future release.


-
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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