[Struts Wiki] Update of "StrutsIDEGuides" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsIDEGuides -- * ["EclipseIDEExampleProblems"] * StrutsEclipse31 * ["StrutsIDEA5"] - * StrutsNetBeans41 + * StrutsNetBeans50 * ["StrutsEGen"] === Comparisons ===
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 New page: NetBeans IDE 5.0 supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an http://www.netbeans.info/downloads/download.php";>installer or just by unzipping an http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2";>archive file) NetBeans IDE 5.0. After you have installed NetBeans IDE 5.0, here are some specific Struts-related resources you can use with NetBeans IDE 5.0: http://www.netbeans.org/kb/50/quickstart-webapps-struts.html";>NetBeans IDE 5.0 Quick Start Guide for the Struts Web Framework http://www.netbeans.org/kb/50/tutorial-webapps-struts.html";>NetBeans IDE 5.0 Tutorial for Accessing Data with a Struts Data Source
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- - NetBeans IDE 5.0 supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an http://www.netbeans.info/downloads/download.php";>installer or just by unzipping an http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2";>archive file) NetBeans IDE 5.0. + NetBeans IDE 5.0 supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2";>archive file) NetBeans IDE 5.0. After you have installed NetBeans IDE 5.0, here are some specific Struts-related resources you can use with NetBeans IDE 5.0:
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- - NetBeans IDE 5.0 supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2";>archive file) NetBeans IDE 5.0. + NetBeans IDE 5.0 supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an [http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2/ archive file]) NetBeans IDE 5.0. After you have installed NetBeans IDE 5.0, here are some specific Struts-related resources you can use with NetBeans IDE 5.0:
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- - NetBeans IDE 5.0 supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an [http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2/ archive file]) NetBeans IDE 5.0. + [http://www.netbeans.org/ NetBeans IDE 5.0] supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an [http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2/ archive file]) the IDE. - After you have installed NetBeans IDE 5.0, here are some specific Struts-related resources you can use with NetBeans IDE 5.0: + The following features are supported in the IDE: + * Project template that adds Struts 1.2.7 libraries to application's classpath, modifies web.xml, and add struts-config.xml to application sources. + * Panel in Project Properties dialog box for adding Struts libraries, web.xml, and struts-config.xml to applications that were created without Struts support. + * File templates for common artifacts, such as Struts Action class. + * Right-clicking in the NetBeans editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. - http://www.netbeans.org/kb/50/quickstart-webapps-struts.html";>NetBeans IDE 5.0 Quick Start Guide for the Struts Web Framework + After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with NetBeans IDE 5.0: - http://www.netbeans.org/kb/50/tutorial-webapps-struts.html";>NetBeans IDE 5.0 Tutorial for Accessing Data with a Struts Data Source + [http://www.netbeans.org/kb/50/quickstart-webapps-struts.html/ NetBeans IDE 5.0 Quick Start Guide for the Struts Web Framework] + [http://www.netbeans.org/kb/50/tutorial-webapps-struts.html/ NetBeans IDE 5.0 Tutorial for Accessing Data with a Struts Data Source] +
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- [http://www.netbeans.org/ NetBeans IDE 5.0] supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an [http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2/ archive file]) the IDE. The following features are supported in the IDE: - * Project template that adds Struts 1.2.7 libraries to application's classpath, modifies web.xml, and add struts-config.xml to application sources. + * Project template that adds Struts 1.2.7 libraries to application's classpath, modifies web.xml, and add struts-config.xml to application sources. - * Panel in Project Properties dialog box for adding Struts libraries, web.xml, and struts-config.xml to applications that were created without Struts support. + * Panel in Project Properties dialog box for adding Struts libraries, web.xml, and struts-config.xml to applications that were created without Struts support. - * File templates for common artifacts, such as Struts Action class. + * File templates for common artifacts, such as Struts Action class. - * Right-clicking in the NetBeans editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. + * Right-clicking in the NetBeans editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with NetBeans IDE 5.0:
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- * Project template that adds Struts 1.2.7 libraries to application's classpath, modifies web.xml, and add struts-config.xml to application sources. * Panel in Project Properties dialog box for adding Struts libraries, web.xml, and struts-config.xml to applications that were created without Struts support. * File templates for common artifacts, such as Struts Action class. - * Right-clicking in the NetBeans editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. + * Right-clicking in the [http://www.netbeans.org/ NetBeans] editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with NetBeans IDE 5.0:
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- * Panel in Project Properties dialog box for adding Struts libraries, web.xml, and struts-config.xml to applications that were created without Struts support. * File templates for common artifacts, such as Struts Action class. * Right-clicking in the [http://www.netbeans.org/ NetBeans] editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. + * Holding down the Ctrl key while moving the mouse over identifiers in struts-config.xml produces hyperlinks that let you jump to referenced Struts artifacts, such as Struts ActionForm Beans. After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with NetBeans IDE 5.0:
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- * Panel in Project Properties dialog box for adding Struts libraries, web.xml, and struts-config.xml to applications that were created without Struts support. * File templates for common artifacts, such as Struts Action class. * Right-clicking in the [http://www.netbeans.org/ NetBeans] editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. - * Holding down the Ctrl key while moving the mouse over identifiers in struts-config.xml produces hyperlinks that let you jump to referenced Struts artifacts, such as Struts ActionForm Beans. + * Holding down the Ctrl key while moving the mouse over identifiers in struts-config.xml produces hyperlinks that let you jump to referenced Struts artifacts, such as Struts Action class. After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with NetBeans IDE 5.0:
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with NetBeans IDE 5.0: - [http://www.netbeans.org/kb/50/quickstart-webapps-struts.html/ NetBeans IDE 5.0 Quick Start Guide for the Struts Web Framework] + [http://www.netbeans.org/kb/50/quickstart-webapps-struts.html NetBeans IDE 5.0 Quick Start Guide for the Struts Web Framework] - [http://www.netbeans.org/kb/50/tutorial-webapps-struts.html/ NetBeans IDE 5.0 Tutorial for Accessing Data with a Struts Data Source] + [http://www.netbeans.org/kb/50/tutorial-webapps-struts.html NetBeans IDE 5.0 Tutorial for Accessing Data with a Struts Data Source]
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- * Right-clicking in the [http://www.netbeans.org/ NetBeans] editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. * Holding down the Ctrl key while moving the mouse over identifiers in struts-config.xml produces hyperlinks that let you jump to referenced Struts artifacts, such as Struts Action class. - After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with NetBeans IDE 5.0: + After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with [http://www.netbeans.org/ NetBeans IDE 5.0]: [http://www.netbeans.org/kb/50/quickstart-webapps-struts.html NetBeans IDE 5.0 Quick Start Guide for the Struts Web Framework]
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- * File templates for common artifacts, such as Struts Action class. * Right-clicking in the [http://www.netbeans.org/ NetBeans] editor when struts-config.xml is open exposes wizards for generating code snippets for common tags used in struts-config.xml. * Holding down the Ctrl key while moving the mouse over identifiers in struts-config.xml produces hyperlinks that let you jump to referenced Struts artifacts, such as Struts Action class. + * Code completion and Javadoc display for Struts tags in JSP files. After you have installed [http://www.netbeans.org/ NetBeans IDE 5.0], here are some specific Struts-related resources you can use with [http://www.netbeans.org/ NetBeans IDE 5.0]:
[Struts Wiki] Update of "StrutsNetBeans50" by Geertjan Wielenga
Dear Wiki user, You have subscribed to a wiki page or wiki category on "Struts Wiki" for change notification. The following page has been changed by Geertjan Wielenga: http://wiki.apache.org/struts/StrutsNetBeans50 -- - [http://www.netbeans.org/ NetBeans IDE 5.0] supports Struts out of the box. That's right. There are no special steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an [http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2/ archive file]) the IDE. + [http://www.netbeans.org/ NetBeans IDE 5.0] supports Struts out of the box. That's right. There are no additional steps you need to take after installing (either via an [http://www.netbeans.info/downloads/download.php/ installer] or just by unzipping an [http://www.netbeans.info/downloads/download.php?type=5.0&p=1&a=bsd&os=1&lang=1&rv=5.0&b_bt=2/ archive file]) the IDE. The following features are supported in the IDE: * Project template that adds Struts 1.2.7 libraries to application's classpath, modifies web.xml, and add struts-config.xml to application sources.
svn commit: r410640 - /struts/shale/trunk/test-framework/build.xml
Author: craigmcc Date: Wed May 31 12:15:30 2006 New Revision: 410640 URL: http://svn.apache.org/viewvc?rev=410640&view=rev Log: Remove the compile time dependency on the Core Framework jar, thereby breaking a circular dependency between core and test. Modified: struts/shale/trunk/test-framework/build.xml Modified: struts/shale/trunk/test-framework/build.xml URL: http://svn.apache.org/viewvc/struts/shale/trunk/test-framework/build.xml?rev=410640&r1=410639&r2=410640&view=diff == --- struts/shale/trunk/test-framework/build.xml (original) +++ struts/shale/trunk/test-framework/build.xml Wed May 31 12:15:30 2006 @@ -77,7 +77,6 @@ -
svn commit: r410710 - in /struts/shale/trunk/clay-plugin/src: conf/ java/org/apache/shale/clay/parser/builder/ java/org/apache/shale/clay/parser/builder/chain/ test/org/apache/shale/clay/config/
Author: gvanmatre Date: Wed May 31 18:21:43 2006 New Revision: 410710 URL: http://svn.apache.org/viewvc?rev=410710&view=rev Log: Extended Clay's namespace support. Added: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/parser/builder/JsfDefaultBuilder.java (with props) struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/parser/builder/chain/JsfDefaultBuilderRule.java (with props) struts/shale/trunk/clay-plugin/src/test/org/apache/shale/clay/config/address4.html (with props) struts/shale/trunk/clay-plugin/src/test/org/apache/shale/clay/config/address5.html (with props) Modified: struts/shale/trunk/clay-plugin/src/conf/clay-config.xml struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/parser/builder/ElementBuilder.java struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/parser/builder/chain/shale-builder-config.xml struts/shale/trunk/clay-plugin/src/test/org/apache/shale/clay/config/ConfigTestCase.java struts/shale/trunk/clay-plugin/src/test/org/apache/shale/clay/config/address1.html struts/shale/trunk/clay-plugin/src/test/org/apache/shale/clay/config/address3.html Modified: struts/shale/trunk/clay-plugin/src/conf/clay-config.xml URL: http://svn.apache.org/viewvc/struts/shale/trunk/clay-plugin/src/conf/clay-config.xml?rev=410710&r1=410709&r2=410710&view=diff == --- struts/shale/trunk/clay-plugin/src/conf/clay-config.xml (original) +++ struts/shale/trunk/clay-plugin/src/conf/clay-config.xml Wed May 31 18:21:43 2006 @@ -24,6 +24,19 @@ "http://struts.apache.org/dtds/shale-clay-config_1_0.dtd";> + + Abstract component definition. + + + Abstract component definition. + + + Abstract component definition. + + + Abstract component definition. + + Abstract component definition extended by baseHtml, token, subview, validatorScript, parameter, selectItem, selectItems, inputHidden, column, @@ -898,38 +911,47 @@ Converts a String value into a java.util.BigDecimal type and back to a String. + Converts a String value into a java.util.BigInteger type and back to a String. + Converts a String value into a java.lang.Boolean type and back to a String. + Converts a String value into a java.lang.Byte type and back to a String. + Converts a String value into a java.lang.Character type and back to a String. + Converts a String value into a java.lang.Double type and back to a String. + Converts a String value into a java.lang.Float type and back to a String. + Converts a string value into an java.lang.Integer type and back to a string. + Converts a String value into a java.lang.Long type and back to a String. + Converts a String into a number and back to a String. @@ -968,10 +990,12 @@ + Converts a String value into a java.lang.Short type and back to a String. + @@ -998,7 +1022,8 @@ - + + @@ -1136,6 +1161,7 @@ + Verifies the submitted string value is greater than and not less than the specified minimum and maximum values. @@ -1148,6 +1174,7 @@ + Verifies the submitted value is a long within the specified minimum and maximum values. @@ -1160,5 +1187,6 @@ + Modified: struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/parser/builder/ElementBuilder.java URL: http://svn.apache.org/viewvc/struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/parser/builder/ElementBuilder.java?rev=410710&r1=410709&r2=410710&view=diff == --- struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/parser/builder/ElementBuilder.java (original) +++ struts/shale/trunk/clay-plugin/src/java/org/apache/shale/clay/parser/builder/ElementBuilder.java Wed May 31 18:21:43 2006 @@ -77,7 +77,7 @@ protected void addConverter(Node node, ElementBean target) { ConverterBean targetConverter = new ConverterBean(); - String jsfid = (String) node.getAttributes().get("jsfid"); + String jsfid = getJsfid(node); targetConverter.setJsfid(jsfid); // resolve inheritance and attribute overrides @@ -96,7 +96,7 @@ protected void addValidator(Node node, ElementBean target) { ValidatorBean targetValidator = new ValidatorBean(); - String jsfid = (String) node.getAttributes().get("jsfid"); + String jsfid = getJsfid(node); targetValidator.setJsfid(jsfid); // resolve inheritance and attribute overrides @@ -114,7 +114,7 @@ protected void addActionListener(Node node
svn commit: r410713 - in /struts/sandbox/trunk/archetypes/action-blank: README.txt pom.xml src/main/resources/archetype-resources/pom.xml
Author: wsmoak Date: Wed May 31 18:53:27 2006 New Revision: 410713 URL: http://svn.apache.org/viewvc?rev=410713&view=rev Log: Update the Struts Action Blank archetype version and dependencies. Modified: struts/sandbox/trunk/archetypes/action-blank/README.txt struts/sandbox/trunk/archetypes/action-blank/pom.xml struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml Modified: struts/sandbox/trunk/archetypes/action-blank/README.txt URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/action-blank/README.txt?rev=410713&r1=410712&r2=410713&view=diff == --- struts/sandbox/trunk/archetypes/action-blank/README.txt (original) +++ struts/sandbox/trunk/archetypes/action-blank/README.txt Wed May 31 18:53:27 2006 @@ -4,22 +4,17 @@ This directory contains the Struts Action Blank Archetype for Maven 2. -To build and install the archetype in your local repository: - - $ svn co http://svn.apache.org/repos/asf/struts/sandbox/trunk/archetypes - $ cd archetypes/action-blank - $ mvn install - To use the archetype to create a blank project: $ cd ~/projects $ mvn archetype:create -DarchetypeGroupId=org.apache.struts.action -DarchetypeArtifactId=struts-archetype-action-blank - -DarchetypeVersion=1.3.2-SNAPSHOT + -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.example -DpackageName=com.example.projectname -DartifactId=my-webapp + -DremoteRepositories=http://people.apache.org/maven-snapshot-repository To build your new webapp: @@ -33,6 +28,13 @@ org.codehaus.cargo cargo-maven2-plugin ... - c:/java/apache-tomcat-5.5.15 + c:/java/apache-tomcat-5.5.17 $ mvn package cargo:start + +To build and install the archetype in your local repository: + + $ svn co http://svn.apache.org/repos/asf/struts/sandbox/trunk/archetypes + $ cd archetypes/action-blank + $ mvn install + Modified: struts/sandbox/trunk/archetypes/action-blank/pom.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/action-blank/pom.xml?rev=410713&r1=410712&r2=410713&view=diff == --- struts/sandbox/trunk/archetypes/action-blank/pom.xml (original) +++ struts/sandbox/trunk/archetypes/action-blank/pom.xml Wed May 31 18:53:27 2006 @@ -3,9 +3,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 + + org.apache.struts + struts-parent + 2 + org.apache.struts.action struts-archetype-action-blank - 1.3.3-SNAPSHOT + 1.0-SNAPSHOT jar Struts Archetypes - Action Blank Modified: struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml?rev=410713&r1=410712&r2=410713&view=diff == --- struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml (original) +++ struts/sandbox/trunk/archetypes/action-blank/src/main/resources/archetype-resources/pom.xml Wed May 31 18:53:27 2006 @@ -8,7 +8,7 @@ war ${version} Struts Action Blank Archetype - http://struts.apache.org + http://struts.apache.org/struts-action junit @@ -19,17 +19,22 @@ org.apache.struts.action struts-core - 1.3.3-SNAPSHOT + 1.3.5-SNAPSHOT org.apache.struts.action struts-taglib - 1.3.3-SNAPSHOT + 1.3.5-SNAPSHOT + @@ -41,7 +46,7 @@ tomcat5x - c:/java/apache-tomcat-5.5.15 + c:/java/apache-tomcat-5.5.17 target/tomcat5x.log target/tomcat5x.out @@ -52,5 +57,18 @@ + + + + + apache.snapshots + Apache Maven Repository (Snapshots and Test Builds) + http://cvs.apache.org/maven-snapshot-repository + true + true + +
svn commit: r410734 - in /struts/sandbox/trunk/archetypes/shale-blank: ./ src/main/resources/META-INF/ src/main/resources/archetype-resources/ src/main/resources/archetype-resources/src/main/webapp-fi
Author: wsmoak Date: Wed May 31 21:02:16 2006 New Revision: 410734 URL: http://svn.apache.org/viewvc?rev=410734&view=rev Log: Update the Shale Blank archetype structure, version and dependencies. Added: struts/sandbox/trunk/archetypes/shale-blank/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml - copied, changed from r410437, struts/sandbox/trunk/archetypes/shale-blank/src/main/resources/archetype-resources/src/main/webapp-filtered/WEB-INF/web.xml Removed: struts/sandbox/trunk/archetypes/shale-blank/src/main/resources/archetype-resources/src/main/webapp-filtered/ Modified: struts/sandbox/trunk/archetypes/shale-blank/README.txt struts/sandbox/trunk/archetypes/shale-blank/pom.xml struts/sandbox/trunk/archetypes/shale-blank/src/main/resources/META-INF/archetype.xml struts/sandbox/trunk/archetypes/shale-blank/src/main/resources/archetype-resources/pom.xml Modified: struts/sandbox/trunk/archetypes/shale-blank/README.txt URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/shale-blank/README.txt?rev=410734&r1=410733&r2=410734&view=diff == --- struts/sandbox/trunk/archetypes/shale-blank/README.txt (original) +++ struts/sandbox/trunk/archetypes/shale-blank/README.txt Wed May 31 21:02:16 2006 @@ -4,34 +4,45 @@ This directory contains the Shale Blank Archetype for Maven 2. -To build and install the archetype in your local repository: - - $ svn co http://svn.apache.org/repos/asf/struts/sandbox/trunk/archetypes - $ cd archetypes/shale-blank - $ mvn install - To use the archetype to create a blank project: $ cd ~/projects - $ mvn archetype:create - -DarchetypeGroupId=struts - -DarchetypeArtifactId=struts-archetype-shale-blank - -DarchetypeVersion=1.0.1-SNAPSHOT - -DgroupId=com.example - -DpackageName=com.example.projectname - -DartifactId=projectname + $ mvn archetype:create \ + -DarchetypeGroupId=org.apache.struts.shale \ + -DarchetypeArtifactId=struts-archetype-shale-blank \ + -DarchetypeVersion=1.0-SNAPSHOT \ + -DgroupId=com.example\ + -DpackageName=com.example.projectname\ + -DartifactId=projectname \ + -DremoteRepositories=http://people.apache.org/maven-snapshot-repository -To build your new webapp: + You will then need to move src/main/resources/Bundle.properties into the + proper package structure under src/main/resources. + +To build your new webapp and install it in your local Maven repository: $ cd projectname - $ mvn package + $ mvn install -To start Tomcat 5.5 and deploy your webapp: +To start Tomcat and deploy your new webapp: - $ mvn cargo:start + Modify pom.xml to provide the path to a local Tomcat 5.x installation: + + org.codehaus.cargo + cargo-maven2-plugin + ... + c:/java/apache-tomcat-5.5.17 + + $ mvn package cargo:start Open a browser and visit http://localhost:8080/projectname +To build and install the archetype in your local repository: + + $ svn co http://svn.apache.org/repos/asf/struts/sandbox/trunk/archetypes + $ cd archetypes/shale-blank + $ mvn install + Prerequisites - @@ -40,19 +51,7 @@ Cargo Configuration --- - The Cargo plugin is configured to download Apache Tomcat 5.5.15. - - To use a locally installed version, in pom.xml, - 1. Uncomment the element and change the path - 2. Remove the section. - -Other Issues - - - -FAQs - - -Q: + The Cargo plugin can be configured to download Apache Tomcat 5.5.17 by + (in pom.xml) removing the element and uncommenting the +section. -A: Modified: struts/sandbox/trunk/archetypes/shale-blank/pom.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/shale-blank/pom.xml?rev=410734&r1=410733&r2=410734&view=diff == --- struts/sandbox/trunk/archetypes/shale-blank/pom.xml (original) +++ struts/sandbox/trunk/archetypes/shale-blank/pom.xml Wed May 31 21:02:16 2006 @@ -3,10 +3,16 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 - struts + + org.apache.struts + struts-parent + 2 + + + org.apache.struts.shale struts-archetype-shale-blank - 1.0.1-SNAPSHOT - maven-plugin + 1.0-SNAPSHOT + jar Shale Blank Archetype Modified: struts/sandbox/trunk/archetypes/shale-blank/src/main/resources/META-INF/archetype.xml URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/archetypes/shale-blank/src/main/resources/META-