geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r509704 - in /geronimo/devtools/eclipse-plugin/trunk/plugins: org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/ org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/ org.apache.geronimo.st.ui/src/org/apache/gero...
Date Tue, 20 Feb 2007 18:42:25 GMT
Author: sppatel
Date: Tue Feb 20 10:42:24 2007
New Revision: 509704

URL: http://svn.apache.org/viewvc?view=rev&rev=509704
Log:
fix further deprecations

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/DeploymentUtils.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoUtils.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/ImportDeploymentPlanOperation.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerEditorStartupSection.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v1.core/src/org/apache/geronimo/st/v1/core/operations/V1DeploymentPlanCreationOperation.java
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/operations/V11DeploymentPlanCreationOperation.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/DeploymentUtils.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/DeploymentUtils.java?view=diff&rev=509704&r1=509703&r2=509704
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/DeploymentUtils.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/DeploymentUtils.java
Tue Feb 20 10:42:24 2007
@@ -63,7 +63,7 @@
 		IPath output = outputPath.append(module.getName() + getModuleExtension(module));
 		try {
 			IModuleResource[] resources = getModuleResources(module);
-			PublishUtil.smartCopy(resources, output, new NullProgressMonitor());
+			PublishUtil.publishSmart(resources, output, new NullProgressMonitor());
 			if(GeronimoUtils.isEarModule(module)) {
 				IEnterpriseApplication application = (IEnterpriseApplication) module.loadAdapter(IEnterpriseApplication.class,
null);
 				if( application != null ){
@@ -72,7 +72,7 @@
 						 	IModule child = children[i];
 							IPath childPath = output.append(child.getName() + getModuleExtension(child));
 							IModuleResource[] childResources = getModuleResources(child);
-							PublishUtil.smartCopy(childResources, childPath, new NullProgressMonitor());
+							PublishUtil.publishSmart(childResources, childPath, new NullProgressMonitor());
 							if(GeronimoUtils.isWebModule(child)) {
 								IWebModule webModule = (IWebModule) module.loadAdapter(IWebModule.class, null);
 								IModule[] libs = webModule.getModules();
@@ -80,7 +80,7 @@
 								for(int j = 0; j < libs.length; j++) {
 									IModule lib = libs[j];
 									IModuleResource[] libResources = getModuleResources(lib);
-									PublishUtil.smartCopy(libResources, webLibPath.append(lib.getName() + getModuleExtension(lib)),
new NullProgressMonitor());
+									PublishUtil.publishSmart(libResources, webLibPath.append(lib.getName() + getModuleExtension(lib)),
new NullProgressMonitor());
 								}
 							}
 					 }

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoUtils.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoUtils.java?view=diff&rev=509704&r1=509703&r2=509704
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoUtils.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoUtils.java
Tue Feb 20 10:42:24 2007
@@ -192,7 +192,7 @@
 	public static Resource load(IFile dpFile, ResourceSet resourceSet) {
 		try {
 
-			URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+			URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 			Resource resource = resourceSet.createResource(uri);
 			if (!resource.isLoaded()) {

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/ImportDeploymentPlanOperation.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/ImportDeploymentPlanOperation.java?view=diff&rev=509704&r1=509703&r2=509704
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/ImportDeploymentPlanOperation.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/ImportDeploymentPlanOperation.java
Tue Feb 20 10:42:24 2007
@@ -69,7 +69,6 @@
 		String type = J2EEProjectUtilities.getJ2EEProjectType(getProject());
 
 		IFile planFile = null;
-		XmlObject plan = null;
 		
 		try {
 			if (type.equals(IModuleConstants.JST_WEB_MODULE)) {

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerEditorStartupSection.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerEditorStartupSection.java?view=diff&rev=509704&r1=509703&r2=509704
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerEditorStartupSection.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/sections/ServerEditorStartupSection.java
Tue Feb 20 10:42:24 2007
@@ -84,7 +84,7 @@
 		section.setClient(composite);
 
 		// ------- Label and text field for the ping delay -------
-		Label s = createLabel(composite, Messages.pingDelay, toolkit);
+		createLabel(composite, Messages.pingDelay, toolkit);
 		pingDelay = toolkit.createText(composite, getPingDelay(), SWT.BORDER);
 		pingDelay.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
 		pingDelay.setToolTipText(Messages.pingDelayTooltip);

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v1.core/src/org/apache/geronimo/st/v1/core/operations/V1DeploymentPlanCreationOperation.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v1.core/src/org/apache/geronimo/st/v1/core/operations/V1DeploymentPlanCreationOperation.java?view=diff&rev=509704&r1=509703&r2=509704
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v1.core/src/org/apache/geronimo/st/v1/core/operations/V1DeploymentPlanCreationOperation.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v1.core/src/org/apache/geronimo/st/v1/core/operations/V1DeploymentPlanCreationOperation.java
Tue Feb 20 10:42:24 2007
@@ -50,7 +50,7 @@
 	 * @see org.apache.geronimo.st.core.operations.IDeploymentPlanCreationOp#createGeronimoApplicationDeploymentPlan(org.eclipse.core.resources.IFile)
 	 */
 	public EObject createGeronimoApplicationDeploymentPlan(IFile dpFile) {
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV1Utils.registerAppFactoryAndPackage(resourceSet);
@@ -81,7 +81,7 @@
 	 */
 	public EObject createGeronimoWebDeploymentPlan(IFile dpFile) {
 
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV1Utils.registerWebFactoryAndPackage(resourceSet);
@@ -114,7 +114,7 @@
 	 * @see org.apache.geronimo.st.core.operations.IDeploymentPlanCreationOp#createOpenEjbDeploymentPlan(org.eclipse.core.resources.IFile)
 	 */
 	public EObject createOpenEjbDeploymentPlan(IFile dpFile) {
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV1Utils.registerEjbFactoryAndPackage(resourceSet);
@@ -147,7 +147,7 @@
 	 * @see org.apache.geronimo.st.core.operations.IDeploymentPlanCreationOp#createConnectorDeploymentPlan(org.eclipse.core.resources.IFile)
 	 */
 	public EObject createConnectorDeploymentPlan(IFile dpFile) {
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV1Utils.registerConnectorFactoryAndPackage(resourceSet);

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/operations/V11DeploymentPlanCreationOperation.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/operations/V11DeploymentPlanCreationOperation.java?view=diff&rev=509704&r1=509703&r2=509704
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/operations/V11DeploymentPlanCreationOperation.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/operations/V11DeploymentPlanCreationOperation.java
Tue Feb 20 10:42:24 2007
@@ -71,7 +71,7 @@
 	 * @see org.apache.geronimo.st.core.operations.IDeploymentPlanCreationOp#createGeronimoApplicationDeploymentPlan(org.eclipse.core.resources.IFile)
 	 */
 	public EObject createGeronimoApplicationDeploymentPlan(IFile dpFile) {
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV11Utils.register(resourceSet, new ApplicationResourceFactoryImpl(), ApplicationPackage.eINSTANCE,
ApplicationPackage.eNS_URI);
@@ -103,7 +103,7 @@
 	 */
 	public EObject createGeronimoWebDeploymentPlan(IFile dpFile) {
 
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV11Utils.register(resourceSet, new WebResourceFactoryImpl(), WebPackage.eINSTANCE,
WebPackage.eNS_URI);
@@ -138,7 +138,7 @@
 	 * @see org.apache.geronimo.st.core.operations.IDeploymentPlanCreationOp#createOpenEjbDeploymentPlan(org.eclipse.core.resources.IFile)
 	 */
 	public EObject createOpenEjbDeploymentPlan(IFile dpFile) {
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV11Utils.register(resourceSet, new JarResourceFactoryImpl(), JarPackage.eINSTANCE,
JarPackage.eNS_URI);
@@ -171,7 +171,7 @@
 	 * @see org.apache.geronimo.st.core.operations.IDeploymentPlanCreationOp#createConnectorDeploymentPlan(org.eclipse.core.resources.IFile)
 	 */
 	public EObject createConnectorDeploymentPlan(IFile dpFile) {
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV11Utils.register(resourceSet, new ConnectorResourceFactoryImpl(), ConnectorPackage.eINSTANCE,
ConnectorPackage.eNS_URI);
@@ -195,7 +195,7 @@
 	}
 
 	public EObject createServiceDeploymentPlan(IFile dpFile) {
-		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString());
+		URI uri = URI.createPlatformResourceURI(dpFile.getFullPath().toString(), false);
 
 		ResourceSet resourceSet = new ResourceSetImpl();
 		GeronimoV11Utils.register(resourceSet, new DeploymentResourceFactoryImpl(), DeploymentPackage.eINSTANCE,
DeploymentPackage.eNS_URI);



Mime
View raw message