diff options
3 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java index c9c9ef62c..85a4103c4 100644 --- a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java +++ b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/ProvCommandProvider.java @@ -205,9 +205,8 @@ public class ProvCommandProvider implements CommandProvider { public void _provaddprofile(CommandInterpreter interpreter) { String profileId = interpreter.nextArgument(); String location = interpreter.nextArgument(); - String flavor = interpreter.nextArgument(); - if (profileId == null || location == null || flavor == null) { - interpreter.println("Id, location, and flavor must be provided"); + if (profileId == null || location == null) { + interpreter.println("Id and location must be provided"); return; } String environments = interpreter.nextArgument(); diff --git a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties index e422fb27f..02c1593f7 100644 --- a/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties +++ b/bundles/org.eclipse.equinox.p2.console/src/org/eclipse/equinox/internal/p2/console/messages.properties @@ -23,7 +23,7 @@ Console_help_provlar_description=[<repository URI>] - Lists all artifact reposit Console_help_provliu_description=[<repository URI | *> <iu id | *> <version range | *>] - Lists the IUs that match the pattern in the given repo. * matches all. Console_help_provlquery_description=<repository URI | *> <expression> [ true | false ] - Lists the IUs that match the query expression in the given repo. * matches all. The expression is expected to be a boolean match expression unless the third argument is true, in which case the expression is a full query. Console_help_profile_registry_header=Profile Registry Commands. -Console_help_provaddprofile_description=<profileid> <location> <flavor> - Add a profile with the given profileid, location and flavor. +Console_help_provaddprofile_description=<profileid> <location> <environments> - Add a profile with the given profileid, location and also environments if specified. Console_help_provdelprofile_description=<profileid> - Deletes the profile with the given profileid. Console_help_provlp_description=[<profileid | *>] - Lists all profiles, or the contents of an individual profile if profileid is specified. Console_help_provlgp_description=[<profileid>] - Lists all IUs with group capabilities in the given profile, or current profile if profileid is omitted. diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllTests.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllTests.java index ba7d9009b..4d60cfffe 100644 --- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllTests.java +++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/AllTests.java @@ -150,6 +150,7 @@ public class AllTests extends TestCase { suite.addTestSuite(SingletonOptionallyInstalled.class); suite.addTestSuite(SingletonOptionallyInstalled2.class); suite.addTestSuite(SWTFragment.class); + suite.addTestSuite(SynchronizeOperationTest.class); suite.addTestSuite(TopLevelFilterTest.class); suite.addTestSuite(TwoVersionsOfWSDL.class); suite.addTestSuite(UninstallEverything.class); |