Skip to content

Commit

Permalink
Remove explicit call to install feature as that will be triggered by …
Browse files Browse the repository at this point in the history
…dev mode already

Signed-off-by: Kathryn Kodama <kathryn.s.kodama@gmail.com>
  • Loading branch information
kathrynkodama committed Feb 8, 2022
1 parent ef6aa8e commit 9228dfd
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -580,13 +580,11 @@ class DevTask extends AbstractFeatureTask {
// - start server
util.restartServer();
return true;
} else if ((installFeatures || compileDependenciesChanged) && generateFeatures) { // generate features if compile dependencies have been modified
} else if (compileDependenciesChanged && generateFeatures) { // generate features if compile dependencies have been modified
// optimize generate features on build dependency change
boolean generateFeaturesSuccess = libertyGenerateFeatures(null, true);
if (generateFeaturesSuccess) {
util.javaSourceClassPaths.clear();
libertyCreate(); // need to run create in order to copy generated config file to target
libertyInstallFeature(); // install newly generated features
};
} else if (installFeatures) {
libertyInstallFeature();
Expand Down

0 comments on commit 9228dfd

Please sign in to comment.