Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Jetty/Howto/Upgrade from Jetty 6 to Jetty 7"

< Jetty‎ | Howto
(New page: {{JettyHowTos | introduction = This 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 `org.mortbay.jetty....)
 
Line 1: Line 1:
{{JettyHowTos
+
{{Jetty How Tos
| introduction = This 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 `org.mortbay.jetty.security.HashUserRealm`), the tool will offer recommendations on how to proceed.
+
|introduction =
 +
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 =
 +
# Download [http://docs.codehaus.org/download/attachments/120259186/jetty6to7-1.0.jar the jetty6to7 converter tool] (~19kb).
 +
# Run:
 +
java -jar jetty6to7-1.0.jar /path/to/your/files/or/dir
 +
 
 +
|notes =
 +
* This tool modifies your files; it does not create new copies.
 +
* To see the various options and their default values, run the tool without args:
 +
java -jar jetty6to7-1.0.jar
 +
 
 +
|examples =
 +
=== Running on a single file ===
 +
  java -jar jetty6to7-1.0.jar src/main/config/jetty.xml
 +
 
 +
=== Running on multiple files and directories ===
 +
  java -jar jetty6to7-1.0.jar src/main/config/jetty.xml src/main/etc/jetty-env.xml src/main/java
 +
 
 +
=== Running with modified options ===
 +
  java -jar jetty6to7-1.0.jar -Dconversion.recursive=false src/main/java
 
}}
 
}}

Revision as of 03:23, 16 June 2009

  1. REDIRECT Template:Jetty Howto

Back to the top