During yesterday's mini-hackathon for the new jdo backend we spent a bit of time talking through some issues with the build process and it became clear that there were a few things that could be improved to make it easier for folks who want to add customizations to the build process.

I want to propose these changes to the build process just for the backend (roller-business.jar) ...

1. rename target 'gen-hibernate' to 'gen-business'

2. rename 'custom-gen-beans.xmlf' to 'custom-gen-business.xmlf'

3. re purpose 'custom-gen-business.xmlf' so that instead of simply allowing someone to add filesets to the hibernatedoclet call, instead move it to below the hibernatedoclet call so that it can actually be used to do any kind of custom generation work for the business layer.

4. rename 'custom-src-beans.xmlf' to 'custom-build-business.xmlf'

5. re purpose 'custom-build-business.xmlf' so that it doesn't just include filesets of additional sources to be included in the compile call, but instead goes below the existing call to javac and can be used to do any type of custom build work.

6. change the copy command which copies in the hibernate resources to do a more generalized copy of any static resource files in the src tree, excluding various things that we wouldn't want like .java files or .svn directories, etc.


I think these changes would make it a whole lot easier for people adding customizations to the build process to do anything they need to do. Right now you are limited to only being able to add to existing build structures and add filesets.

thoughts?  objections?

-- Allen

Reply via email to