Details
-
Story
-
Resolution: Unresolved
-
Minor
-
None
-
2.5.0.Final
Description
In addition to
bin/windup --input /home/ondra/work/Migration/TestApps/_apps/jee-example-app-1.0.0-unparsable.ear \ --output /tmp/Windup/resJee --overwrite --batchMode --debugx --keepWorkDirs --target eap\ --packages com us --offline --mavenize --enableClassNotFoundAnalysis --enableTattletale
users could run
bin/windup --options myRun.properties
and myRun.properties would contain
input: /home/ondra/work/Migration/TestApps/_apps/jee-example-app-1.0.0-unparsable.ear output: /tmp/Windup/resJee overwrite: batchMode: debug: keepWorkDirs: target: eap packages: com us offline: mavenize: enableClassNotFoundAnalysis: enableTattletale:
or an equivalent in XML.
(I am assuming that the properties API can differentiate empty and missing value, not sure. It could be a custom keyval API.)
This would IMO improve user experience in few ways:
1) Several "profiles" ready to use just by changing the --option param
2) Less error prone than console command arguments
3) More readable
4) Easier for scripted scenarios (CI)