openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trenton D. Adams" <>
Subject Re: Standalone Example
Date Fri, 07 Nov 2014 01:47:02 GMT
FYI, the trunk does not build out of the box, I'm going to try the 
latest tag.

mvn test -DfailIfNoTests=false -Dtest=TestPersistence

[INFO] Executing tasks
      [echo] Running OpenBooks genmodel

      [echo]             Builds OpenBooks demo application.
      [echo]             OpenJPA Library: 
      [echo]             Build mode     : jse
      [echo]             Deploy Location: 

[INFO] An Ant BuildException has occured: The following error occurred 
while executing this line:

*** Error:
            The directory for OpenJPA libraries can not be located at 
            Make sure openjpa.lib property value is correct in file.

On 2014-11-06 6:35 PM, Trenton D. Adams wrote:
> Yeah, I used OpenJPA quite awhile back, but I did so within a 
> container.  And it's been quite awhile, so I have no idea what I'm 
> doing.  Most of the ones on the samples page make my eyes glaze over, 
> lol.  I'm a developer, the kind of docs I love, are those that have...
> 1. raw source code and configs
> 2. build files
> In other words, a good sample should "just work".  So a tar.gz with a 
> fully working maven built app with unit tests would be the ultimate.  
> I will endeavour to create one, and contribute it back.
> I think the unit tests are probably the best place for me to look.
> Thanks for the info
> On 2014-11-06 9:00 AM, Kevin Sutter wrote:
>> Have you checked these out?
>> Also, all of the junit tests could be used as samples, depending on the
>> specific function you are looking for.
>> Also, JPA is a widely accepted and widely documented programming model.
>> So, any "standard" JPA application should work just fine with OpenJPA.
>> Hope this helps,
>> Kevin
>> On Thu, Nov 6, 2014 at 1:25 AM, Trenton D. Adams <>
>> wrote:
>>> Hi Guys,
>>> Where can I find the best openjpa standalone example? Preferably with a
>>> maven build.  I have checked the site, and googled, and nothing decent
>>> seems to come up.
>>> Thanks.

View raw message