| Summary: | In the p2 console, the flavor is not considered in provaddprofile | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Anthony Dahanne <anthony.dahanne> | ||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | pascal, sebastien.angers | ||||
| Version: | unspecified | ||||||
| Target Milestone: | Juno M1 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 197265 [details]
removes the requirement on flavor, indicates in the help message the possibility to specify environments
Patch applied thx. thanks ! |
Build Identifier: equinox/p2 trunk The method in charge of adding a new profile, through the p2 console, in org.eclipse.equinox.internal.p2.console.ProvCommandProvider, named _provaddprofile ; required a flavor to be specified; String flavor = interpreter.nextArgument(); if (profileId == null || location == null || flavor == null) { interpreter.println("Id, location, and flavor must be provided"); return; } but does not use it. Worse, just after this, we read a 4th argument, environments, that could be used; but since the user is supposed to enter only 3 arguments, it's not used neither. I think it would be good to remove the requirement on flavor and tell in the help message that the 3rd optional argument is environments I coudl Reproducible: Always