geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tki...@apache.org
Subject svn commit: r769230 - /geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/CommonGeneralSection.java
Date Tue, 28 Apr 2009 03:34:12 GMT
Author: tkirby
Date: Tue Apr 28 03:34:04 2009
New Revision: 769230

URL: http://svn.apache.org/viewvc?rev=769230&view=rev
Log:
[GERONIMODEVTOOLS-569] Deploy error when add share lib dependency.  Thanks for the patch Viola
Lu.

Modified:
    geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/CommonGeneralSection.java

Modified: geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/CommonGeneralSection.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/CommonGeneralSection.java?rev=769230&r1=769229&r2=769230&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/CommonGeneralSection.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/2.0.2/plugins/org.apache.geronimo.st.v11.ui/src/org/apache/geronimo/st/v11/ui/sections/CommonGeneralSection.java
Tue Apr 28 03:34:04 2009
@@ -60,6 +60,8 @@
 	protected Button suppressDefaultEnv;
 	
 	protected Button sharedLibDepends;
+	
+	
 
 	public CommonGeneralSection(Composite parent, FormToolkit toolkit, int style, EObject plan)
{
 		super(parent, toolkit, style, plan);
@@ -267,7 +269,7 @@
 	protected void setSharedLibDependency(boolean enable) {
 		if (enable) {
 			DependenciesType deptype = getDependenciesType(true);
-			ArtifactType sharedLib = V11DeploymentPlanCreationOperation.createDependencyType("geronimo",
"sharedlib", null, "car");
+			ArtifactType sharedLib = V11DeploymentPlanCreationOperation.createDependencyType("org.apache.geronimo.configs",
"sharedlib", null, "car");
 			deptype.getDependency().add(sharedLib);
 		} else {
 			DependenciesType deptype = getDependenciesType(false);
@@ -286,7 +288,7 @@
 		Iterator i = dependencies.iterator();
 		while(i.hasNext()) {
 			ArtifactType artifact = (ArtifactType) i.next();
-			if("geronimo".equals(artifact.getGroupId()) && "sharedlib".equals(artifact.getArtifactId())
&& "car".equals(artifact.getType())) {
+			if("org.apache.geronimo.configs".equals(artifact.getGroupId()) && "sharedlib".equals(artifact.getArtifactId())
&& "car".equals(artifact.getType())) {
 				return artifact;
 			}
 		}



Mime
View raw message