cvs commit: cocoon-2.1/tools/src blocks-build.xsl
stefano 2004/01/01 14:43:29 Modified:tools/src blocks-build.xsl Log: - smaller notices in case blocks are exluded - pretty printed WARNING in case of alpha blocks - removed the alpha term that gave bad impression to people - added unless.excluded... to block-***-prepare so that the block is not prepared if exluded from the build (this speeds up the build rather significantly when only a few blocks are selected... as I normally do ;-) Revision ChangesPath 1.44 +8 -9 cocoon-2.1/tools/src/blocks-build.xsl Index: blocks-build.xsl === RCS file: /home/cvs/cocoon-2.1/tools/src/blocks-build.xsl,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- blocks-build.xsl 20 Dec 2003 10:02:39 - 1.43 +++ blocks-build.xsl 1 Jan 2004 22:43:29 - 1.44 @@ -269,9 +269,7 @@ xsl:variable name=cocoon-block-dependencies select=depend[starts-with(@project,'cocoon-block-')]/ target name=[EMAIL PROTECTED] if=exclude.block.{$block-name} - echo message=---/ - echo message=ATTENTION: {$block-name} is excluded from the build./ - echo message=---/ + echo message=NOTICE: Block '{$block-name}' is excluded from the build./ /target target name=[EMAIL PROTECTED] unless=unless.exclude.block.{$block-name}/ @@ -294,11 +292,12 @@ available property={$block-name}.has.mocks type=dir file={string('${blocks}')}/{$block-name}/mocks// xsl:if test=@status='unstable' -echo message=---/ -echo message=ATTENTION: {$block-name} is marked unstable./ -echo message=It should be considered alpha quality/ -echo message=which means that its API might change without notice./ -echo message=---/ +echo message= WARNING ===/ +echo message= Block '{$block-name}' should be considered unstable./ +echo message=/ +echo message= This means that its API, schemas / +echo message= and other contracts might change without notice./ +echo message=/ /xsl:if antcall target={$block-name}-compile/ @@ -342,7 +341,7 @@ antcall target={$block-name}-webinf/ /target -target name={$block-name}-prepare +target name={$block-name}-prepare unless=unless.exclude.block.{$block-name} xsl:if test=depend xsl:attribute name=depends xsl:value-of select=@name/
cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/transformation EffectPipe.java
reinhard2004/01/01 07:11:22 Modified:src/blocks/woody/java/org/apache/cocoon/woody/transformation EffectPipe.java Log: - javac (1.3.1) needs the this prefix in order to compile (Eclipse compiled without any problems) -- hope it doesn't break anything Revision ChangesPath 1.4 +3 -3 cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/transformation/EffectPipe.java Index: EffectPipe.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/transformation/EffectPipe.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- EffectPipe.java 29 Dec 2003 22:46:25 - 1.3 +++ EffectPipe.java 1 Jan 2004 15:11:22 - 1.4 @@ -204,9 +204,9 @@ public Output() { elements = new LinkedList(); } -public void startPrefixMapping() throws SAXException { startPrefixMapping(prefix, uri); } +public void startPrefixMapping() throws SAXException { this.startPrefixMapping(prefix, uri); } -public void endPrefixMapping() throws SAXException { endPrefixMapping(prefix); } +public void endPrefixMapping() throws SAXException { this.endPrefixMapping(prefix); } public void element(String prefix, String uri, String loc, Attributes attrs) throws SAXException { element = new Element(uri, loc, prefix + : + loc, attrs);