Migrate Tapestry 4 to Tapestry 5
ProprietaryMigrates 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. MigrateTapestry4To5mod run . --recipe= org. openrewrite. tapestry. MigrateTapestry4To5Install 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.
- Remove Tapestry 4 base classes
- Convert Tapestry 4 listener interfaces to Tapestry 5 annotations
- Remove
IRequestCycleparameters - Convert annotated abstract method to field
- Convert annotated abstract method to field
- Convert Tapestry 4
@Beanto@Property - Convert annotated abstract method to field
- Convert annotated abstract method to field
- Convert annotated abstract method to field
- Change Tapestry 4 types to Tapestry 5 equivalents
- Remove annotation
@org.apache.tapestry.annotations.InitialValue - Change Tapestry 4 packages to Tapestry 5
- Remove annotation
@org.apache.tapestry.annotations.ComponentClass - Remove annotation
@org.apache.tapestry5.annotations.ComponentClass - Replace
ReverseComparatorwithCollections.reverseOrder() - Remove obsolete Tapestry form types
- Update Tapestry dependencies