(Eclipse 3.4, Ganymede)
I have an existing dynamic web application project in Eclipse. When I created the project, I indicated "Default Configuration for Apache Tomcat v6" in the "Configuration" drop-down list.
This is a month or 2 on the line, and now I would like to change the configuration to Tomcat 'v5.5'. (This will be the version of Tomcat on the production server.)
I tried the following steps (without success):
- I selected
Targeted Runtimes in the Properties project
The Tomcat v5.5 was disabled and the user interface displayed this message:
If the runtime you want to select is not displayed or is disabled you may need to uninstall one or more of the currently installed project facets. - Then I clicked the
Uninstall Facets... link.
On the Runtimes tab, only Tomcat 6 displayed.
For Dynamic Web Module I chose version 2.4 instead of 2.5 .
The Runtimes tab now displays Tomcat 5.5 .
However, the user interface now displays this message:
Cannot change version of project facet Dynamic Web Module to 2.4.
The Finish button was disabled, so I reached a dead end.
I can successfully create a new project with Tomcat v5.5 configuration. For some reason, however, this will not allow me to downgrade the "existing project."
As a job, I created a new project and copied the source files from the old project. However, the detour was rather painful and somewhat awkward.
Can anyone explain how I can “downgrade” the project configuration from “Tomcat 6” to “Tomcat 5”? Or perhaps shed light on why this happened?
thank
Pete
user13360 Sep 16 '08 at 19:04 2008-09-16 19:04
source share