Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.5.0
-
None
-
None
Description
The following command:
apex -e "launch ./pi-demo-3.6.0.apa PiDemo "
Produces following error
1. PiDemo
2. PiDemoAppData
com.datatorrent.stram.cli.ApexCli$CliException: More than one application in Application Package match 'PiDemo'
at com.datatorrent.stram.cli.ApexCli.getLaunchAppPackageArgs(ApexCli.java:3546)
at com.datatorrent.stram.cli.ApexCli.launchAppPackage(ApexCli.java:3495)
at com.datatorrent.stram.cli.ApexCli.access$7400(ApexCli.java:152)
at com.datatorrent.stram.cli.ApexCli$LaunchCommand.execute(ApexCli.java:1933)
at com.datatorrent.stram.cli.ApexCli$3.run(ApexCli.java:1492)
In interactive mode the user gets to specify the index, which would be good to support with -e also. It would also be good to have a switch for exact match vs. prefix match.