You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@apache.org on 2002/02/06 05:45:16 UTC
cvs commit: jakarta-velocity-dvsl/examples/simple ConfigVel.java build.xml
geirm 02/02/05 20:45:16
Modified: examples/simple build.xml
Added: examples/simple ConfigVel.java
Log:
ConfigVel : simple example 'configuration' class for the velocity engine
inside DVSL
build.xml : modified to use te ConfigVel to config vel
Revision Changes Path
1.3 +2 -0 jakarta-velocity-dvsl/examples/simple/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-velocity-dvsl/examples/simple/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.xml 29 Jan 2002 00:30:11 -0000 1.2
+++ build.xml 6 Feb 2002 04:45:16 -0000 1.3
@@ -23,6 +23,7 @@
<classpath>
<pathelement location="../../velocity-dvsl-0.32.jar"/>
+ <pathelement location="."/>
<path refid="classpath"/>
</classpath>
@@ -34,6 +35,7 @@
extension=".html"
style="${docs.src}/example1.dvsl"
includes="example1.xml"
+ velocityConfigClass="ConfigVel"
/>
</target>
1.1 jakarta-velocity-dvsl/examples/simple/ConfigVel.java
Index: ConfigVel.java
===================================================================
import java.util.HashMap;
/**
* simple demonstration on how to configure the VelocityEngine
* inside DVSL
*/
public class ConfigVel extends HashMap
{
public ConfigVel()
{
put("runtime.log", "velocity-dvsl.log");
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>