Author: mrdon Date: Sat Jul 1 17:04:30 2006 New Revision: 418531 URL: http://svn.apache.org/viewvc?rev=418531&view=rev Log: Finished org.apache.struts.action2 package renaming to org.apache.struts2 WW-1367
Modified: struts/struts2/trunk/archetype/pom.xml struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml struts/struts2/trunk/pom.xml struts/struts2/trunk/src/main/idea/workspace.xml struts/struts2/trunk/uber/pom.xml struts/struts2/trunk/uber/src/assemble/main.xml Modified: struts/struts2/trunk/archetype/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/pom.xml?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/archetype/pom.xml (original) +++ struts/struts2/trunk/archetype/pom.xml Sat Jul 1 17:04:30 2006 @@ -3,7 +3,7 @@ <project> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.struts.action2</groupId> - <artifactId>saf2-archetype-quickstart</artifactId> + <artifactId>struts2-archetype-quickstart</artifactId> <version>1.0-SNAPSHOT</version> <packaging>maven-plugin</packaging> </project> Modified: struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml (original) +++ struts/struts2/trunk/archetype/src/main/resources/archetype-resources/pom.xml Sat Jul 1 17:04:30 2006 @@ -21,12 +21,12 @@ <!-- SAF2 --> <dependency> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>struts-core</artifactId> <version>2.0-SNAPSHOT</version> </dependency> <dependency> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>struts-extras</artifactId> <version>2.0-SNAPSHOT</version> </dependency> Modified: struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java (original) +++ struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/java/com/myComp/myApp/DateConverter.java Sat Jul 1 17:04:30 2006 @@ -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; Modified: struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties (original) +++ struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/log4j.properties Sat Jul 1 17:04:30 2006 @@ -4,7 +4,7 @@ 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 Modified: struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties (original) +++ struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/resources/struts.properties Sat Jul 1 17:04:30 2006 @@ -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.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 @@ ### 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 Modified: struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml (original) +++ struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/dwr.xml Sat Jul 1 17:04:30 2006 @@ -6,7 +6,7 @@ <dwr> <allow> <create creator="new" javascript="validator"> - <param name="class" value="org.apache.struts.action2.validators.DWRValidator"/> + <param name="class" value="org.apache.struts2.validators.DWRValidator"/> </create> <convert converter="bean" match="com.opensymphony.xwork.ValidationAwareSupport"/> </allow> @@ -14,7 +14,7 @@ <signatures> <![CDATA[ import java.util.Map; - import org.apache.struts.action2.validators.DWRValidator; + import org.apache.struts2.validators.DWRValidator; DWRValidator.doPost(String, String, Map<String, String>); ]]> Modified: struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml (original) +++ struts/struts2/trunk/archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml Sat Jul 1 17:04:30 2006 @@ -9,11 +9,11 @@ <!-- Filters --> <filter> <filter-name>action2-cleanup</filter-name> - <filter-class>org.apache.struts.action2.dispatcher.ActionContextCleanUp</filter-class> + <filter-class>org.apache.struts2.dispatcher.ActionContextCleanUp</filter-class> </filter> <filter> <filter-name>sitemesh</filter-name> - <filter-class>org.apache.struts.action2.sitemesh.FreeMarkerPageFilter</filter-class> + <filter-class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class> </filter> <!-- <filter> @@ -23,7 +23,7 @@ --> <filter> <filter-name>action2</filter-name> - <filter-class>org.apache.struts.action2.dispatcher.FilterDispatcher</filter-class> + <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> </filter> <filter-mapping> Modified: struts/struts2/trunk/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/pom.xml?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/pom.xml (original) +++ struts/struts2/trunk/pom.xml Sat Jul 1 17:04:30 2006 @@ -30,19 +30,19 @@ </parent> <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.struts.action2</groupId> - <artifactId>struts-action2-parent</artifactId> + <groupId>org.apache.struts2</groupId> + <artifactId>struts2-parent</artifactId> <version>2.0-SNAPSHOT</version> <packaging>pom</packaging> - <name>Struts Action 2</name> - <url>http://struts.apache.org/struts-action2</url> + <name>Struts 2</name> + <url>http://struts.apache.org/struts2</url> <description>Apache Struts Action Framework 2</description> <inceptionYear>2006</inceptionYear> <!-- <description> - Struts Action 2 is a Java web-application development framework. + Struts 2 is a Java web-application development framework. It is built specifically with developer productivity and code simplicity in mind, providing robust support for building reusable UI templates, such as form controls, UI themes, @@ -52,9 +52,9 @@ --> <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/struts/action2/trunk</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/action2/trunk</developerConnection> - <url>http://svn.apache.org/viewcvs.cgi/struts/action2/trunk</url> + <connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/struts/struts2/trunk</url> </scm> <issueManagement> @@ -71,7 +71,7 @@ </repository> <site> <id>apache-site</id> - <url>scp://people.apache.org/www/struts.apache.org/struts-action2/</url> + <url>scp://people.apache.org/www/struts.apache.org/struts2/</url> </site> </distributionManagement> Modified: struts/struts2/trunk/src/main/idea/workspace.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/src/main/idea/workspace.xml?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/src/main/idea/workspace.xml (original) +++ struts/struts2/trunk/src/main/idea/workspace.xml Sat Jul 1 17:04:30 2006 @@ -50,7 +50,7 @@ <module name="struts-core"/> <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false"/> <option name="ALTERNATIVE_JRE_PATH" value=""/> - <option name="PACKAGE_NAME" value="org.apache.struts.action2"/> + <option name="PACKAGE_NAME" value="org.apache.struts2"/> <option name="MAIN_CLASS_NAME" value=""/> <option name="METHOD_NAME" value=""/> <option name="TEST_OBJECT" value="package"/> @@ -66,7 +66,7 @@ </configuration> <configuration selected="true" default="false" name="Struts Showcase" type="Application" factoryName="Application"> - <option name="MAIN_CLASS_NAME" value="org.apache.struts.action2.Main"/> + <option name="MAIN_CLASS_NAME" value="org.apache.struts2.Main"/> <option name="VM_PARAMETERS" value=""/> <option name="PROGRAM_PARAMETERS" value="quickstart"/> <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/apps/showcase"/> Modified: struts/struts2/trunk/uber/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/uber/pom.xml?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/uber/pom.xml (original) +++ struts/struts2/trunk/uber/pom.xml Sat Jul 1 17:04:30 2006 @@ -3,11 +3,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>struts-action2-parent</artifactId> <version>2.0-SNAPSHOT</version> </parent> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>action-all</artifactId> <packaging>pom</packaging> <name>Uber Jar</name> @@ -34,27 +34,27 @@ </build> <dependencies> <dependency> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>action-api</artifactId> <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>action</artifactId> <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>action-jasperreports</artifactId> <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>action-jfreechart</artifactId> <scope>test</scope> </dependency> <dependency> - <groupId>org.apache.struts.action2</groupId> + <groupId>org.apache.struts2</groupId> <artifactId>action-pell-file-upload</artifactId> <scope>test</scope> </dependency> Modified: struts/struts2/trunk/uber/src/assemble/main.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/uber/src/assemble/main.xml?rev=418531&r1=418530&r2=418531&view=diff ============================================================================== --- struts/struts2/trunk/uber/src/assemble/main.xml (original) +++ struts/struts2/trunk/uber/src/assemble/main.xml Sat Jul 1 17:04:30 2006 @@ -7,11 +7,11 @@ <dependencySet> <outputDirectory>/</outputDirectory> <includes> - <include>org.apache.struts.action2:action</include> - <include>org.apache.struts.action2:action-api</include> - <include>org.apache.struts.action2:action-jasperreports</include> - <include>org.apache.struts.action2:action-jfreechart</include> - <include>org.apache.struts.action2:action-pell-file-upload</include> + <include>org.apache.struts2:action</include> + <include>org.apache.struts2:action-api</include> + <include>org.apache.struts2:action-jasperreports</include> + <include>org.apache.struts2:action-jfreechart</include> + <include>org.apache.struts2:action-pell-file-upload</include> </includes> <unpack>true</unpack> <scope>test</scope>