Differences between revisions 2 and 3
Revision 2 as of 2005-03-22 05:48:35
Size: 1573
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 3 as of 2009-09-20 23:12:47
Size: 1575
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
[http://jakarta.apache.org/struts/userGuide/installation.html Struts User Guide Sec. 6.2 - Installation] [[http://jakarta.apache.org/struts/userGuide/installation.html|Struts User Guide Sec. 6.2 - Installation]]

To get the Struts 1.1 source to compile as a project in Eclipse use the following guide:

1) From the CVS perspective, create a new repository pointing at the Apache CVS server.

  • Host: cvs.apache.org
  • Repository path: /home/cvspublic
  • User: anoncvs
  • Password:["leave blank"]

2) From the Versions branch of the CVS Repository window, open Versions, then jakarta-struts. Right click on "jakarta-struts STRUTS_1_1" and do "Check out as...". Create a new project using the default name and hit Finish.

3) Add the necessary jars to the project's classpath. It's up to you to find these, but this may help:

Struts User Guide Sec. 6.2 - Installation

In any case, from your Java perspective, right click on your jakarta-struts project, Properties, Java Build Path, then the Libaries tab. Add the following jars:

  • commons-beanutils.jar
  • commons-collections.jar
  • commons-digester.jar
  • commons-fileupload-1.0.jar
  • commons-lang-1.0.1.jar
  • commons-logging.jar
  • commons-validator.jar
  • jaxp-api.jar
  • jdbc2_0-stdext.jar
  • jdom.jar
  • log4j-1.2.3.jar
  • sax.jar
  • servletapi-2.3.jar

4) Now click on the Source tab and add the following folders:

  • jakarta-struts/contrib/struts-legacy/src/java
  • jakarta-struts/contrib/struts-legacy/src/jdk/1.3
  • jakarta-struts/src/share

That is, hopefully, it.

StrutsBuildingFromSourceUsingEclipse (last edited 2009-09-20 23:12:47 by localhost)