stefano 2003/02/21 05:27:04
Modified: tools/src blocks-build.xsl
Log:
fix a typo that didn't make the block compile mocks. This should fix the full build
on JDK 1.4, there is still some work to do for 1.3 but I'm workign on it
Revision Changes Path
1.20 +4 -4 xml-cocoon2/tools/src/blocks-build.xsl
Index: blocks-build.xsl
===================================================================
RCS file: /home/cvs/xml-cocoon2/tools/src/blocks-build.xsl,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- blocks-build.xsl 20 Feb 2003 20:04:58 -0000 1.19
+++ blocks-build.xsl 21 Feb 2003 13:27:03 -0000 1.20
@@ -66,10 +66,10 @@
</xsl:if>
<!-- Test if this block has special build -->
- <available property="{$block-name}.has.build"
file="{string('${block}')}/{$block-name}/build.xml"/>
+ <available property="{$block-name}.has.build"
file="{string('${blocks}')}/{$block-name}/build.xml"/>
<!-- Test if this block has mocks -->
- <available property="{$block-name}.has.mocks" type="dir"
file="{string('${block}')}/{$block-name}/mocks/"/>
+ <available property="{$block-name}.has.mocks" type="dir"
file="{string('${blocks}')}/{$block-name}/mocks/"/>
<xsl:if test="@status='unstable'">
<echo message="-----------------------------------------------"/>
@@ -95,7 +95,7 @@
</xsl:if>
<!-- Test if this block has samples -->
- <available property="{$block-name}.has.samples"
file="{string('${block}')}/{$block-name}/samples/sitemap.xmap"/>
+ <available property="{$block-name}.has.samples"
file="{string('${blocks}')}/{$block-name}/samples/sitemap.xmap"/>
<antcall target="{$block-name}-samples"/>
</target>
@@ -132,7 +132,7 @@
</path>
</target>
- <target name="{$block-name}-compile"
depends="{$block-name}-build,{$block-name}-prepare,{$block-name}-mocks">
+ <target name="{$block-name}-compile"
depends="{$block-name}-build,{$block-name}-mocks,{$block-name}-prepare">
<copy filtering="on" todir="{string('${build.blocks}')}/{$block-name}/src">
<fileset dir="{string('${blocks}')}/{$block-name}/java">