cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi" <>
Subject Re: [PATCH] new build targets
Date Thu, 24 Jan 2002 14:59:33 GMT
----- Original Message -----
From: "Nicola Ken Barozzi" <>
To: <>; <>
Sent: Thursday, January 24, 2002 10:12 AM
Subject: Re: [PATCH] new build targets

> From: "David Crossley" <>
> > You were also adding a copy of the "init" target from
> > build.xml into build-i.xml and build-s.xml ... why?
> > This seems like a maintenance nightmare for the release
> > manager, as he would need to update release info in 3 places.

This is also related to what IMHO is another "problem"; the size of the
To correct my hack of duplicating properties in builds for not
requring dependency, I have succesfully put the init target in another file
and have all builds reference it as an external system entity.

<?xml version="1.0"?>
<!DOCTYPE project [
<!ENTITY init-target SYSTEM "init.xpart">


  &init-target;  <!-- external reference to init.xpart -->

Before submitting any further patch, I would propose to to split the build
as follows:

build.xml (main build entry; contains following targets
            as SYSTEM entities and compilation+jar-war generation)
/tools/build/init.xpart (init target)
/tools/build/optional.xpart (optional components related targets)
/tools/build/xml2java.xpart (xml2java generation related targets)
/tools/build/docs.xpart (documentation+javadoc generation targets)
/tools/build/dev.xpart (dists+patchqueue+fixsrclf targets)
/tools/build/interactive.xpart (interactive target)
/tools/build/scratchpad.xpart (scratchpad target)
/tools/build/try.xpart (new targets to try)

For scratchpads, I propose that each scratchpad subdir represents a
scratchpad project, as schecoon does.
Each sub-dir should have its own indipendent build.xml that can be run as a
try target (see current build.xml as an example) and, when ready, included
in interactive scratchpad builds for all to test.

Nicola Ken Barozzi       
These are the days of miracle and wonder...
 don't cry baby, don't cry...
                                                  Paul Simon

To unsubscribe, e-mail:
For additional commands, email:

View raw message