Looks like the Struts portion of this Wiki is still in it's early stages, so I won't presume to impose too much structure at this point. I've found the use of a whiteboard Wiki page to be useful for working out ideas that may later have their own pages. --DarinHawley


First, here's an excellent tutorial on Struts development with Eclipse (http://jakarta.apache.org/struts/faqs/eclipse.html), by JamesMitchell. I provide the following only because I had some problems getting his version of build.xml to work (specifically a Missing message for key index.title error message due to resources not being copied). I also prefer the Tomcat style build process (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev). This is still a work in progress...

Struts 1.1 RC 1, Tomcat 4.1.24, Eclipse 2.1.0

I'll expand these later...

<!--
{{{  Removed comments and slightly modified from original at... 
  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/build.xml.txt 
   
  Requires CATALINA_HOME environment variable set 
  and $CATALINA_HOME/server/lib/catalina-ant.jar in CLASSPATH. 

-->

<project name="StrutsTest" default="compile" basedir=".">

{{{ <property environment="env"/> <!-- ADDED -->

<!-- Dummy external dependency --> <!-- {{{ <property name="foo.jar"

-->

{{{ <path id="compile.classpath">

<!--     <pathelement location="${foo.jar}"/>  -->

{{{ <!-- Include all elements that Tomcat exposes to applications -->

<!--     <copy todir="${build.home}/WEB-INF/lib" file="${foo.jar}"/>  -->

{{{ <!-- Copy static files from external dependencies as needed -->

</project>

StrutsProjectPages/WhiteBoard (last edited 2009-09-20 23:31:29 by localhost)