From b318348c4fb929f1f2c0f69d5bf45b5fb18837fb Mon Sep 17 00:00:00 2001 From: "Donald J. Brown" Date: Sun, 2 Jul 2006 00:04:30 +0000 Subject: [PATCH] Finished org.apache.struts.action2 package renaming to org.apache.struts2 WW-1367 git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418531 13f79535-47bb-0310-9956-ffa450edef68 --- archetype/pom.xml | 2 +- .../main/resources/archetype-resources/pom.xml | 4 ++-- .../java/com/myComp/myApp/DateConverter.java | 2 +- .../src/main/resources/log4j.properties | 2 +- .../src/main/resources/struts.properties | 10 +++++----- .../src/main/webapp/WEB-INF/dwr.xml | 4 ++-- .../src/main/webapp/WEB-INF/web.xml | 6 +++--- pom.xml | 18 +++++++++--------- src/main/idea/workspace.xml | 4 ++-- uber/pom.xml | 14 +++++++------- uber/src/assemble/main.xml | 10 +++++----- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/archetype/pom.xml b/archetype/pom.xml index e29cfc1dc..8f5295b2c 100644 --- a/archetype/pom.xml +++ b/archetype/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.apache.struts.action2 - saf2-archetype-quickstart + struts2-archetype-quickstart 1.0-SNAPSHOT maven-plugin diff --git a/archetype/src/main/resources/archetype-resources/pom.xml b/archetype/src/main/resources/archetype-resources/pom.xml index b01a5b929..aa68007fa 100644 --- a/archetype/src/main/resources/archetype-resources/pom.xml +++ b/archetype/src/main/resources/archetype-resources/pom.xml @@ -21,12 +21,12 @@ - org.apache.struts.action2 + org.apache.struts2 struts-core 2.0-SNAPSHOT - org.apache.struts.action2 + org.apache.struts2 struts-extras 2.0-SNAPSHOT diff --git a/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java b/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java index 0cffea56e..f961ce4b0 100644 --- a/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java +++ b/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java @@ -15,7 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import org.apache.struts.action2.util.StrutsTypeConverter; +import org.apache.struts2.util.StrutsTypeConverter; import java.text.SimpleDateFormat; import java.text.ParseException; diff --git a/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties b/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties index d9e248641..468deb370 100644 --- a/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties +++ b/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties @@ -4,7 +4,7 @@ log4j.rootLogger = DEBUG, stdout log4j.category.com.opensymphony.webwork=DEBUG log4j.category.com.opensymphony.sitemesh=DEBUG -log4j.category.org.apache.struts.action2=DEBUG +log4j.category.org.apache.struts2=DEBUG log4j.category.org.apache=INFO log4j.category.catalia=INFO diff --git a/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties b/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties index 28e88d1de..2ddd0aafc 100644 --- a/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties +++ b/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties @@ -5,9 +5,9 @@ ### ### Specifies the Configuration used to configure Struts Action 2.0 -### one could extend org.apache.struts.action2.config.Configuration +### one could extend org.apache.struts2.config.Configuration ### to build one's customize way of getting the configurations parameters into Struts Action 2.0 -# struts.configuration=org.apache.struts.action2.config.DefaultConfiguration +# struts.configuration=org.apache.struts2.config.DefaultConfiguration ### This can be used to set your default locale and encoding scheme # struts.locale=en_US @@ -48,7 +48,7 @@ struts.multipart.maxSize=2097152 # struts.custom.properties=application,com/webwork/extension/custom ### How request URLs are mapped to and from actions -struts.mapper.class=org.apache.struts.action2.dispatcher.mapper.DefaultActionMapper +struts.mapper.class=org.apache.struts2.dispatcher.mapper.DefaultActionMapper ### Used by the DefaultActionMapper ### You may provide a comma separated list, e.g. struts.action.extension=action,jnlp,do @@ -122,8 +122,8 @@ struts.dispatcher.parametersWorkaround = false ### configure the Freemarker Manager class to be used ### Allows user to plug-in customised Freemarker Manager if necessary -### MUST extends off org.apache.struts.action2.views.freemarker.FreemarkerManager -#struts.freemarker.manager.classname=org.apache.struts.action2.views.freemarker.FreemarkerManager +### MUST extends off org.apache.struts2.views.freemarker.FreemarkerManager +#struts.freemarker.manager.classname=org.apache.struts2.views.freemarker.FreemarkerManager ### See the StrutsBeanWrapper javadocs for more information struts.freemarker.wrapper.altMap=true diff --git a/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml b/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml index 9c5960e11..2ea05f7ed 100644 --- a/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml +++ b/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml @@ -6,7 +6,7 @@ - + @@ -14,7 +14,7 @@ ); ]]> diff --git a/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml b/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml index 43c70c555..996bb7f58 100644 --- a/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml +++ b/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml @@ -9,11 +9,11 @@ action2-cleanup - org.apache.struts.action2.dispatcher.ActionContextCleanUp + org.apache.struts2.dispatcher.ActionContextCleanUp sitemesh - org.apache.struts.action2.sitemesh.FreeMarkerPageFilter + org.apache.struts2.sitemesh.FreeMarkerPageFilter action2 - org.apache.struts.action2.dispatcher.FilterDispatcher + org.apache.struts2.dispatcher.FilterDispatcher diff --git a/pom.xml b/pom.xml index 2d463727d..b94a78a24 100644 --- a/pom.xml +++ b/pom.xml @@ -30,19 +30,19 @@ 4.0.0 - org.apache.struts.action2 - struts-action2-parent + org.apache.struts2 + struts2-parent 2.0-SNAPSHOT pom - Struts Action 2 - http://struts.apache.org/struts-action2 + Struts 2 + http://struts.apache.org/struts2 Apache Struts Action Framework 2 2006 - scm:svn:http://svn.apache.org/repos/asf/struts/action2/trunk - scm:svn:https://svn.apache.org/repos/asf/struts/action2/trunk - http://svn.apache.org/viewcvs.cgi/struts/action2/trunk + scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk + scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk + http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk @@ -71,7 +71,7 @@ apache-site - scp://people.apache.org/www/struts.apache.org/struts-action2/ + scp://people.apache.org/www/struts.apache.org/struts2/ diff --git a/src/main/idea/workspace.xml b/src/main/idea/workspace.xml index e71761dee..9899d06c7 100644 --- a/src/main/idea/workspace.xml +++ b/src/main/idea/workspace.xml @@ -50,7 +50,7 @@