Build fails
WhenI try to build OpenJPA it always fails with: [INFO] [INFO] Building OpenJPA Project [INFO]task-segment: [compile] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error copying resources Embedded error: /Users/stefan/Development/OpenJPA/openjpa/trunk/openjpa-project/target/classes/../filtered-site/resources/css/docbook.css (No such file or directory) I've had this since a week or so. Is there any way around it? I'm building a fresh checkout of trunk. S.
Re: Re: Build fails
Found it. I deleted ~/.m2/repository/org/apache/maven so that it could get fresh copies of all plugins used. That seemed to have solved this one :-) S. On 7/30/06, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote: Stefan- Very strange ... I can build from the trunk without trouble. Can you run "mvn -e -X clean compile" and send the output so I can get a better sense for where it is having problems? Also, do you happen to have a ~/.m2/settings.xml file that might change the defaults for anything (e.g., the name of the default build directory)? On Jul 30, 2006, at 3:31 PM, Stefan Arentz wrote: > WhenI try to build OpenJPA it always fails with: > > [INFO] > -- > -- > [INFO] Building OpenJPA Project > [INFO]task-segment: [compile] > [INFO] > -- > -- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] > -- > -- > [ERROR] BUILD ERROR > [INFO] > -- > -- > [INFO] Error copying resources > > Embedded error: > /Users/stefan/Development/OpenJPA/openjpa/trunk/openjpa-project/ > target/classes/../filtered-site/resources/css/docbook.css > (No such file or directory) > > I've had this since a week or so. Is there any way around it? > > I'm building a fresh checkout of trunk. > > S.
What needs to be done between 0.9 and 1.0?
I'm interested to use OpenJPA in my current project instead of Hibernate but the version number scares me. Can anyone explain maybe in bit more detail what the status of OpenJPA is and what kind of things are on the todo between now and 1.0? S.
What about a roadmap in JIRA
Continuing my last email ... what about a road map in JIRA? Right now no versions are defined there and barely any issues. It would be nice to see what the goals are, what is left to do, etc. Are there plans for that? S.
Re: RE: What needs to be done between 0.9 and 1.0?
On 8/4/06, Patrick Linskey <[EMAIL PROTECTED]> wrote: ... That said, we don't currently build jars or package up a proper release, and we don't currently have convenience shell scripts wrapping the handful of command-line tools that OpenJPA users will often execute. As you pointed out in your other thread, we haven't ported any bugs from our old bugzilla, and we haven't gotten a project plan in place yet. Expect to see movement on all of these issues over the coming weeks. I hope this helps answer your questions, Hi Patrick, Thank you for the detailed answer. It all sounds very reasonable. Personally I will simpy use the time to learn the product and give feedback. The way you are building a commercial product on top of OpenJPA is very interesting. Does that mean that there are a lot of extension points in the OpenJPA code? Will these be documented? For example, I am interested in building an extension that does more advanced query logging together with Postgres' EXPLAIN ANALYZE kind of query statistics. Is it going to possible to take OpenJPA and add something like that to it? S.
Some integration questions
When OpenJPA is used in a Spring 2.0 environment that is deployed in say Jetty 6.0, does that count as a J2EE or J2SE environment? OpenJPA works with 'enhanced' classes. If I want do not want to run with an JVM agent or pre-compile/enhance my classes then it needs to be done at runtime. Actually, at class loading time. Right? Is it technically possible to create a war file that without servlet container support contains code to correctly enhance classes? Or does this always need help from the code (in the container) that is actually loading the .war file and it's containing classes and .jar files? S.
Re: RE: Some integration questions
On 10/7/06, Patrick Linskey <[EMAIL PROTECTED]> wrote: ... Patrick, thanks for the hints. Also, in the specific case (Spring 2.0 + Jetty), you'll get auto-enhancement out-of-the-box, modulo any bugs that haven't been surfaced yet by us or the Spring team (thanks, Costin!). That is also the reason why I am trying to understand how all the pieces fit together. I'm currently in a situation where I keep getting the following error: the type "class wicket.quickstart.entities.Message" has not been enhanced. even though I see the following in the OpenJPA TRACE log: 4296 INFO [btpool0-6] openjpa.MetaData - Found 1 classes with metadata in 0 milliseconds. 4459 TRACE [btpool0-6] openjpa.Enhance - "wicket/quickstart/entities/Message" requires runtime enhancement: true 4541 TRACE [btpool0-6] openjpa.MetaData - Loading metadata for "class wicket.quickstart.entities.Message" under mode "[META][QUERY]". 4559 INFO [btpool0-6] openjpa.MetaData - Parsing class "wicket.quickstart.entities.Message". 4559 INFO [btpool0-6] openjpa.MetaData - Parsing package "wicket.quickstart.entities.Message". 4578 TRACE [btpool0-6] openjpa.MetaData - Generating default metadata for type "wicket.quickstart.entities.Message". 4578 TRACE [btpool0-6] openjpa.MetaData - Using reflection for metadata generation. 4596 TRACE [btpool0-6] openjpa.MetaData - Set persistence-capable superclass of "wicket.quickstart.entities.Message" to "null". 4596 TRACE [btpool0-6] openjpa.MetaData - Resolving metadata for "[EMAIL PROTECTED]". 4596 TRACE [btpool0-6] openjpa.MetaData - Resolving field "[EMAIL PROTECTED]". 4604 TRACE [btpool0-6] openjpa.MetaData - Resolving field "[EMAIL PROTECTED]". 4606 TRACE [btpool0-6] openjpa.Enhance - Enhancing type "class wicket.quickstart.entities.Message". I'm not sure this is a Spring issue or an OpenJPA issue though. That is why I'm trying to understand how all this should work. (I'm trying to build a quickstart project for http://wicket.sf.net that uses OpenJPA and Spring) S.
Re: Re: RE: Some integration questions
What I forgot to mention is that I start Jetty from IDEA using a simple main() that basically does a "new Server().start()". Maybe this makes a difference for classloading? S.
[jira] Created: (OPENJPA-57) persistence_1_0.xsd is missing
persistence_1_0.xsd is missing -- Key: OPENJPA-57 URL: http://issues.apache.org/jira/browse/OPENJPA-57 Project: OpenJPA Issue Type: Improvement Reporter: Stefan Arentz It seems to be common that JPA providers include persistence_1_0.xsd in one of the distribution jars. I'm not sure if this is according to the spec but some tools such as Spring already depend on that behaviour. This is probably mostly relevant for using JPA in a J2SE environment as I think the xsd is probably provided by the app server. Discussion on the Spring forum about this: http://forum.springframework.org/showthread.php?t=26209&highlight=persistence_1_0.xsd S. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (OPENJPA-58) The snapshots at http://people.apache.org/repo/m2-snapshot-repository/ are out of date
The snapshots at http://people.apache.org/repo/m2-snapshot-repository/ are out of date -- Key: OPENJPA-58 URL: http://issues.apache.org/jira/browse/OPENJPA-58 Project: OpenJPA Issue Type: Bug Reporter: Stefan Arentz The snapshots at http://people.apache.org/repo/m2-snapshot-repository/ were last updated on august 26th. The wiki points to this repository from here: http://cwiki.apache.org/openjpa/obtaining.html Probably good to either add something to the wiki so that people don't expect a daily snapshot there or simply keep uploading snapshots ;) S. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira