Mapping Ant Task - configure datasource

2009-05-21 Thread Daryl Stultz
Hello, my persistence.xml includes properties like so: property name=openjpa.ConnectionDriverName value=MyDataSource / property name=openjpa.ConnectionProperties value=Thing=one/ This doesn't work for the ant mapping task (maybe it CAN, but I haven't written it to do so). So I need this in my

Re: Mapping Ant Task - configure datasource

2009-05-21 Thread Gene Shaw
This is how I have been handling passing of properties of to our ant mapping task. All of the persistence classes are still listed in our persistence.xml file. I am still pretty new too this stuff so I could be doing it wrong but this seems to work for me. target name=map_build

Re: Mapping Ant Task - configure datasource

2009-05-21 Thread Michael Dick
Gene, you're doing it right :-) -mike On Thu, May 21, 2009 at 11:02 AM, Gene Shaw gs...@ogresystems.com wrote: This is how I have been handling passing of properties of to our ant mapping task. All of the persistence classes are still listed in our persistence.xml file. I am still pretty

Re: Mapping Ant Task - configure datasource

2009-05-21 Thread Daryl Stultz
On Thu, May 21, 2009 at 12:02 PM, Gene Shaw gs...@ogresystems.com wrote: This is how I have been handling passing of properties of to our ant mapping task. Sweet, that does it. Turns out it works for the enhancer task as well... Thanks. -- Daryl Stultz _