[
https://issues.jboss.org/browse/JBIDE-26066?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-26066:
------------------------------------------
This is caused by the following code:
{code:title=org.jboss.tools.maven.springboot.configurators.ModuleUtils}
private static void addChildModule(IProject dependency, IVirtualComponent project,
IProgressMonitor monitor)
throws CoreException {
MavenCoreActivator.log(NLS.bind("Adding child module {0} to project {1}.",
dependency.getName(), project.getName()));
{code}
Turns out that *MavenCoreActivator.log()* logs messages as errors, which is quite
unexpected.
{code:title=org.jboss.tools.maven.core.MavenCoreActivator}
public static void log(String message) {
IStatus status = new Status(IStatus.ERROR, PLUGIN_ID, message);
getDefault().getLog().log(status);
}
{code}
Spring Boot Project configurator: "Adding child module {0} to
project {1}." reported as error in log where's no error
---------------------------------------------------------------------------------------------------------------------
Key: JBIDE-26066
URL:
https://issues.jboss.org/browse/JBIDE-26066
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: central
Affects Versions: 4.6.0.AM2
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.6.0.AM3
steps:
# EXEC: import the 2 projects that are in the zip that's attached to JBIDE-25504
# EXEC: look into the Eclipse log
Result:
You'll find the following error
{code}
"Adding child module penguins to project camel-ose-springboot-xml."
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)