Migrate Tapestry 4 to Tapestry 5

Proprietary

Migrates Apache Tapestry 4 applications to Tapestry 5. This includes package renames, removing base class inheritance, converting listener interfaces to annotations, and updating dependencies.

org.openrewrite.tapestry.MigrateTapestry4To5
mod run . --recipe=org.openrewrite.tapestry.MigrateTapestry4To5

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Remove Tapestry 4 base classes
  2. Convert Tapestry 4 listener interfaces to Tapestry 5 annotations
  3. Remove IRequestCycle parameters
  4. Convert annotated abstract method to field
  5. Convert annotated abstract method to field
  6. Convert Tapestry 4 @Bean to @Property
  7. Convert annotated abstract method to field
  8. Convert annotated abstract method to field
  9. Convert annotated abstract method to field
  10. Change Tapestry 4 types to Tapestry 5 equivalents
  11. Remove annotation @org.apache.tapestry.annotations.InitialValue
  12. Change Tapestry 4 packages to Tapestry 5
  13. Remove annotation @org.apache.tapestry.annotations.ComponentClass
  14. Remove annotation @org.apache.tapestry5.annotations.ComponentClass
  15. Replace ReverseComparator with Collections.reverseOrder()
  16. Remove obsolete Tapestry form types
  17. Update Tapestry dependencies