Re: DataMapper/named-queries proposal for JDO and JPA support

2006-07-12 Thread Craig L Russell
Hi Allen, First, sorry for missing this message the first time around. As you probably know, Sun was on its 4th of July break all last week... On Jun 30, 2006, at 11:44 AM, Allen Gilliland wrote: Taking a quick look at the proposal and have a few thoughts ... 1. Can I get some more

Latest committer

2006-08-04 Thread Craig L Russell
Hi,Thanks for the vote of support. I'll be back working on the datamapper adapter "shortly".Craig Craig Russell[EMAIL PROTECTED] http://db.apache.org/jdo smime.p7s Description: S/MIME cryptographic signature

Re: bay area mini-hackathon for jdo into roller?

2006-08-15 Thread Craig L Russell
. Menlo Park is closer for me but either one works. --a. - Original Message - From: Craig L Russell [EMAIL PROTECTED] Cc: roller-dev@incubator.apache.org Sent: Saturday, August 05, 2006 9:02 AM Subject: Re: bay area mini-hackathon for jdo into roller? Hi Anil, Sounds like a cool

Re: New roller persistence implementation (was Re: Query interface for Datamapper)

2006-08-15 Thread Craig L Russell
to the persistent classes via doclet or annotations or xml. Hopefully the data model is not changing so rapidly that this is a big burden. Personally, I have no axe to grind on Hibernate v. JDO v. JPA. Craig -- Allen Craig L Russell wrote: Hi, Here's what I propose as a starting point

Re: New roller persistence implementation (was Re: Query interface for Datamapper)

2006-08-15 Thread Craig L Russell
Hi Jeff, I would not suggest we remove the Hibernate implementation from Roller. That should not stop us from adding a datamapper persistence implementation, thereby removing the hard dependency on Hibernate and satisfying the Apache folks. Craig On Aug 15, 2006, at 5:28 PM, Jeff

Re: bay area mini-hackathon for jdo into roller?

2006-08-15 Thread Craig L Russell
Thanks for clarifying. I'll look at my calendar and get back to you. Craig On Aug 15, 2006, at 9:19 PM, Anil Gangolli wrote: I meant to say I could make it Sept 5 (Tues) or Sept 13 (Wed). --a. Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638

Re: Query interface for Datamapper

2006-08-16 Thread Craig L Russell
Hi Anil, On Aug 15, 2006, at 11:31 PM, Anil Gangolli wrote: comments inline - Original Message - From: Craig L Russell To: roller-dev@incubator.apache.org Sent: Tuesday, August 15, 2006 11:21 AM Subject: Query interface for Datamapper Hi, Here's what I propose

Re: bay area mini-hackathon for jdo into roller?

2006-08-16 Thread Craig L Russell
? Craig Or is this something I can do myself? Is there a naming convention for such branches? --a. - Original Message - From: Craig L Russell [EMAIL PROTECTED] To: roller-dev@incubator.apache.org Sent: Wednesday, August 16, 2006 4:04 PM Subject: Re: bay area mini-hackathon for jdo

Re: Query interface for Datamapper

2006-08-17 Thread Craig L Russell
thing. On Aug 16, 2006, at 7:38 PM, Allen Gilliland wrote: comments inline ... Craig L Russell wrote: Hi, Here's what I propose as a starting point for the query interface between Datamapper Managers and Datamapper Persistence. This already confuses me. Exactly how much stuff are we adding

Re: cleanup weblog entries plugins

2006-09-04 Thread Craig L Russell
Hi Allen, On Sep 1, 2006, at 9:14 AM, Allen Gilliland wrote: for the current set of plugins I think that's fine, we can just move all the current plugins in to the core src tree and then modify the config to only enable a subset of them. i'll go ahead and take this approach since it

Re: preferred form of database upgrade sql?

2006-09-04 Thread Craig L Russell
Whenever there is a bit of SQL that you know works for a particular database, but not others, I'd think we want to use the optimized SQL if we are running on that database. But we also want to detect the case where we're not running on one of the databases that we've figured out how to

Re: cleanup weblog entries plugins

2006-09-04 Thread Craig L Russell
Hi Allen, On Sep 4, 2006, at 4:28 PM, Allen Gilliland wrote: Craig L Russell wrote: Hi Allen, On Sep 1, 2006, at 9:14 AM, Allen Gilliland wrote: for the current set of plugins I think that's fine, we can just move all the current plugins in to the core src tree and then modify the config

Re: Ready for a 3.0 RC? What about themes/plugins?

2006-09-05 Thread Craig L Russell
Hi Dave, I missed this message when I replied to some messages about plugins and their homes. Sorry for the noise; I agree with what you are saying here, especially with regard to repurposing the old Roller site. As long as it's clear on both sites where active development is done, and

Re: apache-roller-src-2.3-incubating.tar.gz has no forms folder

2006-09-06 Thread Craig L Russell
This thread tells me that we need to be more proactive in making sure that Roller users can find the two places where Roller development is being done. I haven't looked into this in detail, so I don't have a solution... Craig On Sep 6, 2006, at 5:44 PM, Matt Raible wrote: On 9/6/06,

Mini-hackathon Sept 5 2006

2006-09-06 Thread Craig L Russell
Anil Gangolli, Allen Gilliland, Mitesh Meswani, and Craig Russell met yesterday to discuss the datamapper business object persistence abstraction.We reviewed and checked in the Datamapper code that Craig put together. Some updates from the session were also checked in; other code that was reviewed

Re: Mini-hackathon Sept 5 2006

2006-09-07 Thread Craig L Russell
Me too. If anyone else is interested in attending, the location is the Sun building MPK-15 * at 1:30 PM on Wednesday Sep 13. Craig * 15 Network Circle, Menlo Park, CA 94025 On Sep 7, 2006, at 8:51 PM, Anil Gangolli wrote: I had reserved Wed. Sep 13. --a. - Original Message -

Build.xml for jdo sandbox

2006-09-08 Thread Craig L Russell
Hi Mitesh,I wonder if you could take a look at the build script and see what we need to do to avoid building the Hibernate metadata and see where we should put the enhancement step for those persistence frameworks that can use enhancement.It would also help if we can rationalize how the runtime

Re: Build.xml for jdo sandbox

2006-09-09 Thread Craig L Russell
Hi Allen, On Sep 9, 2006, at 9:42 AM, Allen Gilliland wrote: Craig L Russell wrote: Hi Mitesh, I wonder if you could take a look at the build script and see what we need to do to avoid building the Hibernate metadata and see where we should put the enhancement step for those persistence

Re: Build.xml for jdo sandbox

2006-09-09 Thread Craig L Russell
haven't checked on the license of the Hibernate doclet processor to see if it has the same issues that Hibernate runtime does. Any insight on the build.xml is certainly appreciated. Thanks, Craig On Sep 9, 2006, at 7:29 PM, Allen Gilliland wrote: Craig L Russell wrote: Hi Allen, On Sep

Re: Misspelled ReferrerManager

2006-09-12 Thread Craig L Russell
a few others if I looked harder. so rather than try to squeeze this in for 3.0, why don't we plan to make it a feature for 3.1 and do a more complete renaming. -- Allen Craig L Russell wrote: I noticed (again with 3.0) that the ReferrerManager interface name is misspelled. According

Re: 3.0 branch to trunk?

2006-09-14 Thread Craig L Russell
Hi Allen, Looks good. Just one comment below. Craig On Sep 14, 2006, at 9:33 AM, Allen Gilliland wrote: I took another look at the release plan doc and it seems that we have already agreed about how the branches and trunk work. The only section I think is missing from that doc is How to

Re: Hackathon report?

2006-09-15 Thread Craig L Russell
Hi Dave, Sorry there was no post with the official minutes of the calihacky. We mostly discussed build issues which Allen has already presented to the list. Mitesh and Craig are working on implementations of the Datamapper pattern for both JDO and JPA to be used as back ends. The

Re: Wrapping persistence strategy exceptions into RollerExceptions

2006-10-10 Thread Craig L Russell
Hi, It's not obvious to me that we should be catching NPE and wrapping them. I wasn't part of the original design, but it seems that catching NPE would tend to hide the actual source of the problem, and it would be better to have the highest level code that knew enough to catch Exception

Re: Ready for Roller 3.1 RC1?

2006-10-31 Thread Craig L Russell
I agree. Let's get 3.0 out the door. Craig On Oct 31, 2006, at 9:09 AM, Allen Gilliland wrote: I agree with Matt, I would like to see us hold off on 3.1 RCs until 3.0 is final and released. It's a shame we've had to wait so long to get 3.0 out the door, but that can't be helped now, and

Re: RC5 -- Re: VOTE: Release Apache Roller (incubating) 3.0

2006-11-02 Thread Craig L Russell
If we want to ship the CDDL jars, you can download them from https:// maven-repository.dev.java.net/repository/ which is the official Glassfish distribution site. IIUC, these jars are compiled with JDK 1.5 because they're part of Java EE 5. If we want JDK 1.4 jars, Geronimo is a better

Re: RC5 -- Re: VOTE: Release Apache Roller (incubating) 3.0

2006-11-02 Thread Craig L Russell
Hi, On Nov 2, 2006, at 2:05 PM, Dave wrote: On 11/2/06, Henri Yandell [EMAIL PROTECTED] wrote: Another option is to go the Please put these in place if you need that feature way that we've done with Hibernate. Looks like we have no choice. Craig says the Glassgish/CDDL jars are 1.5 only and

Re: Pregraduation list

2006-11-10 Thread Craig L Russell
Hi Henri, On Nov 10, 2006, at 12:30 AM, Henri Yandell wrote: On 10/24/06, Henri Yandell [EMAIL PROTECTED] wrote: On 8/22/06, Henri Yandell [EMAIL PROTECTED] wrote: Looking at our status file, the following need to be checked off: *1* Check and make sure that the files that have been

Re: Business layer cleanup for 3.2

2006-11-13 Thread Craig L Russell
Hi Allen, We had discussed a number of issues with the manager classes such as misspelled method names and incomplete functionality (having the caller iterate through collections). I'd be happy to review what you've done in terms of cleanup. Regards, Craig On Nov 13, 2006, at 2:10 PM,

Re: Business layer cleanup for 3.2

2006-11-14 Thread Craig L Russell
Hi Allen, On Nov 14, 2006, at 9:06 AM, Allen Gilliland wrote: Dave wrote: On 11/13/06, Allen Gilliland [EMAIL PROTECTED] wrote: One of the things that I am planning to do for the 3.2 release is do some audit/cleanup of the current business layer code. There are a variety of things which

Re: Business layer cleanup for 3.2

2006-11-14 Thread Craig L Russell
now, but there are a few gaps here and there. At the end of the day this work will definitely help to make the work on the JDO/JPA backends quite a bit easier. -- Allen Craig L Russell wrote: Hi Allen, We had discussed a number of issues with the manager classes such as misspelled method

Re: Quick proposal: remove exceptions from Roller.getXXXManager() methods

2006-11-16 Thread Craig L Russell
Just going to resend this one since I didn't hear back from anyone. I plan to make this change while I am cleaning up the business layer a bit. Basically, we don't need to throw a RollerException from every call to Roller.getXXXManager() because 1) it's incredibly unlikely that will cause

Re: Removing the personal directory

2006-11-17 Thread Craig L Russell
Sounds good to me also. Craig On Nov 17, 2006, at 9:20 AM, Allen Gilliland wrote: sounds good to me. Dave wrote: The personal directory contains sample.build.xml and sample.ant.properties files that show you how to create custom deployment targets. But the targets are out of date and if

Re: spaces in tags (from 3.1 discussion)

2006-11-27 Thread Craig L Russell
For me the issue is specificity of the tag. If I am interested in radio astronomy, I might have zero interest in radio and minimal interest in astronomy. My experience with search engines is that given a query radio astronomy, search engines are more likely to return results based on how

Re: [Fwd: Re: spaces in tags (from 3.1 discussion)]

2006-11-27 Thread Craig L Russell
and let others decide. I'm going to delete my redundant address blocks. I'm often a victim of this phenomenon, so it's good to see folks try to reduce its occurrence. Regards, Craig Craig L Russell wrote: For me the issue is specificity of the tag. If I am interested in radio

Re: how to create new users with HibernateUserManagerImpl

2006-12-05 Thread Craig L Russell
Hi Jm, I guess you need to flush the new user using the Roller.flush() API or HibernatePersistenceStrategy.flush() depending on the environment. Craig On Dec 5, 2006, at 10:52 AM, Jm Seigneur wrote: Hello, I've been trying to create new roller users with HibernateUserManagerImpl as

Re: problems with 404.jsp

2006-12-09 Thread Craig L Russell
Hi It might be late, but my opinion is that we should continue to ship a generic 404 page that doesn't leak. Which probably means to strip away anything that might require a database connection. Craig On Dec 1, 2006, at 11:46 AM, Allen Gilliland wrote: Dave wrote: On 12/1/06, Allen

Re: Refactoring required to remove Roller's dependency on Hibernate feature cascade=all-delete-orphan

2006-12-18 Thread Craig L Russell
Hi Mitesh, This is a good analysis of a problem that I've seen as well. Comments follow... On Dec 18, 2006, at 11:03 AM, Mitesh Meswani wrote: Apache mail host seemed to remove the text of the mail. Resending. Hi, I am working to port Roller's backend code to use JPA/JDO (see

Re: Files to checkin to roller trunk

2007-01-02 Thread Craig L Russell
I've checked in these changes. Craig svn commit -m Manage relationships on both sides src tests Sendingsrc/org/apache/roller/pojos/FolderData.java Sendingsrc/org/apache/roller/pojos/WeblogCategoryData.java Sendingtests/org/apache/roller/business/PingsTest.java

Re: svn commit: r492013 - in /incubator/roller/trunk: src/org/apache/roller/pojos/FolderData.java src/org/apache/roller/pojos/WeblogCategoryData.java tests/org/apache/roller/business/PingsTest.java

2007-01-06 Thread Craig L Russell
I checked in the patch. AOK now? Craig On Jan 6, 2007, at 4:34 PM, Mitesh Meswani wrote: Index: tests/org/apache/roller/business/BookmarkTest.java === --- tests/org/apache/roller/business/BookmarkTest.java (revision 493201)

Re: Quick Proposal: new status field for comments

2007-01-09 Thread Craig L Russell
+1 Sounds like a good idea. Craig On Jan 9, 2007, at 11:51 AM, Allen Gilliland wrote: This is another very short proposal which I'll just do on the list. Currently, the roller_comment table has 3 boolean columns for approved, spam, pending which identify the state of the comment. This

Re: Changes to FolderData and WeblogCategoryData

2007-01-09 Thread Craig L Russell
I've applied the changes and committed them. Craig svn commit -m Roll back managed relationship changes from revision 492013 src/org/apache/roller/pojos/WeblogCategoryData.java src/org/ apache/roller/pojos/FolderData.java Sendingsrc/org/apache/roller/pojos/FolderData.java Sending

Re: Heads up: JPA integration and eliminating PersistentObject

2007-01-11 Thread Craig L Russell
We should start with a high level design for the web interaction. There are basically two strategies: entity manager per request and entity manager per session. Entity manager per request: A new EM is obtained for each request. Entities that are retrieved from the database are detached at

Re: Fix for typos in roller code

2007-01-23 Thread Craig L Russell
Hi Markus, Have you checked out the code since you submitted this patch? I checked in your changes last week with revision 496903. I guess svn is not set up to send mail to the roller-dev alias. Regards, Craig On Jan 22, 2007, at 4:08 PM, Markus Fuchs wrote: Hi, Did anybody have the

Re: Roller JPA backend status

2007-01-24 Thread Craig L Russell
Hi Dave, I'm afraid that we're rolling over a cliff here. I'd like to have a discussion and resolution on the future of the JPA sandbox work, and IMHO putting it into a branch just defers the real decision that we need to make. There are advantages and disadvantages with using JPA

Re: svn commit: r499420 - /incubator/roller/trunk/src/org/apache/roller/pojos/RefererData.java

2007-01-24 Thread Craig L Russell
Hi Mitesh, ...we can generate and assign a UUID in constructor of the pojos. We can use UUID generator based on JavaSE 5 or use one bundled with apache commons (http://jakarta.apache.org/commons/sandbox/id/ apidocs/org/apache/commons/id/uuid/UUID.html) +1 Until all persistence providers

Re: Initial proposal for Roller 4.0 release

2007-01-26 Thread Craig L Russell
Hi Sean, On Jan 26, 2007, at 10:51 AM, Sean Gilligan wrote: 2) I thought there was a wrapper for DB independence, so that Hibernate could still be fully supported? JPA is the wrapper as far as I understand. In the current version I recall there being a Manager interface that

Re: Fix for typos in roller code

2007-01-27 Thread Craig L Russell
email, once it went in... -- markus. Craig L Russell wrote: Hi Markus, Have you checked out the code since you submitted this patch? I checked in your changes last week with revision 496903. I guess svn is not set up to send mail to the roller-dev alias. Regards, Craig On Jan 22

Re: [VOTE] Gradate Roller to TLP (Roller team: this means you)

2007-02-05 Thread Craig L Russell
On Feb 5, 2007, at 2:55 PM, Henri Yandell wrote: On 2/5/07, Dave [EMAIL PROTECTED] wrote: Elias +1 Allen +1 Matt S +1 Matt R +1 Henri +1 Anil +1 Craig +1 I always get grumbled at for not voting on votes I call. Nice to know others share that habit :) Looks to me like we have voted for

Re: svn commit: r513725 - in /incubator/roller/branches/roller_4.0: apps/planet/src/java/org/apache/roller/planet/pojos/ src/org/apache/roller/pojos/

2007-03-02 Thread Craig L Russell
Hi Dave, Did you contact the OpenJPA folks about this? Seems like white space should be ignored. And so if not a bug it should at least be a usability feature... Craig On Mar 2, 2007, at 4:17 AM, [EMAIL PROTECTED] wrote: -querySELECT COUNT(c), c.weblogEntry.website.handle,

Re: 4.0 Branch, JPA, trunk, etc

2007-03-02 Thread Craig L Russell
On Mar 2, 2007, at 10:01 AM, Dave wrote: On 3/2/07, Allen Gilliland [EMAIL PROTECTED] wrote: maybe the best thing to do technically is to branch the trunk for 3.2 now and make the trunk the official 4.0-dev place? Even better Here's what we will have: trunk - for 4.0 development

Fwd: White space in xml queries

2007-03-02 Thread Craig L Russell
? On Mar 2, 2007, at 6:00 PM, Craig L Russell wrote: Hey, The Roller project found that OpenJPA didn't like line endings (white space) in JPAQL queries in metadata. This is a surprise. Don't we ignore white space in queries unless quoted? Craig Begin forwarded message

Re: Pregraduation list

2007-03-07 Thread Craig L Russell
Just catching up on filtered mail... +1 on sending the wiki notifications to roller-dev. I'd also be happy to moderate any of the roller email aliases...clr at apache dot org Craig On Jan 5, 2007, at 10:28 AM, Dave wrote: Thanks Henri. I just signed up with user name 'snoopdave' - Dave

Re: Apache Roller 3.1 RC4 available for testing

2007-03-12 Thread Craig L Russell
+1 Let's get this out. Craig On Mar 12, 2007, at 9:56 AM, Elias Torres wrote: +1 Allen Gilliland wrote: +1 can we please vote and get this release finished now, this thing is so far behind the development work that it's beginning to cause problems. we need to catch up on releases.

Re: Apache Roller 3.1 RC4 available for testing

2007-03-12 Thread Craig L Russell
://opensource.atlassian.com/projects/roller/ browse/ROL-1371 I'd like to upload RC5 today and call for a formal release vote tomorrow. Objections? Sounds like a plan. Craig - Dave On 3/12/07, Craig L Russell [EMAIL PROTECTED] wrote: +1 Let's get this out. Craig On Mar 12, 2007, at 9

Re: VOTE: Release Apache Roller 3.1

2007-03-12 Thread Craig L Russell
I haven't run RAT myself. Perhaps Robert could give us a pointer. Craig On Mar 12, 2007, at 6:39 PM, Dave wrote: On 3/12/07, Craig L Russell [EMAIL PROTECTED] wrote: I downloaded and verified signatures for the .tar.gz and .zip files. Look good. Just one comment on the LICENSE.txt

Re: VOTE: Release Apache Roller 3.1

2007-03-12 Thread Craig L Russell
/rat-report.html I've downloaded it and I'll take a look at how easy it is to use in the next 5 minutes. Craig On Mar 12, 2007, at 7:57 PM, Craig L Russell wrote: I haven't run RAT myself. Perhaps Robert could give us a pointer. Craig On Mar 12, 2007, at 6:39 PM, Dave wrote: On 3/12/07

Re: VOTE: Release Apache Roller 3.1

2007-03-16 Thread Craig L Russell
Hi Dave, Verified signatures on .tar.gz and .zip. +1 Craig On Mar 14, 2007, at 9:24 AM, Dave wrote: Jon Stevens downloaded RC5, tested and found a couple of bugs in the new File Upload sub-folder feature, so I fixed that and couple of footer links. Now we have RC6

Re: ROL-1379: Upgrade to Apache XMLRPC 3.0

2007-03-23 Thread Craig L Russell
+1 Craig On Mar 23, 2007, at 10:07 AM, Allen Gilliland wrote: +1 Elias Torres wrote: +1 Matt Raible wrote: +1 On 3/23/07, Dave [EMAIL PROTECTED] wrote: The Apache XMLRPC project made a major new release in August 2006, it's first in over two years. Why should we upgrade? 1) Numerous bug