Author: cbrisson
Date: Sat Nov  5 03:06:57 2016
New Revision: 1768146

URL: http://svn.apache.org/viewvc?rev=1768146&view=rev
Log:
[site] fix instructions to run the showcase example webapp

Modified:
    velocity/site/cms/trunk/content/tools/devel/view.mdtext

Modified: velocity/site/cms/trunk/content/tools/devel/view.mdtext
URL: 
http://svn.apache.org/viewvc/velocity/site/cms/trunk/content/tools/devel/view.mdtext?rev=1768146&r1=1768145&r2=1768146&view=diff
==============================================================================
--- velocity/site/cms/trunk/content/tools/devel/view.mdtext (original)
+++ velocity/site/cms/trunk/content/tools/devel/view.mdtext Sat Nov  5 03:06:57 
2016
@@ -62,14 +62,20 @@ These are in addition to those provided
 
 ## Examples
 
-A simple application example has been included to demonstrate the use of the 
VelocityViewServlet with automatically loaded view tools.
+In the VelocityTools sources tree, you will find three examples:
 
-To run the examples you need Tomcat 4+ or a compatible servlet runner.
++ velocity-tools-simple: a minimalist web application.
++ velocity-tools-showcase: a demonstration of all standard tools.
++ velocity-tools-struts: (deprecated) a demonstration of the Struts tools.
 
-The 'ant examples' target of the build process automatically generates 
ready-to-deploy **simple.war** and **showcase.war** archive files located in 
the examples subdirectory of the distribution. Deploy (i.e. copy) one or both 
of these war files to the webapps directory of your servlet runner and restart. 
Now point a web browser at the following urls:
+To run the showcase application locally, run the following command from the 
velocity-tools-examples/velocity-tools-examples-showcase directory:
 
-**http://<your_server>:<port>/simple/**
+    mvn cargo:run
 
-**http://<your_server>:<port>/showcase/**
+Then point your browser to:
 
-You can also use the embedded servlet runner to start and stop the showcase 
webapp on localhost's 8081 port using the **start.showcase.webapp** and 
**stop.showcase.webapp** ant targets.
+     http://localhost:8080/velocity-tools-examples-showcase/
+
+Logs go to:
+
+    
velocity-tools-examples/velocity-tools-examples-showcase/target/cargo/configurations/jetty8x/logs/2016_11_05.stderrout.log


Reply via email to