--- Antonio Gallardo <[EMAIL PROTECTED]> wrote:
> Timothy Larson dijo:
> > Does the attached cvs diff look like the right way
> > to control whether prepare-docs occurs and whether
> > validation occurs for the config, xdocs, and jars,
> > and whether the paranoid block is included?
> >
> Thanks for sharing with the rest. Overall is good. I have just 1 question:
> Where we will validate the config, xdocs and jars?
Good eye. Would you mind looking over the attached updated cvs diff?
I modified the validate.* parameters to work like the exclude.block
parameters (e.g. with exclude.* and unless.exclude.*).
--Tim Larson
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
Index: blocks.properties
===================================================================
RCS file: /home/cvs/cocoon-2.1/blocks.properties,v
retrieving revision 1.52
diff -r1.52 blocks.properties
46a47
> #exclude.block.paranoid=true
Index: build.properties
===================================================================
RCS file: /home/cvs/cocoon-2.1/build.properties,v
retrieving revision 1.31
diff -r1.31 build.properties
18a19
> #exclude.documentation=true
31,33c32,34
< validate.config=true
< validate.xdocs=true
< validate.jars=true
---
> #exclude.validate.config=true
> #exclude.validate.xdocs=true
> #exclude.validate.jars=true
Index: tools/targets/init-build.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/tools/targets/init-build.xml,v
retrieving revision 1.3
diff -r1.3 init-build.xml
60,61c60,61
< <condition property="exclude.validate.jars">
< <isfalse value="${validate.jars}"/>
---
> <condition property="unless.exclude.validate.jars">
> <isfalse value="${exclude.validate.jars}"/>
63,64c63,64
< <condition property="exclude.validate.config">
< <isfalse value="${validate.config}"/>
---
> <condition property="unless.exclude.validate.config">
> <isfalse value="${exclude.validate.config}"/>
66,67c66,67
< <condition property="exclude.validate.xdocs">
< <isfalse value="${validate.xdocs}"/>
---
> <condition property="unless.exclude.validate.xdocs">
> <isfalse value="${exclude.validate.xdocs}"/>
Index: tools/targets/validate-build.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/tools/targets/validate-build.xml,v
retrieving revision 1.2
diff -r1.2 validate-build.xml
4c4
< <target name="validate-jars" depends="prepare" unless="exclude.validate.jars">
---
> <target name="validate-jars" depends="prepare"
> unless="unless.exclude.validate.jars">
62c62
< <target name="validate-config" depends="prepare" unless="exclude.validate.config">
---
> <target name="validate-config" depends="prepare"
> unless="unless.exclude.validate.config">
72c72
< <target name="validate-xdocs" depends="prepare-docs"
unless="exclude.validate.xdocs">
---
> <target name="validate-xdocs" depends="prepare-docs"
> unless="unless.exclude.validate.xdocs">