cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: The new build system
Date Wed, 26 Feb 2003 11:55:42 GMT
> From: Martin Holz [mailto:holz@fiz-chemie.de]
> Stefano Mazzocchi <stefano@apache.org> writes:
> 
> > Martin Holz wrote:
> > > Stefano Mazzocchi <stefano@apache.org> writes:
> > >
> > 
> > >>The new build system has landed on CVS.
> > > [...]
> > 
> > >>  read BUILD.txt
> > >>  cp blocks.properties local.blocks.properties
> > >>  cp build.properties local.build.properties
> > >>  [modify the local copies as you like, leaving the 
> original intact]
> > >>  build webapp [this will generate the webapp]
> > > Does overriding boolean properties work? If I set
> > 
> > > "exclude.webapp.samples=false"
> > > in local.build.properties a target like <target
> > > name="prepare-webapp-samples" depends="package-samples"
> > > unless="exclude.webapp.samples"> won't be executed. "unless" does
> > > not test, if the variable has the value of "true" or "false".
> > 
> > > It tests, if the value is defined.  At least, that's what the
> > > documentation for ant 1.5 says.
> > 
> > > The only way to execute the target is removing the definition from
> > > local.build.properties
> > 
> > > and build.properties. The result will be failed build, 
> but that's a other story.
> > 
> > You don't have to set things to false, you have to uncomment them!
> 
> In local.build.properties? This would not help, since they
> are defined in build.properties, which is read by build.xml
> immediately   after  local.build.properties. You would have 
> to uncomment them in build.properties.

No, that's not how ANT works.

Follow the instructions and *TRY* them before emailing!

J.


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

Mime
View raw message