Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Upgrade from jetty6 to jetty7(eclipse)

This tool will help convert your old jetty6 config files (and sources) to jetty7.
For classes no longer available on jetty7 (e.g, the tool will give you recommendations on how to proceed.

Please also refer to the documentation on Eclipse: Porting to Jetty7 and Porting to Jetty7 Package and Class Names.

Code Block
$ java -jar jetty6to7-1.0.jar /path/to/your/files/or/dir

If the args provided are dirs, it will recursively update the files by default. (otherwise specify -Dconversion.recursive=false)


To see the various options, run it without args (it will print out the options):

Code Block
$ java -jar jetty6to7-1.0.jar


Code Block
$ java -jar jetty6to7-1.0.jar src/main/config/jetty.xml src/main/etc/jetty-env.xml src/main/java


The jetty6to7-1.0.jar is ~19kb.

Contact the core Jetty developers at
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery