Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jetty/Howto/Upgrade from Jetty 6 to Jetty 7"
Line 2: | Line 2: | ||
|introduction = | |introduction = | ||
− | + | With the move to Eclipse, the Jetty 7 source was refactored. | |
− | For classes no longer available on Jetty 7 (e.g <tt>org.mortbay.jetty.security.HashUserRealm</tt>), the tool will offer recommendations on how to proceed. | + | The jetty6to7 converter tool will help convert your old Jetty 6 configuration files and sources to Jetty 7. For classes no longer available on Jetty 7 (e.g <tt>org.mortbay.jetty.security.HashUserRealm</tt>), the tool will offer recommendations on how to proceed. |
|steps = | |steps = | ||
Line 17: | Line 17: | ||
|examples = | |examples = | ||
− | === | + | === Converting a single file === |
java -jar jetty6to7-1.0.jar src/main/config/jetty.xml | java -jar jetty6to7-1.0.jar src/main/config/jetty.xml | ||
− | === | + | === Converting multiple files and directories === |
java -jar jetty6to7-1.0.jar src/main/config/jetty.xml src/main/etc/jetty-env.xml src/main/java | java -jar jetty6to7-1.0.jar src/main/config/jetty.xml src/main/etc/jetty-env.xml src/main/java | ||
− | === | + | === Converting with options === |
java -jar jetty6to7-1.0.jar -Dconversion.recursive=false src/main/java | java -jar jetty6to7-1.0.jar -Dconversion.recursive=false src/main/java | ||
}} | }} |
Revision as of 03:28, 16 June 2009
- REDIRECT Template:Jetty Howto