You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

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.

  • No labels