cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernhard Huber <berni_hu...@a1.net>
Subject Re: Ripping the heart out
Date Mon, 10 Mar 2003 14:53:01 GMT
>
>
>> So, conclusion:
>> a) Let's get the samples working asap
>>
First step for me : fixing build.xml
build.properties defines:
exclude.webapp.documentation=true
exclude.webapp.javadocs=true
exclude.webapp.scratchpad=true
exclude.webapp.samples=true

exclude.scratchpad=true
exclude.deprecated=true

If we want to stick to these exclude.XXX properties toggling to true or 
false in build.properties, respectivly
in local.build.properties
I think we have to shadow them by

<condition property="unless.exclude.XXX">
 <istrue value="${exclude.XXX}"/>
</condition>

and using
<target ... unless="${unless.exclude.XXX}">

I have discussed it shorly with Sylvain, is this the way to go?
So in the build*.properties you can say
exclude.webapp.samples=true, or exclude.webapp.samples=false
in the build.xml
the "shadow" property unless.exclude.webapp.samples is set iff 
unless.exclude is true,
else unless.exclude.webapp.samples is not set.



Mime
View raw message