antonio 2004/04/17 01:58:53
Modified: src/blocks/velocity/samples samples.xml
Added: src/blocks/velocity/conf velocity.xsamples
Log:
Enabling velocity block samples
Revision Changes Path
1.1 cocoon-2.1/src/blocks/velocity/conf/velocity.xsamples
Index: velocity.xsamples
===================================================================
<?xml version="1.0"?>
<!--
Copyright 1999-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<xsamples xpath="/samples" unless="[EMAIL PROTECTED]'Velocity']">
<group name="Velocity">
<sample name="Velocity Block" href="velocity/">
Examples of generation using Velocity.
</sample>
</group>
</xsamples>
1.2 +2 -2 cocoon-2.1/src/blocks/velocity/samples/samples.xml
Index: samples.xml
===================================================================
RCS file: /home/cvs//cocoon-2.1/src/blocks/velocity/samples/samples.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- samples.xml 17 Apr 2004 08:27:05 -0000 1.1
+++ samples.xml 17 Apr 2004 08:58:53 -0000 1.2
@@ -23,8 +23,8 @@
</group>
<group name="Simple Velocity examples">
- <sample name="Hello, world!" href="hello.pdf">
- The well-known hello.xml document rendered using Velocity.
+ <sample name="Hello, world!" href="hello.vm">
+ A hello world document rendered using Velocity.
</sample>
</group>