You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ge...@apache.org on 2010/08/19 07:58:13 UTC
svn commit: r987025 -
/geronimo/server/branches/2.2/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
Author: genspring
Date: Thu Aug 19 05:58:12 2010
New Revision: 987025
URL: http://svn.apache.org/viewvc?rev=987025&view=rev
Log:
Additional patch for GERONIMO-5504, thanks Viola for the patch.
Modified:
geronimo/server/branches/2.2/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
Modified: geronimo/server/branches/2.2/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java?rev=987025&r1=987024&r2=987025&view=diff
==============================================================================
--- geronimo/server/branches/2.2/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java (original)
+++ geronimo/server/branches/2.2/framework/buildsupport/geronimo-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/geronimo/server/StartServerMojo.java Thu Aug 19 05:58:12 2010
@@ -513,10 +513,11 @@ public class StartServerMojo
}
ServerInfo serverInfo = new BasicServerInfo(geronimoHome.getAbsolutePath(), false);
- PluginAttributeStore attributeStore = new LocalAttributeManager(serverInstance.getConfigFile(), serverInstance.getConfigSubstitutionsFile(),
+ LocalAttributeManager attributeStore = new LocalAttributeManager(serverInstance.getConfigFile(), serverInstance.getConfigSubstitutionsFile(),
serverInstance.getConfigSubstitutionsPrefix(),
false,
serverInfo);
+ attributeStore.load();
for (ModuleType module : overrides.getModule()) {
Artifact artifact = Artifact.create(module.getName());
attributeStore.setModuleGBeans(artifact, module.getGbean(), module.isLoad(), module.getCondition());