Weld SVN: r7008 - archetypes/javaee6-webapp/trunk.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-08-28 00:36:29 -0400 (Sat, 28 Aug 2010)
New Revision: 7008
Modified:
archetypes/javaee6-webapp/trunk/build.sh
archetypes/javaee6-webapp/trunk/readme.txt
Log:
cleanup formatting
add some extra info about app servers
fix txt2html flags
Modified: archetypes/javaee6-webapp/trunk/build.sh
===================================================================
--- archetypes/javaee6-webapp/trunk/build.sh 2010-08-28 04:14:43 UTC (rev 7007)
+++ archetypes/javaee6-webapp/trunk/build.sh 2010-08-28 04:36:29 UTC (rev 7008)
@@ -13,7 +13,7 @@
ARCHETYPE_RESOURCES_DIR=$ARCHETYPE_DIR/src/main/resources/archetype-resources
echo Generating archetype from project into $ARCHETYPE_BUILD_DIR...
-txt2html -pb 1 -p 2 -mh readme.txt > readme.html
+txt2html -pb 1 -p 2 readme.txt > readme.html
mvn clean archetype:create-from-project -Darchetype.properties=archetype.properties
echo Relocating generated archetype project to $ARCHETYPE_DIR...
rsync -az --exclude `basename $0` --exclude archetype-pom.xml --exclude eclipse-dot-files $ARCHETYPE_BUILD_DIR/src $ARCHETYPE_DIR/
Modified: archetypes/javaee6-webapp/trunk/readme.txt
===================================================================
--- archetypes/javaee6-webapp/trunk/readme.txt 2010-08-28 04:14:43 UTC (rev 7007)
+++ archetypes/javaee6-webapp/trunk/readme.txt 2010-08-28 04:36:29 UTC (rev 7008)
@@ -1,5 +1,5 @@
- jboss-javaee6-webapp-src
- ************************
+ jboss-javaee6-webapp-src
+ ++++++++++++++++++++++++
#Source archetype:# jboss-javaee6-webapp
@@ -17,11 +17,14 @@
System requirements
===================
- All you need to run this project is Java 5.0 (Java SDK 1.5) or greator and
- Maven 2.0.10 or greater. However, we strongly recommend Java 6.0 and Maven 3.
- This application is configured to be run on a Java EE 6 application server.
- We've tested it on both GlassFish 3.0.1 and JBoss AS 6.0.0.M4.
+ All you need to build this project is Java 5.0 (Java SDK 1.5) or better, Maven
+ 2.0.10 or better. We strongly recommend, however, that you use Java 6.0 (Java
+ SDK 1.6) and Maven 3.
+ The application this project produces is designed to be run on a Java EE 6
+ application server. We recommend JBoss AS 6.0.0.M4 or GlassFish 3.0.1, though
+ it should work on any server that is Java EE 6 compliant.
+
NOTE:
This project retrieves artifacts from the JBoss Community Maven repository, a
superset of the Maven central repository, because there are certain Java EE
@@ -33,11 +36,14 @@
TIP:
As of JBoss AS 6.0.0.M4, modifications are required to get the sample JAX-RS
resource working. See the JaxRsActivator class in this project for instructions.
-
+
+ With the prerequisites out of the way, you're ready to build and deploy.
+
Deploying the application
=========================
- To deploy the application, first produce the archive to deploy:
+ To deploy the application, you first need to produce the archive to deploy using
+ the following Maven goal:
mvn package