You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by Apache Wiki <wi...@apache.org> on 2006/06/22 07:09:22 UTC

[Struts Wiki] Update of "EclipseIDEExampleProblems" by JamesMitchell

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 JamesMitchell:
http://wiki.apache.org/struts/EclipseIDEExampleProblems

The comment on the change is:
This is very old

------------------------------------------------------------------------------
- Used the "how to" to use struts with Eclipse.
+ deleted
  
- ---
- Problems:
- + NO mention of where to get the jakarta-servletapi-4 from. This took ages find (google helped)
- + Followed the example with relative ease (apart from going blind looking at the screenshots) until
- {{{ we got to running the ant tool, then found that adding in the newest ANT means the newest Eclipse does not work with it. }}}
- This was found after a good deal of looking round... and a few choice words...
- {{{   http://forum.java.sun.com/thread.jsp?thread=440539&forum=31&message=1996353 }}}
- Aftre this I had REAL trouble with the supplied ANT Script, finally replacing the war part with this:
- {{{      <target name="war"> 
-  	    <war destfile="${war.file.name}" webxml="./WEB-INF/web.xml"> 
-  	      <fileset dir="./" includes="*.*" excludes="*.war, **/.*"/> 
-           <webinf  dir="./WEB-INF"  includes="*.*, ./classes/*, ./doc/*" excludes="web.xml, **/*.jar, **/*.class, **/*.java, **/*.properties"/> 
-           <lib dir="./WEB-INF/lib"/> 
-           <classes dir="./WEB-INF/classes" includes="**/*.class"/> 
-           <classes dir="./WEB-INF/src" includes="**/*.properties"/> }}}
- 	    </war>
- {{{     </target> }}}
- 
- Hope this helps make the how-to better.
- 
- Tony
-