Author: mrdon
Date: Wed Jan 17 23:50:21 2007
New Revision: 497335
URL: http://svn.apache.org/viewvc?view=rev&rev=497335
Log:
Starting work on database portlet, minor cleanup for portlet readme
Added:
struts/maven/trunk/struts2-archetype-dbportlet/
- copied from r497309, struts/maven/trunk/struts2-archetype-portlet/
struts/maven/trunk/struts2-archetype-dbportlet/pom.xml
- copied, changed from r497312,
struts/maven/trunk/struts2-archetype-portlet/pom.xml
struts/maven/trunk/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml
- copied unchanged from r497311,
struts/maven/trunk/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml
struts/maven/trunk/struts2-archetype-dbportlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
- copied unchanged from r497320,
struts/maven/trunk/struts2-archetype-portlet/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
Modified:
struts/maven/trunk/struts2-archetype-dbportlet/README.txt
struts/maven/trunk/struts2-archetype-dbportlet/src/main/resources/META-INF/archetype.xml
struts/maven/trunk/struts2-archetype-portlet/README.txt
Modified: struts/maven/trunk/struts2-archetype-dbportlet/README.txt
URL:
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-dbportlet/README.txt?view=diff&rev=497335&r1=497309&r2=497335
==============================================================================
--- struts/maven/trunk/struts2-archetype-dbportlet/README.txt (original)
+++ struts/maven/trunk/struts2-archetype-dbportlet/README.txt Wed Jan 17
23:50:21 2007
@@ -1,7 +1,7 @@
INFORMATION
===========
-- This is Struts 2's "Portlet" Maven Archetype
-- To be used to create a simple portlet that can be deployed as a webapp or
JSR168 portlet.
+- This is Struts 2's "Database Portlet" Maven Archetype
+- To be used to create a simple portlet that displays information in a
database and can be deployed as a webapp or JSR168 portlet.
USAGE
@@ -12,7 +12,7 @@
cd /home/tmjee/projects
-- run the following command to generate the sample web app template, assuming
:-
+- run the following command to generate the sample portlet template, assuming
:-
- root java package -> com.myCompany.myPortlet
- the portlet war name -> myWebApp
@@ -21,7 +21,7 @@
mvn archetype:create -DgroupId=com.myCompany.myPortlet \
-DartifactId=myWebApp \
-DarchetypeGroupId=org.apache.struts \
- -DarchetypeArtifactId=struts2-archetype-portlet \
+ -DarchetypeArtifactId=struts2-archetype-dbportlet \
-DarchetypeVersion=2.0.3-SNAPSHOT \
-DremoteRepositories=http://people.apache.org/maven-snapshot-repository
Copied: struts/maven/trunk/struts2-archetype-dbportlet/pom.xml (from r497312,
struts/maven/trunk/struts2-archetype-portlet/pom.xml)
URL:
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-dbportlet/pom.xml?view=diff&rev=497335&p1=struts/maven/trunk/struts2-archetype-portlet/pom.xml&r1=497312&p2=struts/maven/trunk/struts2-archetype-dbportlet/pom.xml&r2=497335
==============================================================================
--- struts/maven/trunk/struts2-archetype-portlet/pom.xml (original)
+++ struts/maven/trunk/struts2-archetype-dbportlet/pom.xml Wed Jan 17 23:50:21
2007
@@ -8,15 +8,15 @@
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>struts2-archetype-portlet</artifactId>
+ <artifactId>struts2-archetype-dbportlet</artifactId>
<version>2.0.3-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
- <name>Struts 2 Archetypes - Portlet</name>
+ <name>Struts 2 Archetypes - Database Portlet</name>
<scm>
-
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-portlet/</connection>
-
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-portlet/</developerConnection>
-
<url>http://svn.apache.org/viewcvs.cgi/struts/maven/trunk/struts2-archetype-portlet/</url>
+
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-dbportlet/</connection>
+
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/maven/trunk/struts2-archetype-dbportlet/</developerConnection>
+
<url>http://svn.apache.org/viewcvs.cgi/struts/maven/trunk/struts2-archetype-dbportlet/</url>
</scm>
</project>
Modified:
struts/maven/trunk/struts2-archetype-dbportlet/src/main/resources/META-INF/archetype.xml
URL:
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-dbportlet/src/main/resources/META-INF/archetype.xml?view=diff&rev=497335&r1=497309&r2=497335
==============================================================================
---
struts/maven/trunk/struts2-archetype-dbportlet/src/main/resources/META-INF/archetype.xml
(original)
+++
struts/maven/trunk/struts2-archetype-dbportlet/src/main/resources/META-INF/archetype.xml
Wed Jan 17 23:50:21 2007
@@ -10,6 +10,7 @@
<resource>src/main/resources/struts.xml</resource>
<resource>src/main/webapp/WEB-INF/web.xml</resource>
<resource>src/main/webapp/WEB-INF/portlet.xml</resource>
+ <resource>src/main/webapp/WEB-INF/applicationContext.xml</resource>
<resource>src/main/webapp/WEB-INF/view/index.jsp</resource>
<resource>src/main/webapp/WEB-INF/help/index.jsp</resource>
<resource>src/main/webapp/WEB-INF/edit/index-input.jsp</resource>
Modified: struts/maven/trunk/struts2-archetype-portlet/README.txt
URL:
http://svn.apache.org/viewvc/struts/maven/trunk/struts2-archetype-portlet/README.txt?view=diff&rev=497335&r1=497334&r2=497335
==============================================================================
--- struts/maven/trunk/struts2-archetype-portlet/README.txt (original)
+++ struts/maven/trunk/struts2-archetype-portlet/README.txt Wed Jan 17 23:50:21
2007
@@ -12,7 +12,7 @@
cd /home/tmjee/projects
-- run the following command to generate the sample web app template, assuming
:-
+- run the following command to generate the sample portlet template, assuming
:-
- root java package -> com.myCompany.myPortlet
- the portlet war name -> myWebApp