PersistenceCapable import and OpenJPA maven plugin unit test

2007-05-15 Thread Rahul Thakur
Hi, A couple of weeks ago Marc made a good suggestion on IRC that it would be nice to have the OpenJPA Maven plugin not to be dependent on any specific version of OpenJPA library. I removed the compile time dependency but cannot drop it altogether since the plugin's unit test (link below), t

Re: Compiling (build all) in eclipse

2007-04-10 Thread Rahul Thakur
Comments inlined... - Original Message - From: "Phill Moran" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 10, 2007 5:06 AM Subject: RE: Compiling (build all) in eclipse Eclipse clean workspace Import Maven generate project (eclipse:eclispe) Build all --> Error There is no enhance

Re: [repo] /www/people.apache.org/repo/m2-incubating-repository/

2007-04-08 Thread Rahul Thakur
Or you can also logon to #maven IRC channel at irc.codehaus.org for help. Rahul - Original Message - From: "Michael Dick" <[EMAIL PROTECTED]> To: Cc: ; Sent: Monday, April 09, 2007 1:56 PM Subject: Re: [repo] /www/people.apache.org/repo/m2-incubating-repository/ Actually it lo

Re: [ANN] OpenJPA Maven Plugin 1.0-alpha released

2007-02-06 Thread Rahul Thakur
/usage.html Cheers, Rahul - Original Message - From: "Kevin Sutter" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 07, 2007 3:10 AM Subject: Re: [ANN] OpenJPA Maven Plugin 1.0-alpha released Rahul, Where do I get it? On 2/5/07, Rahul Thakur <[EMAIL PROTECTED]&

[ANN] OpenJPA Maven Plugin 1.0-alpha released

2007-02-05 Thread Rahul Thakur
Hi, I am pleased to announce the release of OpenJPA Maven Plugin version 1.0-alpha. This release includes: 1) Mojo to invoke OpenJPA PCEnhancer tool on mapped persistable classes. 2) Plugin documentation. Feedback and suggestions are welcome. Cheers, Rahul

Re: OpenJPA release 0.9.6 on Maven repo?

2007-02-03 Thread Rahul Thakur
apache/ openjpa/openjpa-all/0.9.6-incubating/openjpa-all-0.9.6-incubating.jar On Feb 2, 2007, at 7:03 PM, Rahul Thakur wrote: Hi, Is version 0.9.6 available on a Maven repo. I couldn't find it anywhere. I am wanting to prepare a release for OpenJPA Maven plugin. Cheers, Rahul

OpenJPA release 0.9.6 on Maven repo?

2007-02-02 Thread Rahul Thakur
Hi, Is version 0.9.6 available on a Maven repo. I couldn't find it anywhere. I am wanting to prepare a release for OpenJPA Maven plugin. Cheers, Rahul

Re: How to unit test the Enhancer?

2007-01-22 Thread Rahul Thakur
Hi Craig, [snip] If not, are there plans to put together such tests into OpenJPA itself? OpenJPA is, like most Apache projects, a do-ocracy. If you have an itch, you are encouraged to scratch it. Yep, totally agree there and I would love to 'scratch' this 'itch' as well, but right now I am

[jira] Created: (OPENJPA-105) Put together a test suite for Enhancer

2007-01-22 Thread Rahul Thakur (JIRA)
Put together a test suite for Enhancer -- Key: OPENJPA-105 URL: https://issues.apache.org/jira/browse/OPENJPA-105 Project: OpenJPA Issue Type: Task Reporter: Rahul Thakur Subsequent to

Re: How to unit test the Enhancer?

2007-01-22 Thread Rahul Thakur
Hi Patrick, Thanks for the pointer, I think something might be better than nothing - I will use this approach to test the Enhancer! When you say 'majority Kodo test suite has not yet made it into OpenJPA' - do you mean that this is scheduled to happen sometime? If not, are there plans to pu

Re: How to unit test the Enhancer?

2007-01-21 Thread Rahul Thakur
fication program that is not yet updated for JDO 2.0, but it should give you some ideas on what technology exists. If you need more details after looking at the project, please feel free to follow up on the jdo-dev alias. Regards, Craig On Jan 20, 2007, at 5:49 PM, Rahul Thakur wrote:

Re: openjpa-maven-plugin in mojo sandbox

2007-01-20 Thread Rahul Thakur
n Jan 20, 2007, at 5:33 PM, Rahul Thakur wrote: Hi, I have published some notes on using OpenJPA Maven plugin usage: http://mojo.codehaus.org/openjpa-maven-plugin/index.html Any chance the plugin can get linked from here? :-) http://cwiki.apache.org/openjpa/enhancingwithmaven.html I'

How to unit test the Enhancer?

2007-01-20 Thread Rahul Thakur
Hi, I'd like to put together a couple of unit tests for the Enhancer mojo. For this I had a look at openjpa-kernel module where the PCEnhancer is located but could not find any tests. How can I test if a persistence-enabled class has been enhanced as expected from a unit test? Appreciate any

Re: openjpa-maven-plugin in mojo sandbox

2007-01-20 Thread Rahul Thakur
Rahul - Original Message - From: "Bryan Noll" <[EMAIL PROTECTED]> To: Sent: Thursday, January 11, 2007 8:32 PM Subject: Re: openjpa-maven-plugin in mojo sandbox Nice. I think this is a potential barrier to adoption that you're taking down. Good stuff. Rahul Thakur wro

Re: Missing ProductDerivation resource error

2007-01-18 Thread Rahul Thakur
test" passes for the openjpa project? On Jan 18, 2007, at 8:48 AM, Rahul Thakur wrote: Just pinging on this one... I think this might be a good chance to collect more use cases for the plugin - wdyt? Rahul - Original Message - From: "Patrick Linskey" <[EMAIL PROTEC

Re: Missing ProductDerivation resource error

2007-01-18 Thread Rahul Thakur
rivileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -Original Message- From: Rahul Thakur [mailto:[EMAI

Re: Using query hints for mapping extensions in orm.xml

2007-01-15 Thread Rahul Thakur
I think this is the way to do it. Isn't this what the QueryHints are intended to do - to allow vendor specific query extensions to hook in :-) Cheers, Rahul Marc Prud'hommeaux wrote: OpenJPA people- A limitation of the JPA specification is that there is no built-in way to put implementati

openjpa-maven-plugin in mojo sandbox

2007-01-10 Thread Rahul Thakur
Hi, I have created a module for OpenJPA Maven plugin under Mojo sandbox: https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/openjpa-maven-plugin/ I will put some usage notes together shortly. Meanwhile, welcome any ideas, suggestions. Cheers, Rahul

Re: Missing ProductDerivation resource error

2007-01-09 Thread Rahul Thakur
The plugin needs to be built and published just like other OpenJPA modules on to a Maven repository and the users can then choose to reference it in pom.xml for respective projects. Rahul Patrick Linskey wrote: Definitely! I know nothing about Maven plugins; what's involved in getting the plu

Re: Missing ProductDerivation resource error

2007-01-09 Thread Rahul Thakur
hedule"? On Jan 9, 2007, at 12:53 AM, Rahul Thakur wrote: okies, my work is progressing in trickles as I am squeezing some time outside work :-) Here's the latest issue while trying to process a bunch of .class files with Enhancer. It seems my orm.xml is missing something that is cau

Re: Missing ProductDerivation resource error

2007-01-09 Thread Rahul Thakur
----- [/snip] - Original Message - From: "Rahul Thakur" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 09, 2007 8:16 AM Subject: Re: Missing ProductDerivation resource error Thanks Michael, Kevin, I think I am making some progress on the Ma

Re: Missing ProductDerivation resource error

2007-01-08 Thread Rahul Thakur
/openjpa/OpenJPA+Documentation Mike has answered the specific question about "jdo" support in OpenJPA in the previous reply. Kevin On 1/8/07, Rahul Thakur <[EMAIL PROTECTED]> wrote: Thanks Michael, I figured that last night after some digging around :-)

Re: Missing ProductDerivation resource error

2007-01-08 Thread Rahul Thakur
lternatively you can pass in the location of persistence.xml in with the -p [path to persistence.xml] arguments. I think that just having persistence.xml on the classpath would be easier and cleaner though, but I've never looked into writing maven plugins.. On 1/7/07, Rahul Thakur < [EMAIL

Re: Missing ProductDerivation resource error

2007-01-07 Thread Rahul Thakur
Thanks Michael, That helped a bit! What required config properties do I need to set? I had the following set up in plugin config in the pom.xml. [snip] org.codehaus.mojo openjpa-maven-plugin 0.0.1-SNAPSHOT addDefaultConstruc

Missing ProductDerivation resource error

2007-01-06 Thread Rahul Thakur
Hi, I am trying to create an OpenJPA Maven2 plugin that runs to the PCEnchancer to start with, but when I attempt to run it I get an error complaining about missing resource ProductDerivation (attached below). The message indicates that it should have been installed as a part of the openjpa d

Re: Errors setting up openjpa projects in Eclipse

2007-01-06 Thread Rahul Thakur
May be the openjpa devs already aware that for module 'openjpa-kernel' the generated sources are not added correctly as Eclipse source folders. This could be to do with the javacc-maven-plugin. Cheers, Rahul - Original Message - From: "Rahul Thakur" <[EMAIL

Re: Errors setting up openjpa projects in Eclipse

2007-01-06 Thread Rahul Thakur
r me. I manually fix openjpa-kernel/target/generated-sources source path after importing projects, but everything else seems to be handled properly. This works for me. The only other thing you need to do is define a M2_REPO classpath variable which points to your maven 2 repository. Rahul Thaku

Errors setting up openjpa projects in Eclipse

2007-01-06 Thread Rahul Thakur
Hi, I am just starting out with OpenJPA and tried generating and importing projects in an Eclipse workspace but I get to see the following errors for all the imported modules. [snip - as copied from Problems view] Severity and Description Path Resource Location Creation Time Id Cannot nest o

openjpa IRC

2007-01-04 Thread Rahul Thakur
Greetings, I saw a reference to openjpa IRC here: http://cwiki.apache.org/openjpa/get-involved.html and joined that channel couple of times but I see no one except 'fbenoit' Are you guys 'media shy' hackers? ;-) Cheers, Rahul