Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@ class GenerateFeaturesTask extends AbstractFeatureTask {
configDocument.createFeature(missing);
}
// Generate log message before writing file as the file change event kicks off other dev mode actions
logger.lifecycle("Generated the following features: " + missingLibertyFeatures);
logger.lifecycle("Generated the features " + missingLibertyFeatures + " in the file " + newServerXmlSrc.getAbsolutePath());
// use logger.lifecycle so that message appears without --info tag on
configDocument.writeXMLDocument(newServerXmlSrc);
logger.debug("Created file " + newServerXmlSrc);
} else {
logger.lifecycle("Regenerated the following features: " + missingLibertyFeatures);
logger.lifecycle("Generated the features " + missingLibertyFeatures + " and confirmed they exist in the file: " + newServerXmlSrc.getAbsolutePath());
// use logger.lifecycle so that message appears without --info tag on
}
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class BaseDevTest extends AbstractIntegrationTest {
static String buildFilename = "build.gradle";
final String RUNNING_INSTALL_FEATURE = "Task :installFeature";
final String RUNNING_GENERATE_FEATURES = "Task :generateFeatures";
final String REGENERATE_FEATURES = "Regenerated the following features:";
final String GENERATE_FEATURES = "Generated the following features:";
final String REGENERATE_FEATURES = "and confirmed they exist in the file: ";
final String GENERATE_FEATURES = " in the file ";
final String GENERATED_FEATURES_FILE_NAME = "generated-features.xml";
final String SERVER_XML_COMMENT = "Plugin has generated Liberty features"; // the explanation added to server.xml
final String NEW_FILE_INFO_MESSAGE = "This file was generated by the Liberty Gradle Plugin and will be overwritten"; // the explanation added to the generated features file
Expand Down