You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2007/03/06 18:37:19 UTC
svn commit: r515223 - in /tapestry/tapestry5/quickstart/trunk: .project
pom.xml src/site/apt/index.apt src/site/site.xml
Author: hlship
Date: Tue Mar 6 09:37:19 2007
New Revision: 515223
URL: http://svn.apache.org/viewvc?view=rev&rev=515223
Log:
Rename tapestry-simple (archetype) to quickstart
Modified:
tapestry/tapestry5/quickstart/trunk/.project
tapestry/tapestry5/quickstart/trunk/pom.xml
tapestry/tapestry5/quickstart/trunk/src/site/apt/index.apt
tapestry/tapestry5/quickstart/trunk/src/site/site.xml
Modified: tapestry/tapestry5/quickstart/trunk/.project
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/quickstart/trunk/.project?view=diff&rev=515223&r1=515222&r2=515223
==============================================================================
--- tapestry/tapestry5/quickstart/trunk/.project (original)
+++ tapestry/tapestry5/quickstart/trunk/.project Tue Mar 6 09:37:19 2007
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>tapestry-simple</name>
+ <name>quickstart</name>
<comment></comment>
<projects>
</projects>
Modified: tapestry/tapestry5/quickstart/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/quickstart/trunk/pom.xml?view=diff&rev=515223&r1=515222&r2=515223
==============================================================================
--- tapestry/tapestry5/quickstart/trunk/pom.xml (original)
+++ tapestry/tapestry5/quickstart/trunk/pom.xml Tue Mar 6 09:37:19 2007
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.tapestry</groupId>
- <artifactId>tapestry-simple</artifactId>
+ <artifactId>quickstart</artifactId>
<version>5.0.3-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<parent>
@@ -11,7 +11,7 @@
<version>5.0.3-SNAPSHOT</version>
<relativePath>../tapestry-project/pom.xml</relativePath>
</parent>
- <name>Tapestry 5 Simple Archetype</name>
+ <name>Tapestry 5 Quickstart Archetype</name>
<inceptionYear>2007</inceptionYear>
<url>http://tapestry.apache.org/tapestry5/${pom.artifactId}/</url>
<scm>
Modified: tapestry/tapestry5/quickstart/trunk/src/site/apt/index.apt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/quickstart/trunk/src/site/apt/index.apt?view=diff&rev=515223&r1=515222&r2=515223
==============================================================================
--- tapestry/tapestry5/quickstart/trunk/src/site/apt/index.apt (original)
+++ tapestry/tapestry5/quickstart/trunk/src/site/apt/index.apt Tue Mar 6 09:37:19 2007
@@ -6,7 +6,7 @@
An
{{{http://maven.apache.org/plugins/maven-archetype-plugin/index.html}archetype}} is the Maven term for a project template. Using a Maven archetype, you
- can create an empty shell of your project in seconds.
+ can create an empty shell of your project in just seconds.
What you end up with is a basic Maven project, ready to build and deploy.
@@ -16,12 +16,12 @@
From the command line, you execute the following command (it's a bit of a doozy):
- mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=tapestry-simple -DarchetypeVersion=5.0.2 -DgroupId=<<org.example>> -DartifactId=<<myapp>> -DpackageName=<<org.example.myapp>> -Dversion=<<1.0.0-SNAPSHOT>>
+ mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.3 -DgroupId=<<org.example>> -DartifactId=<<myapp>> -DpackageName=<<org.example.myapp>> -Dversion=<<1.0.0-SNAPSHOT>>
Maven will use the information from that massive command line to locate and configure the archetpe, and produce the project:
+---+
-$ mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=tapestry-simple -DarchetypeVersion=5.0.2 -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT
+$ mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.3 -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] ----------------------------------------------------------------------------
@@ -33,7 +33,7 @@
[INFO] [archetype:create]
[INFO] ----------------------------------------------------------------------------
-[INFO] Using following parameters for creating Archetype: tapestry-simple:5.0.2
+[INFO] Using following parameters for creating Archetype: quickstart:5.0.3
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.example
[INFO] Parameter: packageName, Value: org.example.myapp
@@ -57,7 +57,7 @@
<This first time you try this, you'll probably see a huge amount of messages about Maven downloading stuff, in addition to what's above.>
- Maven has combined your information to form a new directory containing your application. It has created a Maven pom.xml, a web.xml, a log4j.properties file, an index.html,
+ Maven has combined your information to form a new directory containing your application. It has created a Maven pom.xml, a web.xml, a log4j.properties file,
and a starting page (Start.html and Start.java) with each file in its correct location. It also creates a starter Tapestry IoC module for the application (AppModule.java).
You can run the application directly, using the Jetty servlet container:
Modified: tapestry/tapestry5/quickstart/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/quickstart/trunk/src/site/site.xml?view=diff&rev=515223&r1=515222&r2=515223
==============================================================================
--- tapestry/tapestry5/quickstart/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/quickstart/trunk/src/site/site.xml Tue Mar 6 09:37:19 2007
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<project name="Apache Tapestry">
+<project name="Tapestry Quickstart Archetype">
<bannerLeft>
- <name>Tapestry</name>
- <href>http://tapestry.apache.org/</href>
+ <name>Tapestry 5</name>
+ <href>http://tapestry.apache.org/tapestry5/</href>
<src>images/tapestry_banner.gif</src>
</bannerLeft>
<bannerRight>