You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Allen Gilliland <al...@sun.com> on 2006/09/15 01:13:10 UTC
A few mods to build.xml
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
Re: A few mods to build.xml
Posted by Anil Gangolli <an...@busybuddha.org>.
+1
----- Original Message -----
From: "Dave Johnson" <sn...@gmail.com>
To: <ro...@incubator.apache.org>
Sent: Thursday, September 14, 2006 7:49 PM
Subject: Re: A few mods to build.xml
> +1 on all proposed changes - Dave
>
>
> On 9/14/06, Allen Gilliland <al...@sun.com> wrote:
>> 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) ...
>
Re: A few mods to build.xml
Posted by Dave Johnson <sn...@gmail.com>.
+1 on all proposed changes - Dave
On 9/14/06, Allen Gilliland <al...@sun.com> wrote:
> 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) ...
Re: A few mods to build.xml
Posted by Craig L Russell <Cr...@Sun.COM>.
Good changes, as we discussed.
Craig
On Sep 14, 2006, at 4:13 PM, Allen Gilliland wrote:
> 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
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!