geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r382997 [3/7] - in /geronimo/devtools/eclipse-plugin/trunk: ./ assembly/ etc/ features/org.apache.geronimo.feature.source/ features/org.apache.geronimo.feature/ features/org.apache.geronimo.installableruntime.tomcat.feature/ geronimo-emf/ m...
Date Sat, 04 Mar 2006 01:30:47 GMT
Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/Trace.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/Trace.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/internal/Trace.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/AbstractGeronimoJ2EEComponentOperation.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/AbstractGeronimoJ2EEComponentOperation.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/AbstractGeronimoJ2EEComponentOperation.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/AbstractGeronimoJ2EEComponentOperation.java Fri Mar  3 17:30:38 2006
@@ -1,96 +1,96 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.core.operations;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.jst.j2ee.application.internal.operations.J2EEComponentCreationDataModelProvider;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IComponentCreationDataModelProperties;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-
-public abstract class AbstractGeronimoJ2EEComponentOperation extends
-		AbstractDataModelOperation {
-
-	/**
-	 * 
-	 */
-	public AbstractGeronimoJ2EEComponentOperation() {
-		super();
-	}
-
-	/**
-	 * @param model
-	 */
-	public AbstractGeronimoJ2EEComponentOperation(IDataModel model) {
-		super(model);
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor,
-	 *      org.eclipse.core.runtime.IAdaptable)
-	 */
-	public IStatus redo(IProgressMonitor monitor, IAdaptable info)
-			throws ExecutionException {
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor,
-	 *      org.eclipse.core.runtime.IAdaptable)
-	 */
-	public IStatus undo(IProgressMonitor monitor, IAdaptable info)
-			throws ExecutionException {
-		return null;
-	}
-
-	public boolean isGeronimoRuntimeTarget() {
-		String runtimeID = model
-				.getStringProperty(J2EEComponentCreationDataModelProvider.RUNTIME_TARGET_ID);
-		return runtimeID != null && runtimeID.startsWith("Apache Geronimo");
-		/*
-		 * try { IFacetedProject p = ProjectFacetsManager.create(getProject());
-		 * return p.getRuntime().getName().startsWith("Apache Geronimo"); }
-		 * catch (CoreException e) { e.printStackTrace(); } return false;
-		 */
-	}
-
-	public String getComponentName() {
-		return model.getProperty(
-				IComponentCreationDataModelProperties.COMPONENT_NAME)
-				.toString();
-	}
-
-	public IProject getProject() {
-		String projectName = model.getProperty(
-				IComponentCreationDataModelProperties.PROJECT_NAME)
-				.toString();
-		if (projectName != null) {
-			return ResourcesPlugin.getWorkspace().getRoot().getProject(
-					projectName);
-		}
-		return null;
-	}
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.operations;
+
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.jst.j2ee.application.internal.operations.J2EEComponentCreationDataModelProvider;
+import org.eclipse.wst.common.componentcore.datamodel.properties.IComponentCreationDataModelProperties;
+import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+
+public abstract class AbstractGeronimoJ2EEComponentOperation extends
+		AbstractDataModelOperation {
+
+	/**
+	 * 
+	 */
+	public AbstractGeronimoJ2EEComponentOperation() {
+		super();
+	}
+
+	/**
+	 * @param model
+	 */
+	public AbstractGeronimoJ2EEComponentOperation(IDataModel model) {
+		super(model);
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor,
+	 *      org.eclipse.core.runtime.IAdaptable)
+	 */
+	public IStatus redo(IProgressMonitor monitor, IAdaptable info)
+			throws ExecutionException {
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor,
+	 *      org.eclipse.core.runtime.IAdaptable)
+	 */
+	public IStatus undo(IProgressMonitor monitor, IAdaptable info)
+			throws ExecutionException {
+		return null;
+	}
+
+	public boolean isGeronimoRuntimeTarget() {
+		String runtimeID = model
+				.getStringProperty(J2EEComponentCreationDataModelProvider.RUNTIME_TARGET_ID);
+		return runtimeID != null && runtimeID.startsWith("Apache Geronimo");
+		/*
+		 * try { IFacetedProject p = ProjectFacetsManager.create(getProject());
+		 * return p.getRuntime().getName().startsWith("Apache Geronimo"); }
+		 * catch (CoreException e) { e.printStackTrace(); } return false;
+		 */
+	}
+
+	public String getComponentName() {
+		return model.getProperty(
+				IComponentCreationDataModelProperties.COMPONENT_NAME)
+				.toString();
+	}
+
+	public IProject getProject() {
+		String projectName = model.getProperty(
+				IComponentCreationDataModelProperties.PROJECT_NAME)
+				.toString();
+		if (projectName != null) {
+			return ResourcesPlugin.getWorkspace().getRoot().getProject(
+					projectName);
+		}
+		return null;
+	}
+
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/AbstractGeronimoJ2EEComponentOperation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/AbstractGeronimoJ2EEComponentOperation.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/AbstractGeronimoJ2EEComponentOperation.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/DeploymentPlanCreationOperation.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/DeploymentPlanCreationOperation.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/DeploymentPlanCreationOperation.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/DeploymentPlanCreationOperation.java Fri Mar  3 17:30:38 2006
@@ -1,219 +1,219 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.core.operations;
-
-import java.io.IOException;
-import java.util.Collections;
-
-import org.apache.geronimo.core.internal.GeronimoSchemaNS;
-import org.apache.geronimo.core.internal.GeronimoUtils;
-import org.apache.geronimo.xml.ns.j2ee.application.ApplicationFactory;
-import org.apache.geronimo.xml.ns.j2ee.application.ApplicationType;
-import org.apache.geronimo.xml.ns.j2ee.connector.ConnectorFactory;
-import org.apache.geronimo.xml.ns.j2ee.connector.ConnectorType;
-import org.apache.geronimo.xml.ns.j2ee.web.WebAppType;
-import org.apache.geronimo.xml.ns.j2ee.web.WebFactory;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.openejb.xml.ns.openejb.jar.JarFactory;
-import org.openejb.xml.ns.openejb.jar.OpenejbJarType;
-
-public class DeploymentPlanCreationOperation extends
-		AbstractGeronimoJ2EEComponentOperation {
-
-	public DeploymentPlanCreationOperation() {
-	}
-
-	public DeploymentPlanCreationOperation(IDataModel model) {
-		super(model);
-	}
-
-	public IStatus execute(IProgressMonitor monitor, IAdaptable info)
-			throws ExecutionException {
-
-		if (isGeronimoRuntimeTarget()) {
-			execute();
-		}
-
-		return Status.OK_STATUS;
-	}
-
-	public void execute() {
-		IVirtualComponent comp = ComponentCore.createComponent(getProject());
-
-		String type = J2EEProjectUtilities.getJ2EEProjectType(getProject());
-
-		if (IModuleConstants.JST_WEB_MODULE.equals(type)) {
-			createGeronimoWebDeploymentPlan(GeronimoUtils
-					.getWebDeploymentPlanFile(comp));
-		} else if (IModuleConstants.JST_EJB_MODULE.equals(type)) {
-			createOpenEjbDeploymentPlan(GeronimoUtils
-					.getOpenEjbDeploymentPlanFile(comp));
-		} else if (IModuleConstants.JST_EAR_MODULE.equals(type)) {
-			createGeronimoApplicationDeploymentPlan(GeronimoUtils
-					.getApplicationDeploymentPlanFile(comp));
-		} else if (IModuleConstants.JST_CONNECTOR_MODULE.equals(type)) {
-			createConnectorDeploymentPlan(GeronimoUtils
-					.getConnectorDeploymentPlanFile(comp));
-		}
-	}
-
-	public ApplicationType createGeronimoApplicationDeploymentPlan(IFile dpFile) {
-		URI uri = URI
-				.createPlatformResourceURI(dpFile.getFullPath().toString());
-
-		ResourceSet resourceSet = new ResourceSetImpl();
-		GeronimoUtils.registerAppFactoryAndPackage(resourceSet);
-
-		Resource resource = resourceSet.createResource(uri);
-		org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot documentRoot = ApplicationFactory.eINSTANCE
-				.createDocumentRoot();
-		ApplicationType root = ApplicationFactory.eINSTANCE
-				.createApplicationType();
-
-		EMap map = documentRoot.getXMLNSPrefixMap();
-		map.put("", GeronimoSchemaNS.GERONIMO_APP_NS);
-		map.put("sec", GeronimoSchemaNS.GERONIMO_SECURITY_NS);
-		map.put("sys", GeronimoSchemaNS.GERONIMO_DEPLOYMENT_NS);
-
-		root.setApplicationName(getComponentName());
-		root.setConfigId(getProject().getName() + "/" + getComponentName());
-
-		documentRoot.setApplication(root);
-		resource.getContents().add(documentRoot);
-
-		doSave(resource);
-
-		return root;
-	}
-
-	public WebAppType createGeronimoWebDeploymentPlan(IFile dpFile) {
-
-		URI uri = URI
-				.createPlatformResourceURI(dpFile.getFullPath().toString());
-
-		ResourceSet resourceSet = new ResourceSetImpl();
-		GeronimoUtils.registerWebFactoryAndPackage(resourceSet);
-
-		Resource resource = resourceSet.createResource(uri);
-		org.apache.geronimo.xml.ns.j2ee.web.DocumentRoot documentRoot = WebFactory.eINSTANCE.createDocumentRoot();
-
-		EMap map = documentRoot.getXMLNSPrefixMap();
-		map.put("", GeronimoSchemaNS.GERONIMO_WEB_NS);
-		map.put("sec", GeronimoSchemaNS.GERONIMO_SECURITY_NS);
-		map.put("nam", GeronimoSchemaNS.GERONIMO_NAMING_NS);
-		map.put("sys", GeronimoSchemaNS.GERONIMO_DEPLOYMENT_NS);
-
-		WebAppType root = WebFactory.eINSTANCE.createWebAppType();
-
-		root.setConfigId(getProject().getName() + "/" + getComponentName());
-		root.setContextRoot("/" + getComponentName());
-		root.setContextPriorityClassloader(false);
-
-		documentRoot.setWebApp(root);
-		resource.getContents().add(documentRoot);
-
-		doSave(resource);
-
-		return root;
-	}
-
-	public OpenejbJarType createOpenEjbDeploymentPlan(IFile dpFile) {
-		URI uri = URI
-				.createPlatformResourceURI(dpFile.getFullPath().toString());
-
-		ResourceSet resourceSet = new ResourceSetImpl();
-		GeronimoUtils.registerEjbFactoryAndPackage(resourceSet);
-
-		Resource resource = resourceSet.createResource(uri);
-		org.openejb.xml.ns.openejb.jar.DocumentRoot documentRoot = JarFactory.eINSTANCE
-				.createDocumentRoot();
-		OpenejbJarType root = JarFactory.eINSTANCE.createOpenejbJarType();
-
-		EMap map = documentRoot.getXMLNSPrefixMap();
-		map.put("", GeronimoSchemaNS.GERONIMO_OPENEJB_NS);
-		map.put("sec", GeronimoSchemaNS.GERONIMO_SECURITY_NS);
-		map.put("nam", GeronimoSchemaNS.GERONIMO_NAMING_NS);
-		map.put("sys", GeronimoSchemaNS.GERONIMO_DEPLOYMENT_NS);
-		map.put("pkgen", GeronimoSchemaNS.GERONIMO_PKGEN_NS);
-
-		root.setConfigId(getProject().getName() + "/" + getComponentName());
-		
-		root.setEnterpriseBeans(JarFactory.eINSTANCE.createEnterpriseBeansType());
-
-		documentRoot.setOpenejbJar(root);
-		resource.getContents().add(documentRoot);
-
-		doSave(resource);
-
-		return root;
-	}
-
-	public ConnectorType createConnectorDeploymentPlan(IFile dpFile) {
-		URI uri = URI
-				.createPlatformResourceURI(dpFile.getFullPath().toString());
-
-		ResourceSet resourceSet = new ResourceSetImpl();
-		GeronimoUtils.registerEjbFactoryAndPackage(resourceSet);
-
-		Resource resource = resourceSet.createResource(uri);
-		org.apache.geronimo.xml.ns.j2ee.connector.DocumentRoot documentRoot = ConnectorFactory.eINSTANCE
-				.createDocumentRoot();
-		ConnectorType root = ConnectorFactory.eINSTANCE.createConnectorType();
-
-		EMap map = documentRoot.getXMLNSPrefixMap();
-		map.put("", GeronimoSchemaNS.GERONIMO_CONNECTOR_NS);
-		map.put("nam", GeronimoSchemaNS.GERONIMO_NAMING_NS);
-		map.put("sys", GeronimoSchemaNS.GERONIMO_DEPLOYMENT_NS);
-
-		root.setConfigId(getProject().getName() + "/" + getComponentName());
-
-		documentRoot.setConnector(root);
-		resource.getContents().add(documentRoot);
-
-		doSave(resource);
-
-		return root;
-	}
-
-	private void doSave(Resource resource) {
-		if (resource instanceof XMLResource) {
-			((XMLResource) resource).setEncoding("UTF-8");
-		}
-
-		try {
-			resource.save(Collections.EMPTY_MAP);
-		} catch (IOException e) {
-			e.printStackTrace();
-		}
-	}
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.operations;
+
+import java.io.IOException;
+import java.util.Collections;
+
+import org.apache.geronimo.core.internal.GeronimoSchemaNS;
+import org.apache.geronimo.core.internal.GeronimoUtils;
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationFactory;
+import org.apache.geronimo.xml.ns.j2ee.application.ApplicationType;
+import org.apache.geronimo.xml.ns.j2ee.connector.ConnectorFactory;
+import org.apache.geronimo.xml.ns.j2ee.connector.ConnectorType;
+import org.apache.geronimo.xml.ns.j2ee.web.WebAppType;
+import org.apache.geronimo.xml.ns.j2ee.web.WebFactory;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.ecore.xmi.XMLResource;
+import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+import org.openejb.xml.ns.openejb.jar.JarFactory;
+import org.openejb.xml.ns.openejb.jar.OpenejbJarType;
+
+public class DeploymentPlanCreationOperation extends
+		AbstractGeronimoJ2EEComponentOperation {
+
+	public DeploymentPlanCreationOperation() {
+	}
+
+	public DeploymentPlanCreationOperation(IDataModel model) {
+		super(model);
+	}
+
+	public IStatus execute(IProgressMonitor monitor, IAdaptable info)
+			throws ExecutionException {
+
+		if (isGeronimoRuntimeTarget()) {
+			execute();
+		}
+
+		return Status.OK_STATUS;
+	}
+
+	public void execute() {
+		IVirtualComponent comp = ComponentCore.createComponent(getProject());
+
+		String type = J2EEProjectUtilities.getJ2EEProjectType(getProject());
+
+		if (IModuleConstants.JST_WEB_MODULE.equals(type)) {
+			createGeronimoWebDeploymentPlan(GeronimoUtils
+					.getWebDeploymentPlanFile(comp));
+		} else if (IModuleConstants.JST_EJB_MODULE.equals(type)) {
+			createOpenEjbDeploymentPlan(GeronimoUtils
+					.getOpenEjbDeploymentPlanFile(comp));
+		} else if (IModuleConstants.JST_EAR_MODULE.equals(type)) {
+			createGeronimoApplicationDeploymentPlan(GeronimoUtils
+					.getApplicationDeploymentPlanFile(comp));
+		} else if (IModuleConstants.JST_CONNECTOR_MODULE.equals(type)) {
+			createConnectorDeploymentPlan(GeronimoUtils
+					.getConnectorDeploymentPlanFile(comp));
+		}
+	}
+
+	public ApplicationType createGeronimoApplicationDeploymentPlan(IFile dpFile) {
+		URI uri = URI
+				.createPlatformResourceURI(dpFile.getFullPath().toString());
+
+		ResourceSet resourceSet = new ResourceSetImpl();
+		GeronimoUtils.registerAppFactoryAndPackage(resourceSet);
+
+		Resource resource = resourceSet.createResource(uri);
+		org.apache.geronimo.xml.ns.j2ee.application.DocumentRoot documentRoot = ApplicationFactory.eINSTANCE
+				.createDocumentRoot();
+		ApplicationType root = ApplicationFactory.eINSTANCE
+				.createApplicationType();
+
+		EMap map = documentRoot.getXMLNSPrefixMap();
+		map.put("", GeronimoSchemaNS.GERONIMO_APP_NS);
+		map.put("sec", GeronimoSchemaNS.GERONIMO_SECURITY_NS);
+		map.put("sys", GeronimoSchemaNS.GERONIMO_DEPLOYMENT_NS);
+
+		root.setApplicationName(getComponentName());
+		root.setConfigId(getProject().getName() + "/" + getComponentName());
+
+		documentRoot.setApplication(root);
+		resource.getContents().add(documentRoot);
+
+		doSave(resource);
+
+		return root;
+	}
+
+	public WebAppType createGeronimoWebDeploymentPlan(IFile dpFile) {
+
+		URI uri = URI
+				.createPlatformResourceURI(dpFile.getFullPath().toString());
+
+		ResourceSet resourceSet = new ResourceSetImpl();
+		GeronimoUtils.registerWebFactoryAndPackage(resourceSet);
+
+		Resource resource = resourceSet.createResource(uri);
+		org.apache.geronimo.xml.ns.j2ee.web.DocumentRoot documentRoot = WebFactory.eINSTANCE.createDocumentRoot();
+
+		EMap map = documentRoot.getXMLNSPrefixMap();
+		map.put("", GeronimoSchemaNS.GERONIMO_WEB_NS);
+		map.put("sec", GeronimoSchemaNS.GERONIMO_SECURITY_NS);
+		map.put("nam", GeronimoSchemaNS.GERONIMO_NAMING_NS);
+		map.put("sys", GeronimoSchemaNS.GERONIMO_DEPLOYMENT_NS);
+
+		WebAppType root = WebFactory.eINSTANCE.createWebAppType();
+
+		root.setConfigId(getProject().getName() + "/" + getComponentName());
+		root.setContextRoot("/" + getComponentName());
+		root.setContextPriorityClassloader(false);
+
+		documentRoot.setWebApp(root);
+		resource.getContents().add(documentRoot);
+
+		doSave(resource);
+
+		return root;
+	}
+
+	public OpenejbJarType createOpenEjbDeploymentPlan(IFile dpFile) {
+		URI uri = URI
+				.createPlatformResourceURI(dpFile.getFullPath().toString());
+
+		ResourceSet resourceSet = new ResourceSetImpl();
+		GeronimoUtils.registerEjbFactoryAndPackage(resourceSet);
+
+		Resource resource = resourceSet.createResource(uri);
+		org.openejb.xml.ns.openejb.jar.DocumentRoot documentRoot = JarFactory.eINSTANCE
+				.createDocumentRoot();
+		OpenejbJarType root = JarFactory.eINSTANCE.createOpenejbJarType();
+
+		EMap map = documentRoot.getXMLNSPrefixMap();
+		map.put("", GeronimoSchemaNS.GERONIMO_OPENEJB_NS);
+		map.put("sec", GeronimoSchemaNS.GERONIMO_SECURITY_NS);
+		map.put("nam", GeronimoSchemaNS.GERONIMO_NAMING_NS);
+		map.put("sys", GeronimoSchemaNS.GERONIMO_DEPLOYMENT_NS);
+		map.put("pkgen", GeronimoSchemaNS.GERONIMO_PKGEN_NS);
+
+		root.setConfigId(getProject().getName() + "/" + getComponentName());
+		
+		root.setEnterpriseBeans(JarFactory.eINSTANCE.createEnterpriseBeansType());
+
+		documentRoot.setOpenejbJar(root);
+		resource.getContents().add(documentRoot);
+
+		doSave(resource);
+
+		return root;
+	}
+
+	public ConnectorType createConnectorDeploymentPlan(IFile dpFile) {
+		URI uri = URI
+				.createPlatformResourceURI(dpFile.getFullPath().toString());
+
+		ResourceSet resourceSet = new ResourceSetImpl();
+		GeronimoUtils.registerEjbFactoryAndPackage(resourceSet);
+
+		Resource resource = resourceSet.createResource(uri);
+		org.apache.geronimo.xml.ns.j2ee.connector.DocumentRoot documentRoot = ConnectorFactory.eINSTANCE
+				.createDocumentRoot();
+		ConnectorType root = ConnectorFactory.eINSTANCE.createConnectorType();
+
+		EMap map = documentRoot.getXMLNSPrefixMap();
+		map.put("", GeronimoSchemaNS.GERONIMO_CONNECTOR_NS);
+		map.put("nam", GeronimoSchemaNS.GERONIMO_NAMING_NS);
+		map.put("sys", GeronimoSchemaNS.GERONIMO_DEPLOYMENT_NS);
+
+		root.setConfigId(getProject().getName() + "/" + getComponentName());
+
+		documentRoot.setConnector(root);
+		resource.getContents().add(documentRoot);
+
+		doSave(resource);
+
+		return root;
+	}
+
+	private void doSave(Resource resource) {
+		if (resource instanceof XMLResource) {
+			((XMLResource) resource).setEncoding("UTF-8");
+		}
+
+		try {
+			resource.save(Collections.EMPTY_MAP);
+		} catch (IOException e) {
+			e.printStackTrace();
+		}
+	}
+
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/DeploymentPlanCreationOperation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/DeploymentPlanCreationOperation.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/DeploymentPlanCreationOperation.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanDataModelProvider.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanDataModelProvider.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanDataModelProvider.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanDataModelProvider.java Fri Mar  3 17:30:38 2006
@@ -1,47 +1,47 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.core.operations;
-
-import java.util.Set;
-
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelProvider;
-
-/**
- * 
- * 
- */
-public class ExportDeploymentPlanDataModelProvider extends
-        AbstractDataModelProvider implements
-        GeronimoDataModelProperties {
-
-    /**
-     * 
-     */
-    public ExportDeploymentPlanDataModelProvider() {
-        super();
-    }
-    
-    /* (non-Javadoc)
-     * @see org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider#getPropertyNames()
-     */
-    public Set getPropertyNames() {
-        Set propertyNames = super.getPropertyNames();
-        propertyNames.add(GeronimoDataModelProperties.COMPONENT_NAME);
-        propertyNames.add(GeronimoDataModelProperties.PROJECT_NAME);
-        return propertyNames;
-    }
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.operations;
+
+import java.util.Set;
+
+import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelProvider;
+
+/**
+ * 
+ * 
+ */
+public class ExportDeploymentPlanDataModelProvider extends
+        AbstractDataModelProvider implements
+        GeronimoDataModelProperties {
+
+    /**
+     * 
+     */
+    public ExportDeploymentPlanDataModelProvider() {
+        super();
+    }
+    
+    /* (non-Javadoc)
+     * @see org.eclipse.wst.common.frameworks.datamodel.IDataModelProvider#getPropertyNames()
+     */
+    public Set getPropertyNames() {
+        Set propertyNames = super.getPropertyNames();
+        propertyNames.add(GeronimoDataModelProperties.COMPONENT_NAME);
+        propertyNames.add(GeronimoDataModelProperties.PROJECT_NAME);
+        return propertyNames;
+    }
+
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanDataModelProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanDataModelProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanDataModelProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanOperation.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanOperation.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanOperation.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanOperation.java Fri Mar  3 17:30:38 2006
@@ -1,126 +1,126 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.core.operations;
-
-import org.apache.geronimo.core.internal.GeronimoUtils;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
-import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-
-/**
- * 
- * 
- */
-public class ExportDeploymentPlanOperation extends AbstractDataModelOperation {
-
-    /**
-     * 
-     */
-    public ExportDeploymentPlanOperation() {
-        super();
-    }
-
-    /**
-     * @param model
-     */
-    public ExportDeploymentPlanOperation(IDataModel model) {
-        super(model);
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor,
-     *      org.eclipse.core.runtime.IAdaptable)
-     */
-    public IStatus execute(IProgressMonitor monitor, IAdaptable info)
-            throws ExecutionException {
-
-        IProject project = ProjectUtilities.getProject(model
-                .getStringProperty(GeronimoDataModelProperties.PROJECT_NAME));
-
-        IVirtualComponent component = ComponentCore.createComponent(project);
-        String type = J2EEProjectUtilities.getJ2EEProjectType(project);
-        if (IJ2EEModuleConstants.JST_EAR_MODULE.equals(type)) {
-            IVirtualReference[] refs = component.getReferences();
-            for (int i = 0; i < refs.length; i++) {
-                IVirtualComponent refComp = refs[i].getReferencedComponent();
-                EObject plan = getDeploymentPlanForComponent(refComp);
-                if (plan != null) {
-                    addToGeronimoApplicationPlan(plan, refComp);
-                }
-            }
-        }
-
-        return null;
-    }
-
-    // TODO
-    private void addToGeronimoApplicationPlan(EObject eObject,
-            IVirtualComponent component) {
-    }
-
-    private EObject getDeploymentPlanForComponent(IVirtualComponent comp) {
-    	
-    	String type = J2EEProjectUtilities.getJ2EEProjectType(comp.getProject());    	
-        if (IJ2EEModuleConstants.JST_EAR_MODULE.equals(type)) {
-            return GeronimoUtils.getApplicationDeploymentPlan(comp);
-        }
-
-        if (IJ2EEModuleConstants.JST_WEB_MODULE.equals(type)) {
-            return GeronimoUtils.getWebDeploymentPlan(comp);
-        }
-
-        if (IJ2EEModuleConstants.JST_EJB_MODULE.equals(type)) {
-            return GeronimoUtils.getOpenEjbDeploymentPlan(comp);
-        }
-        return null;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor,
-     *      org.eclipse.core.runtime.IAdaptable)
-     */
-    public IStatus redo(IProgressMonitor monitor, IAdaptable info)
-            throws ExecutionException {
-        return null;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor,
-     *      org.eclipse.core.runtime.IAdaptable)
-     */
-    public IStatus undo(IProgressMonitor monitor, IAdaptable info)
-            throws ExecutionException {
-        return null;
-    }
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.operations;
+
+import org.apache.geronimo.core.internal.GeronimoUtils;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
+import org.eclipse.jst.j2ee.internal.plugin.IJ2EEModuleConstants;
+import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
+import org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelOperation;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+
+/**
+ * 
+ * 
+ */
+public class ExportDeploymentPlanOperation extends AbstractDataModelOperation {
+
+    /**
+     * 
+     */
+    public ExportDeploymentPlanOperation() {
+        super();
+    }
+
+    /**
+     * @param model
+     */
+    public ExportDeploymentPlanOperation(IDataModel model) {
+        super(model);
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor,
+     *      org.eclipse.core.runtime.IAdaptable)
+     */
+    public IStatus execute(IProgressMonitor monitor, IAdaptable info)
+            throws ExecutionException {
+
+        IProject project = ProjectUtilities.getProject(model
+                .getStringProperty(GeronimoDataModelProperties.PROJECT_NAME));
+
+        IVirtualComponent component = ComponentCore.createComponent(project);
+        String type = J2EEProjectUtilities.getJ2EEProjectType(project);
+        if (IJ2EEModuleConstants.JST_EAR_MODULE.equals(type)) {
+            IVirtualReference[] refs = component.getReferences();
+            for (int i = 0; i < refs.length; i++) {
+                IVirtualComponent refComp = refs[i].getReferencedComponent();
+                EObject plan = getDeploymentPlanForComponent(refComp);
+                if (plan != null) {
+                    addToGeronimoApplicationPlan(plan, refComp);
+                }
+            }
+        }
+
+        return null;
+    }
+
+    // TODO
+    private void addToGeronimoApplicationPlan(EObject eObject,
+            IVirtualComponent component) {
+    }
+
+    private EObject getDeploymentPlanForComponent(IVirtualComponent comp) {
+    	
+    	String type = J2EEProjectUtilities.getJ2EEProjectType(comp.getProject());    	
+        if (IJ2EEModuleConstants.JST_EAR_MODULE.equals(type)) {
+            return GeronimoUtils.getApplicationDeploymentPlan(comp);
+        }
+
+        if (IJ2EEModuleConstants.JST_WEB_MODULE.equals(type)) {
+            return GeronimoUtils.getWebDeploymentPlan(comp);
+        }
+
+        if (IJ2EEModuleConstants.JST_EJB_MODULE.equals(type)) {
+            return GeronimoUtils.getOpenEjbDeploymentPlan(comp);
+        }
+        return null;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.core.commands.operations.AbstractOperation#redo(org.eclipse.core.runtime.IProgressMonitor,
+     *      org.eclipse.core.runtime.IAdaptable)
+     */
+    public IStatus redo(IProgressMonitor monitor, IAdaptable info)
+            throws ExecutionException {
+        return null;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.core.commands.operations.AbstractOperation#undo(org.eclipse.core.runtime.IProgressMonitor,
+     *      org.eclipse.core.runtime.IAdaptable)
+     */
+    public IStatus undo(IProgressMonitor monitor, IAdaptable info)
+            throws ExecutionException {
+        return null;
+    }
+
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanOperation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanOperation.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ExportDeploymentPlanOperation.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/GeronimoDataModelProperties.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/GeronimoDataModelProperties.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/GeronimoDataModelProperties.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/GeronimoDataModelProperties.java Fri Mar  3 17:30:38 2006
@@ -1,12 +1,12 @@
-package org.apache.geronimo.core.operations;
-
-
-public interface GeronimoDataModelProperties {
-
-    public static final String PROJECT_NAME = "IExportDeploymentPlanDataModelProperties.PROJECT_NAME";
-
-    public static final String COMPONENT_NAME = "IExportDeploymentPlanDataModelProperties.COMPONENT_NAME";
-
-    public static final String EXPORT_LOCATION = "IExportDeploymentPlanDataModelProperties.EXPORT_LOCATION";
-
-}
+package org.apache.geronimo.core.operations;
+
+
+public interface GeronimoDataModelProperties {
+
+    public static final String PROJECT_NAME = "IExportDeploymentPlanDataModelProperties.PROJECT_NAME";
+
+    public static final String COMPONENT_NAME = "IExportDeploymentPlanDataModelProperties.COMPONENT_NAME";
+
+    public static final String EXPORT_LOCATION = "IExportDeploymentPlanDataModelProperties.EXPORT_LOCATION";
+
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/GeronimoDataModelProperties.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/GeronimoDataModelProperties.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/GeronimoDataModelProperties.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ImportDeploymentPlanOperation.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ImportDeploymentPlanOperation.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ImportDeploymentPlanOperation.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ImportDeploymentPlanOperation.java Fri Mar  3 17:30:38 2006
@@ -1,166 +1,166 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.core.operations;
-
-import java.io.IOException;
-import java.net.MalformedURLException;
-
-import org.apache.geronimo.core.internal.GeronimoUtils;
-import org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil;
-import org.apache.geronimo.schema.SchemaConversionUtils;
-import org.apache.geronimo.xbeans.geronimo.GerConnectorDocument;
-import org.apache.geronimo.xbeans.geronimo.GerConnectorType;
-import org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationDocument;
-import org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType;
-import org.apache.geronimo.xbeans.geronimo.web.GerWebAppDocument;
-import org.apache.geronimo.xbeans.geronimo.web.GerWebAppType;
-import org.apache.xmlbeans.XmlException;
-import org.apache.xmlbeans.XmlObject;
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.openejb.xbeans.ejbjar.OpenejbOpenejbJarDocument;
-import org.openejb.xbeans.ejbjar.OpenejbOpenejbJarType;
-
-public class ImportDeploymentPlanOperation extends
-        AbstractGeronimoJ2EEComponentOperation {
-
-    /**
-     * 
-     */
-    public ImportDeploymentPlanOperation() {
-        super();
-    }
-
-    /**
-     * @param model
-     */
-    public ImportDeploymentPlanOperation(IDataModel model) {
-        super(model);
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor,
-     *      org.eclipse.core.runtime.IAdaptable)
-     */
-    public IStatus execute(IProgressMonitor monitor, IAdaptable info)
-            throws ExecutionException {
-        if (!isGeronimoRuntimeTarget())
-            return Status.OK_STATUS;
-
-        IVirtualComponent comp = ComponentCore.createComponent(getProject());
-        String type = J2EEProjectUtilities.getJ2EEProjectType(getProject());
-
-        try {
-            if (type.equals(
-                    IModuleConstants.JST_WEB_MODULE)) {
-                importWebDeploymentPlan(GeronimoUtils
-                        .getWebDeploymentPlanFile(comp));
-            } else if (type.equals(
-                    IModuleConstants.JST_EJB_MODULE)) {
-                importEjbDeploymentPlan(GeronimoUtils
-                        .getOpenEjbDeploymentPlanFile(comp));
-            } else if (type.equals(
-                    IModuleConstants.JST_EAR_MODULE)) {
-                importEarDeploymentPlan(GeronimoUtils
-                        .getApplicationDeploymentPlanFile(comp));
-            } else if (type.equals(
-                    IModuleConstants.JST_CONNECTOR_MODULE)) {
-                importConnectorDeploymentPlan(GeronimoUtils
-                        .getConnectorDeploymentPlanFile(comp));
-            }
-        } catch (XmlException e) {
-            e.printStackTrace();
-        }
-
-        return Status.OK_STATUS;
-    }
-
-    public void importWebDeploymentPlan(IFile dpFile) throws XmlException {
-        XmlObject plan = getXmlObject(dpFile);
-        if (plan != null) {
-            SchemaConversionUtils.fixGeronimoSchema(plan, GerWebAppDocument.type.getDocumentElementName(),
-                    GerWebAppType.type);
-            save(plan, dpFile);
-        }
-    }
-
-    public void importEarDeploymentPlan(IFile dpFile) throws XmlException {
-        XmlObject plan = getXmlObject(dpFile);
-        if (plan != null) {
-            SchemaConversionUtils.fixGeronimoSchema(plan, GerApplicationDocument.type.getDocumentElementName(),
-                    GerApplicationType.type);
-            save(plan, dpFile);
-        }
-    }
-
-    public void importEjbDeploymentPlan(IFile dpFile) throws XmlException {
-        XmlObject plan = getXmlObject(dpFile);
-        if (plan != null) {
-            SchemaConversionUtils.fixGeronimoSchema(plan, OpenejbOpenejbJarDocument.type.getDocumentElementName(),
-                    OpenejbOpenejbJarType.type);
-            save(plan, dpFile);
-        }
-    }
-
-    public void importConnectorDeploymentPlan(IFile dpFile) throws XmlException {
-        XmlObject plan = getXmlObject(dpFile);
-        if (plan != null) {
-            SchemaConversionUtils.fixGeronimoSchema(plan, GerConnectorDocument.type.getDocumentElementName(),
-                    GerConnectorType.type);
-            save(plan, dpFile);
-        }
-    }
-
-    private XmlObject getXmlObject(IFile dpFile) {
-        if (dpFile.exists()) {
-            try {
-                return XmlBeansUtil
-                        .parse(dpFile.getLocation().toFile().toURL());
-            } catch (MalformedURLException e) {
-                e.printStackTrace();
-            } catch (IOException e) {
-                e.printStackTrace();
-            } catch (XmlException e) {
-                e.printStackTrace();
-            }
-        }
-        return null;
-    }
-
-    private void save(XmlObject object, IFile file) {
-        try {
-            object.save(file.getLocation().toFile());
-            file.refreshLocal(IFile.DEPTH_ONE, null);
-        } catch (IOException e) {
-            e.printStackTrace();
-        } catch (CoreException e) {
-            e.printStackTrace();
-        }
-    }
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.core.operations;
+
+import java.io.IOException;
+import java.net.MalformedURLException;
+
+import org.apache.geronimo.core.internal.GeronimoUtils;
+import org.apache.geronimo.deployment.xmlbeans.XmlBeansUtil;
+import org.apache.geronimo.schema.SchemaConversionUtils;
+import org.apache.geronimo.xbeans.geronimo.GerConnectorDocument;
+import org.apache.geronimo.xbeans.geronimo.GerConnectorType;
+import org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationDocument;
+import org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType;
+import org.apache.geronimo.xbeans.geronimo.web.GerWebAppDocument;
+import org.apache.geronimo.xbeans.geronimo.web.GerWebAppType;
+import org.apache.xmlbeans.XmlException;
+import org.apache.xmlbeans.XmlObject;
+import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
+import org.eclipse.wst.common.componentcore.ComponentCore;
+import org.eclipse.wst.common.componentcore.internal.util.IModuleConstants;
+import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
+import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
+import org.openejb.xbeans.ejbjar.OpenejbOpenejbJarDocument;
+import org.openejb.xbeans.ejbjar.OpenejbOpenejbJarType;
+
+public class ImportDeploymentPlanOperation extends
+        AbstractGeronimoJ2EEComponentOperation {
+
+    /**
+     * 
+     */
+    public ImportDeploymentPlanOperation() {
+        super();
+    }
+
+    /**
+     * @param model
+     */
+    public ImportDeploymentPlanOperation(IDataModel model) {
+        super(model);
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.eclipse.core.commands.operations.AbstractOperation#execute(org.eclipse.core.runtime.IProgressMonitor,
+     *      org.eclipse.core.runtime.IAdaptable)
+     */
+    public IStatus execute(IProgressMonitor monitor, IAdaptable info)
+            throws ExecutionException {
+        if (!isGeronimoRuntimeTarget())
+            return Status.OK_STATUS;
+
+        IVirtualComponent comp = ComponentCore.createComponent(getProject());
+        String type = J2EEProjectUtilities.getJ2EEProjectType(getProject());
+
+        try {
+            if (type.equals(
+                    IModuleConstants.JST_WEB_MODULE)) {
+                importWebDeploymentPlan(GeronimoUtils
+                        .getWebDeploymentPlanFile(comp));
+            } else if (type.equals(
+                    IModuleConstants.JST_EJB_MODULE)) {
+                importEjbDeploymentPlan(GeronimoUtils
+                        .getOpenEjbDeploymentPlanFile(comp));
+            } else if (type.equals(
+                    IModuleConstants.JST_EAR_MODULE)) {
+                importEarDeploymentPlan(GeronimoUtils
+                        .getApplicationDeploymentPlanFile(comp));
+            } else if (type.equals(
+                    IModuleConstants.JST_CONNECTOR_MODULE)) {
+                importConnectorDeploymentPlan(GeronimoUtils
+                        .getConnectorDeploymentPlanFile(comp));
+            }
+        } catch (XmlException e) {
+            e.printStackTrace();
+        }
+
+        return Status.OK_STATUS;
+    }
+
+    public void importWebDeploymentPlan(IFile dpFile) throws XmlException {
+        XmlObject plan = getXmlObject(dpFile);
+        if (plan != null) {
+            SchemaConversionUtils.fixGeronimoSchema(plan, GerWebAppDocument.type.getDocumentElementName(),
+                    GerWebAppType.type);
+            save(plan, dpFile);
+        }
+    }
+
+    public void importEarDeploymentPlan(IFile dpFile) throws XmlException {
+        XmlObject plan = getXmlObject(dpFile);
+        if (plan != null) {
+            SchemaConversionUtils.fixGeronimoSchema(plan, GerApplicationDocument.type.getDocumentElementName(),
+                    GerApplicationType.type);
+            save(plan, dpFile);
+        }
+    }
+
+    public void importEjbDeploymentPlan(IFile dpFile) throws XmlException {
+        XmlObject plan = getXmlObject(dpFile);
+        if (plan != null) {
+            SchemaConversionUtils.fixGeronimoSchema(plan, OpenejbOpenejbJarDocument.type.getDocumentElementName(),
+                    OpenejbOpenejbJarType.type);
+            save(plan, dpFile);
+        }
+    }
+
+    public void importConnectorDeploymentPlan(IFile dpFile) throws XmlException {
+        XmlObject plan = getXmlObject(dpFile);
+        if (plan != null) {
+            SchemaConversionUtils.fixGeronimoSchema(plan, GerConnectorDocument.type.getDocumentElementName(),
+                    GerConnectorType.type);
+            save(plan, dpFile);
+        }
+    }
+
+    private XmlObject getXmlObject(IFile dpFile) {
+        if (dpFile.exists()) {
+            try {
+                return XmlBeansUtil
+                        .parse(dpFile.getLocation().toFile().toURL());
+            } catch (MalformedURLException e) {
+                e.printStackTrace();
+            } catch (IOException e) {
+                e.printStackTrace();
+            } catch (XmlException e) {
+                e.printStackTrace();
+            }
+        }
+        return null;
+    }
+
+    private void save(XmlObject object, IFile file) {
+        try {
+            object.save(file.getLocation().toFile());
+            file.refreshLocal(IFile.DEPTH_ONE, null);
+        } catch (IOException e) {
+            e.printStackTrace();
+        } catch (CoreException e) {
+            e.printStackTrace();
+        }
+    }
+
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ImportDeploymentPlanOperation.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ImportDeploymentPlanOperation.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.devtools.eclipse.core/src/org/apache/geronimo/core/operations/ImportDeploymentPlanOperation.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/maven.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/maven.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/maven.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/plugin.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/plugin.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/plugin.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/plugin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/plugin.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/project.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/project.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/project.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/project.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.feature.source/project.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/build.properties
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/build.properties?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/build.properties (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/build.properties Fri Mar  3 17:30:38 2006
@@ -1,5 +1,5 @@
-bin.includes = plugin.xml,\
-               lib/
-src.includes = .classpath,\
-               .project,\
-               build.properties
+bin.includes = plugin.xml,\
+               lib/
+src.includes = .classpath,\
+               .project,\
+               build.properties

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/build.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/build.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/maven.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/maven.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/project.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.v1/project.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.tomcat.j2ee.server.v1/maven.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.tomcat.j2ee.server.v1/maven.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.tomcat.j2ee.server.v1/maven.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.tomcat.j2ee.server.v1/project.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.tomcat.j2ee.server.v1/project.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/build.properties
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/build.properties?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/build.properties (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/build.properties Fri Mar  3 17:30:38 2006
@@ -1,15 +1,15 @@
-bin.includes = icons/,\
-               plugin.xml,\
-               serverdef/,\
-               META-INF/,\
-               plugin.properties,\
-               .options,\
-               .
-jars.compile.order = .
-src.includes = build.properties,\
-               NOTICE,\
-               .project,\
-               .classpath,\
-               COPYRIGHT
-source.. = src/
-output.. = bin/
+bin.includes = icons/,\
+               plugin.xml,\
+               serverdef/,\
+               META-INF/,\
+               plugin.properties,\
+               .options,\
+               .
+jars.compile.order = .
+src.includes = build.properties,\
+               NOTICE,\
+               .project,\
+               .classpath,\
+               COPYRIGHT
+source.. = src/
+output.. = bin/

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/build.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/build.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/build.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/icons/Geronimo_Welcome4.gif
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Fri Mar  3 17:30:38 2006
@@ -1 +1 @@
-application/octet-stream
+image/gif

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/icons/bigG.gif
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Fri Mar  3 17:30:38 2006
@@ -1 +1 @@
-application/octet-stream
+image/gif

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/icons/obj16/geronimo.gif
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Fri Mar  3 17:30:38 2006
@@ -1 +1 @@
-application/octet-stream
+image/gif

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/icons/obj16/geronimo2.gif
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Fri Mar  3 17:30:38 2006
@@ -1 +1 @@
-application/octet-stream
+image/gif

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.properties
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.properties?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.properties (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.properties Fri Mar  3 17:30:38 2006
@@ -1,9 +1,9 @@
-pluginName=Geronimo server UI support
-providerName=Apache Software Foundation
-
-webEditorName=Geronimo Web Deployment Plan Editor
-appEditorName=Geronimo Application Deployment Plan Editor
-openEjbEditorName=OpenEJB Deployment Plan Editor
-connectorEditorName=Geronimo Connector Plan Editor
-
+pluginName=Geronimo server UI support
+providerName=Apache Software Foundation
+
+webEditorName=Geronimo Web Deployment Plan Editor
+appEditorName=Geronimo Application Deployment Plan Editor
+openEjbEditorName=OpenEJB Deployment Plan Editor
+connectorEditorName=Geronimo Connector Plan Editor
+
 PopupMenus.launchconsole=Launch Geronimo Console

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/plugin.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/project.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/project.properties
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/project.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/project.xml
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/project.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/actions/LaunchGeronimoConsoleAction.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/actions/LaunchGeronimoConsoleAction.java?rev=382997&r1=382996&r2=382997&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/actions/LaunchGeronimoConsoleAction.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/actions/LaunchGeronimoConsoleAction.java Fri Mar  3 17:30:38 2006
@@ -1,99 +1,99 @@
-/**
- * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
- *
- *  Licensed under the Apache License, Version 2.0 (the "License");
- *  you may not use this file except in compliance with the License.
- *  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing, software
- *  distributed under the License is distributed on an "AS IS" BASIS,
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *  See the License for the specific language governing permissions and
- *  limitations under the License.
- */
-package org.apache.geronimo.ui.actions;
-
-import java.net.MalformedURLException;
-import java.net.URL;
-
-import org.apache.geronimo.core.internal.GeronimoServer;
-import org.apache.geronimo.ui.internal.Messages;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.ui.IActionDelegate;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.browser.IWebBrowser;
-import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
-import org.eclipse.ui.internal.browser.WorkbenchBrowserSupport;
-import org.eclipse.wst.server.core.IServer;
-
-/**
- * 
- * 
- */
-public class LaunchGeronimoConsoleAction implements IActionDelegate {
-
-	public static final String serverID = "org.apache.geronimo.generic.server.10";
-
-	private IServer server;
-
-	public LaunchGeronimoConsoleAction() {
-		super();
-	}
-
-	public URL getConsoleUrl() throws MalformedURLException {
-		if (server != null) {
-			GeronimoServer gs = (GeronimoServer) server
-					.getAdapter(GeronimoServer.class);
-			return new URL("http://" + server.getHost() + ":"
-					+ gs.getHTTPPort() + "/console/");
-		}
-		return null;
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
-	 */
-	public void run(IAction action) {
-
-		try {
-			int style = IWorkbenchBrowserSupport.AS_EDITOR
-					| IWorkbenchBrowserSupport.STATUS;
-			IWebBrowser browser = WorkbenchBrowserSupport.getInstance()
-					.createBrowser(style, "console", Messages.console,
-							Messages.consoleTooltip);
-			URL url = getConsoleUrl();
-			if (url != null)
-				browser.openURL(url);
-		} catch (MalformedURLException e) {
-			e.printStackTrace();
-		} catch (PartInitException e) {
-			e.printStackTrace();
-		}
-
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction,
-	 *      org.eclipse.jface.viewers.ISelection)
-	 */
-	public void selectionChanged(IAction action, ISelection selection) {
-
-		server = (IServer) ((StructuredSelection) selection).getFirstElement();
-
-		boolean enable = server != null
-				&& serverID.equals(server.getServerType().getId())
-				&& server.getServerState() == IServer.STATE_STARTED;
-
-		action.setEnabled(enable);
-
-	}
-
-}
+/**
+ * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
+package org.apache.geronimo.ui.actions;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.apache.geronimo.core.internal.GeronimoServer;
+import org.apache.geronimo.ui.internal.Messages;
+import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.ui.IActionDelegate;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.browser.IWebBrowser;
+import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
+import org.eclipse.ui.internal.browser.WorkbenchBrowserSupport;
+import org.eclipse.wst.server.core.IServer;
+
+/**
+ * 
+ * 
+ */
+public class LaunchGeronimoConsoleAction implements IActionDelegate {
+
+	public static final String serverID = "org.apache.geronimo.generic.server.10";
+
+	private IServer server;
+
+	public LaunchGeronimoConsoleAction() {
+		super();
+	}
+
+	public URL getConsoleUrl() throws MalformedURLException {
+		if (server != null) {
+			GeronimoServer gs = (GeronimoServer) server
+					.getAdapter(GeronimoServer.class);
+			return new URL("http://" + server.getHost() + ":"
+					+ gs.getHTTPPort() + "/console/");
+		}
+		return null;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
+	 */
+	public void run(IAction action) {
+
+		try {
+			int style = IWorkbenchBrowserSupport.AS_EDITOR
+					| IWorkbenchBrowserSupport.STATUS;
+			IWebBrowser browser = WorkbenchBrowserSupport.getInstance()
+					.createBrowser(style, "console", Messages.console,
+							Messages.consoleTooltip);
+			URL url = getConsoleUrl();
+			if (url != null)
+				browser.openURL(url);
+		} catch (MalformedURLException e) {
+			e.printStackTrace();
+		} catch (PartInitException e) {
+			e.printStackTrace();
+		}
+
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction,
+	 *      org.eclipse.jface.viewers.ISelection)
+	 */
+	public void selectionChanged(IAction action, ISelection selection) {
+
+		server = (IServer) ((StructuredSelection) selection).getFirstElement();
+
+		boolean enable = server != null
+				&& serverID.equals(server.getServerType().getId())
+				&& server.getServerState() == IServer.STATE_STARTED;
+
+		action.setEnabled(enable);
+
+	}
+
+}

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/actions/LaunchGeronimoConsoleAction.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/actions/LaunchGeronimoConsoleAction.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/actions/LaunchGeronimoConsoleAction.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetConsoleLogLevelCommand.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetConsoleLogLevelCommand.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetConsoleLogLevelCommand.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetHTTPPortCommand.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetHTTPPortCommand.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetHTTPPortCommand.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetPasswordCommand.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetPasswordCommand.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetPasswordCommand.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetRMIPortCommand.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetRMIPortCommand.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetRMIPortCommand.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetUsernameCommand.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetUsernameCommand.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/commands/SetUsernameCommand.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message