Skip to content

Commit

Permalink
Added custom parameters in start container
Browse files Browse the repository at this point in the history
  • Loading branch information
aparnamichael committed Oct 30, 2023
1 parent 076a924 commit 72ac346
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ protected void executeLibertyAction(LibertyModule libertyModule) {
String startCmd;
try {
startCmd = projectType.equals(Constants.LIBERTY_MAVEN_PROJECT) ? LibertyMavenUtil.getMavenSettingsCmd(project) + Constants.LIBERTY_MAVEN_START_CONTAINER_CMD : LibertyGradleUtil.getGradleSettingsCmd(project) + Constants.LIBERTY_GRADLE_START_CONTAINER_CMD;
startCmd += libertyModule.getCustomStartParams();
} catch (LibertyException ex) {
// in this case, the settings specified to mvn or gradle are invalid and an error was launched by getMavenSettingsCmd or getGradleSettingsCmd
LOGGER.warn(ex.getMessage()); // Logger.error creates an entry on "IDE Internal Errors", which we do not want
Expand Down

0 comments on commit 72ac346

Please sign in to comment.