Added debug statements
@@ -875,6 +875,7 @@ public class DevMojo extends LooseAppSupport {
if (compileDependenciesChanged && generateFeatures) {
// build file change - provide updated classes and all existing features to binary scanner
Collection<String> javaSourceClassPaths = util.getJavaSourceClassPaths();
+ log.debug("1322: Calling libertyGenerateFeatures from DevUtil line 879");
libertyGenerateFeatures(javaSourceClassPaths, false);
}
if (isUsingBoost() && (createServer || runBoostPackage)) {
@@ -886,6 +887,7 @@ public class DevMojo extends LooseAppSupport {
runLibertyMojoDeploy();
}
if (installFeature) {
+ log.debug("1322: Calling runLibertyMojoInstallFeature from DevUtil line 890");
runLibertyMojoInstallFeature(null, super.getContainerName());
}
}
@@ -920,6 +922,7 @@ public class DevMojo extends LooseAppSupport {
for (int i = 0; i < features.size(); i++) {
featureElems[i + 1] = element(name("feature"), values[i]);
}
+ log.debug("1322: Calling runLibertyMojoInstallFeature from DevUtil line 925");
runLibertyMojoInstallFeature(element(name("features"), featureElems), super.getContainerName());
this.existingFeatures.addAll(features);
}
@@ -1168,6 +1171,7 @@ public class DevMojo extends LooseAppSupport {
// generate features on startup - provide all classes and only user specified
// features to binary scanner
try {
+ log.debug("1322: Calling libertyGenerateFeatures from DevUtil line 1175");
runLibertyMojoGenerateFeatures(null, true);
} catch (MojoExecutionException e) {
if (e.getCause() != null && e.getCause() instanceof PluginExecutionException) {
@@ -1186,6 +1190,7 @@ public class DevMojo extends LooseAppSupport {
// should have "RUN features.sh" in their Dockerfile if they want features to be
// installed.
if (!container) {
+ log.debug("1322: Calling runLibertyMojoInstallFeature from DevUtil line 1192");
runLibertyMojoInstallFeature(null, null);
}
runLibertyMojoDeploy();
