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
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Jetty How Tos
+
{{Jetty Redirect}}
  
|introduction =
+
{{Jetty Howto
The jetty6to7 converter tool will help convert your old Jetty 6 configuration files and sources to Jetty 7.
+
| introduction =
 +
With the move to Eclipse, the Jetty 7 code base was refactored; this has several long-term benefits, but means that configuration files and code which use Jetty 6 classes must first be converted 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.
+
Jetty 6, Jetty 7, and Jetty 8 are all now EOL (End of Life)
  
|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 =
+
| more =
=== Running on a single file ===
+
* [[Jetty/Reference/Dependencies|Jetty Jars and Dependencies]]
  java -jar jetty6to7-1.0.jar src/main/config/jetty.xml
+
* [http://blogs.webtide.com/gregw/entry/jetty_6_jetty_7_and Roadmap for Jetty 6, Jetty 7, and Jetty 8]
 +
* [[Jetty/Starting/Porting to Jetty 7/Packages and Classes|Reference to package and classnames which have been refactored]]
 +
}}
  
=== Running on multiple files and directories ===
+
[[Category: Jetty Porting]]
  java -jar jetty6to7-1.0.jar src/main/config/jetty.xml src/main/etc/jetty-env.xml src/main/java
+
[[Category: Jetty Starting]]
 
+
=== Running with modified options ===
+
  java -jar jetty6to7-1.0.jar -Dconversion.recursive=false src/main/java
+
}}
+

Latest revision as of 18:18, 6 October 2015

Warning2.png
Jetty 7 and Jetty 8 are now EOL (End of Life)




THIS IS NOT THE DOCUMENTATION YOU ARE LOOKING FOR!!!!!






All development and stable releases are being performed with Jetty 9 and Jetty 10.






This wiki is now officially out of date and all content has been moved to the Jetty Documentation Hub






Direct Link to updated documentation: Unavailable




Introduction

With the move to Eclipse, the Jetty 7 code base was refactored; this has several long-term benefits, but means that configuration files and code which use Jetty 6 classes must first be converted to Jetty 7.

Jetty 6, Jetty 7, and Jetty 8 are all now EOL (End of Life)






Additional Resources

Back to the top