butterfly
butterfly copied to clipboard
Application transformation tool
Make sure `LocateFile.getDescription()` results in correct description, according to the two possible use cases, as shown below. |Direction|Usage|Expected description| |----|----|----| |Forward|`add(new LocateFile().relative("/src/main/resources");`|Locate file "/src/main/resources"| |Backward|`add(new LocateFile(3).absolute(ATT);`|Locate file 3 parent levels...
Butterfly extensions that need to deal with upgrades of Maven based applications can get really complex, large and verbose if they have multiple upgrade steps, plus multiple application types and...
The contract (API, javadoc and validation) in `executeIf` and `executeUnless`, under `TransformationUtility`, have to be improved. Here are the rules: 1. It must accept ONLY booleans 1. It must declare...
1. Rename `attribute` to `compareAttribute` 1. Add a new instance variable called `compareRelative`, to be used as an alternative to `compareAttribute`, pointing directly to the comparison file, but relatively to...
Add CLI option, pointing to extension Maven coordinates, to allow running a transformation from an extension that is not installed (no need for pre-installation). This command would allow to install...
Currently Butterfly can be installed using a zip file or brew (for Mac). Research and create more installation options. There should be installers (same or different) for Mac, Windows and...
Apply **try-with-resources statement** (AKA **ARM blocks**) in Butterfly code. #### References - http://www.oracle.com/technetwork/articles/java/trywithresources-401775.html - https://www.infoq.com/news/2010/08/arm-blocks
Upgrade the most important third-party jars, a few examples below, to their latest versions. - Spring Boot - maven-model - maven-invoker - commons-io - commons-lang - lightcouch - gson -...
I think Butterfly CLI package should come with File based metrics.
Currently, whenever a TU or TO fails, its error message is only showed if Butterfly is run in debug mode. The error message should be printed even in INFO level,...