haul 2003/10/13 05:40:19
Modified: tools/src blocks-build.xsl
Log:
check not only for block samples by testing samples/sitemap.xmap but also
conf/{$block-name}.xsamples
Revision Changes Path
1.35 +2 -1 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.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- blocks-build.xsl 11 Sep 2003 22:55:56 -0000 1.34
+++ blocks-build.xsl 13 Oct 2003 12:40:19 -0000 1.35
@@ -13,7 +13,7 @@
</fileset>
<fileset dir="{string('${lib.endorsed}')}">
<include name="*.jar"/>
- </fileset>
+ </fileset>
<!-- Currently, we have no JVM dependent libraries
<fileset dir="{string('${lib.core}/jvm${target.vm}')}">
<include name="*.jar"/>
@@ -303,6 +303,7 @@
<!-- Test if this block has samples -->
<available property="{$block-name}.has.samples"
file="{string('${blocks}')}/{$block-name}/samples/sitemap.xmap"/>
+ <available property="{$block-name}.has.samples"
file="{string('${blocks}')}/{$block-name}/conf/{$block-name}.xsamples"/>
<antcall target="{$block-name}-samples"/>
</target>