Hi,
I would like to ask about the best approach to transfer groovy files. Out product contains several groovy script files and in order for our customers to upgrade to use the latest release of the product, they need to transfer their existing
groovy files.
I run the transformer on several groovy files inside a folder using 2 custom properties files ( below ) . I test a few files and as far as I can see the packages inside the files are transformed correct name ex. Javax.servlet - > Jakarta.servlet.
This under the hood uses TextActionImpl.
However, when I compared how TextActionImpl with JavaActionImpl work, I found JavaActionImpl offered more replacements (textUpdate, packagesUpdate, binaryPackagesUpdate, ..) while TextActionImpl offers one replacement (textUpdate). To my
understanding groovy script file should be treated like .java files. Is there way to run the transformer on groovy files to guarantee a behaviour like .java files ?
Files
------------------------------------------------------------
jakarta-selection.properties
*.groovy=UTF-8
jakarta-text-master.properties
*.groovy=jakarta-direct.properties,jakarta-renames.properties
Command
------------------------------------------------------------
java -jar org.eclipse.transformer.cli-0.5.0.jar -o /sdk-project-template /sdk-project-template-output
Thanks,
Tim