You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jo...@apache.org on 2001/03/05 08:46:17 UTC
cvs commit: jakarta-velocity/examples/forumdemo/WEB-INF/conf velocity.properties
jon 01/03/04 23:46:17
Modified: examples/forumdemo README.txt
examples/forumdemo/WEB-INF/conf velocity.properties
Log:
cleanup and fixes
Revision Changes Path
1.2 +4 -8 jakarta-velocity/examples/forumdemo/README.txt
Index: README.txt
===================================================================
RCS file: /home/cvs/jakarta-velocity/examples/forumdemo/README.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README.txt 2000/11/03 02:35:56 1.1
+++ README.txt 2001/03/05 07:46:17 1.2
@@ -1,17 +1,13 @@
-This demo has been tested on Tomcat 3.1.
+This demo has been tested on Tomcat 3.1 and 4.x.
To Install:
-1. Build the demo by running ./build-velocity.sh builddemo
+1. Build the demo by running ./build-velocity.sh forumdemo
2. Drop the WAR (forumdemo.war) made in the Velocity bin into your Tomcat webapps directory.
3. Start Tomcat ( this will expand the forumdemo.war )
-4. Stop Tomcat and edit the velocity.properties file located in the forumdemo/WEB-INF/conf
- directory.
+4. Point your browser to http://yourhost.com/forumdemo
-5. Restart Tomcat and point your browser to http://yourhost.com/forumdemo
-
-
--- Have Fun --
\ No newline at end of file
+-- Have Fun --
1.2 +1 -19 jakarta-velocity/examples/forumdemo/WEB-INF/conf/velocity.properties
Index: velocity.properties
===================================================================
RCS file: /home/cvs/jakarta-velocity/examples/forumdemo/WEB-INF/conf/velocity.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- velocity.properties 2000/11/03 02:42:53 1.1
+++ velocity.properties 2001/03/05 07:46:17 1.2
@@ -1,19 +1 @@
-# These are the default properties for the
-# Velocity Runtime. These values are used when
-# Runtime.init() is called, and when Runtime.init(properties)
-# fails to find the specificed properties file.
-
-# Add the full path to these files
-# Where FULL_PATH is the path leading
-# to Tomcat
-runtime.log=FULL_PATH/webapps/forumdemo/logs/velocity.log
-template.path=FULL_PATH/webapps/forumdemo/template
-
-template.loader=org.apache.velocity.runtime.loader.FileTemplateLoader
-template.modificationCheckInterval = 2
-template.cache=false
-template.encoding = UTF8
-template.asciihack = false
-counter.name = velocityCounter
-counter.initial.value = 1
-default.contentType=text/html
+resource.loader.1.resource.path = ./webapps/forumdemo/template
\ No newline at end of file