Author: jmitchell
Date: Mon Oct 16 20:46:00 2006
New Revision: 464784
URL: http://svn.apache.org/viewvc?view=rev&rev=464784
Log:
STR-2899 added a blurb to get the s1 blank up on the jetty plugin (won't work
until the archetype is released and deployed)
Modified:
struts/struts1/trunk/src/site/xdoc/faqs/apps.xml
Modified: struts/struts1/trunk/src/site/xdoc/faqs/apps.xml
URL:
http://svn.apache.org/viewvc/struts/struts1/trunk/src/site/xdoc/faqs/apps.xml?view=diff&rev=464784&r1=464783&r2=464784
==============================================================================
--- struts/struts1/trunk/src/site/xdoc/faqs/apps.xml (original)
+++ struts/struts1/trunk/src/site/xdoc/faqs/apps.xml Mon Oct 16 20:46:00 2006
@@ -33,6 +33,38 @@
elsewhere and is referenced by "(more...)" links where
possible.
</p>
+
+ <p>
+ For those who are short on time and/or patience,
+ you can get a Struts application up and running
+ in a matter of minutes thanks to Maven's archetype
+ feature.
+ </p>
+ <p>
+ NOTE - as of the time of this writing (10/16/2006), the
+ specified version in this example has not been released.
+ Once this has been released, this note can be removed and
+ the archetype will work fine.
+ <code>
+ <pre>
+ $ cd ~/projects
+
+ $ mvn archetype:create
\
+
-DarchetypeGroupId=org.apache.struts \
+
-DarchetypeArtifactId=struts-archetype-blank \
+ -DarchetypeVersion=1.3.5
\
+ -DgroupId=com.example
\
+
-DpackageName=com.example.projectname \
+ -DartifactId=my-webapp
+
+ $ cd my-webapp
+
+ $ mvn install
+
+ $ mvn jetty:run
+ </pre>
+ </code>
+ </p>
<subsection name="Caveats">
<ol>