You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by bu...@apache.org on 2014/07/19 12:44:42 UTC
svn commit: r916771 - in /websites/staging/isis/trunk: cgi-bin/ content/
content/contributors/recreating-an-archetype.html
Author: buildbot
Date: Sat Jul 19 10:44:42 2014
New Revision: 916771
Log:
Staging update by buildbot for isis
Modified:
websites/staging/isis/trunk/cgi-bin/ (props changed)
websites/staging/isis/trunk/content/ (props changed)
websites/staging/isis/trunk/content/contributors/recreating-an-archetype.html
Propchange: websites/staging/isis/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 19 10:44:42 2014
@@ -1 +1 @@
-1611883
+1611884
Propchange: websites/staging/isis/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 19 10:44:42 2014
@@ -1 +1 @@
-1611883
+1611884
Modified: websites/staging/isis/trunk/content/contributors/recreating-an-archetype.html
==============================================================================
--- websites/staging/isis/trunk/content/contributors/recreating-an-archetype.html (original)
+++ websites/staging/isis/trunk/content/contributors/recreating-an-archetype.html Sat Jul 19 10:44:42 2014
@@ -407,9 +407,9 @@
<h3>Check the example app</h3>
-<p>Switch to the directory containing the example application; this page uses <code>quickstart_wicket_restful_jdo</code>:</p>
+<p>Switch to the directory containing the example application; this page uses <code>simpleapp</code>:</p>
-<pre><code>cd example/application/quickstart_wicket_restful_jdo
+<pre><code>cd example/application/simpleapp
</code></pre>
<p>Make sure that the app's <code>pom.xml</code>:</p>
@@ -440,7 +440,7 @@ for a in `/bin/find . -name rat.txt -pri
mvn antrun:run -P self-host
</code></pre>
-<p>then using mvn jetty plugin (browse to <a href="http://localhost:8080/quickstart_wicket_restful_jdo-webapp/">http://localhost:8080/quickstart_wicket_restful_jdo-webapp/</a>) etc:</p>
+<p>then using mvn jetty plugin (browse to <a href="http://localhost:8080/simpleapp-webapp/">http://localhost:8080/simpleapp-webapp/</a>) etc:</p>
<pre><code>cd webapp
mvn jetty:run
@@ -502,7 +502,7 @@ mvn archetype:generate \
-D groupId=com.mycompany \
-D artifactId=myapp \
-D archetypeGroupId=org.apache.isis.archetype \
- -D archetypeArtifactId=quickstart_wicket_restful_jdo-archetype
+ -D archetypeArtifactId=simpleapp-archetype
</code></pre>
<p>Build the newly generated app and test:</p>
@@ -516,32 +516,32 @@ mvn jetty:run # runs as
<h3>Check the archetype source code into git</h3>
-<p>Back in the <em>original session</em> (at <code>example/application/quickstart_wicket_restful_jdo</code>), we are ready to check the archetype source code into git.</p>
+<p>Back in the <em>original session</em> (at <code>example/application/simpleapp</code>), we are ready to check the archetype source code into git.</p>
<p>If this is an update to an existing archetype:</p>
-<pre><code>git rm -rf ../../archetype/quickstart_wicket_restful_jdo
-rm -rf ../../archetype/quickstart_wicket_restful_jdo
+<pre><code>git rm -rf ../../archetype/simpleapp
+rm -rf ../../archetype/simpleapp
</code></pre>
-<p>Make sure that the <code>archetype/quickstart_wicket_restful_jdo</code> directory was fully removed, otherwise the next command will not copy the regenerated source into the correct location.</p>
+<p>Make sure that the <code>archetype/simpleapp</code> directory was fully removed, otherwise the next command will not copy the regenerated source into the correct location.</p>
<p>Then, copy over the generated source of the archetype:</p>
-<pre><code>mv target/generated-sources/archetype ../../archetype/quickstart_wicket_restful_jdo
-git add ../../archetype/quickstart_wicket_restful_jdo
+<pre><code>mv target/generated-sources/archetype ../../archetype/simpleapp
+git add ../../archetype/simpleapp
</code></pre>
<p>Next, confirm that the <code>-SNAPSHOT</code> version of the archetype is correct:</p>
-<pre><code>vi ../../archetype/quickstart_wicket_restful_jdo/pom.xml
+<pre><code>vi ../../archetype/simpleapp/pom.xml
</code></pre>
<p>If this a new archetype, then add a reference to the archetype to the root <code>pom.xml</code>, eg:</p>
<pre><code><modules>
...
- <module>example/archetype/quickstart</module>
+ <module>example/archetype/simpleapp</module>
...
</modules>
</code></pre>
@@ -562,14 +562,14 @@ git add ../../archetype/quickstart_wicke
<p>The procedure for releasing the archetype is the same as for any other releasable module; in essence:</p>
<pre><code>export ISISTMP= ... # as required
-export ISISART=quickstart_wicket_restful_jdo-archetype
+export ISISART=simpleapp-archetype
export ISISDEV=1.6.0-SNAPSHOT
export ISISREL=1.5.0
export ISISRC=RC1
rm -rf $ISISTMP/checkout
-cd example/archetype/quickstart_wicket_restful_jdo
+cd example/archetype/simpleapp
mvn release:prepare -P apache-release \
-DreleaseVersion=$ISISREL \
-DdevelopmentVersion=$ISISDEV \