Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-04-06 18:58:26 -0400
committerslewis2008-04-06 18:58:26 -0400
commit720442ee5c39ff3351560031ea852996c6e89c7d (patch)
treeee9680dc84d43b1561cd85af4dd3f2e8d0fc3cd4
parentab8e3177f37d277ca14d6b3966705172d21398ef (diff)
downloadorg.eclipse.ecf-720442ee5c39ff3351560031ea852996c6e89c7d.tar.gz
org.eclipse.ecf-720442ee5c39ff3351560031ea852996c6e89c7d.tar.xz
org.eclipse.ecf-720442ee5c39ff3351560031ea852996c6e89c7d.zip
Added execution environment where missing.
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.classpath2
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/META-INF/MANIFEST.MF1
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/src/org/eclipse/ecf/internal/provider/filetransfer/efs/EFSRemoteFileSystemBrowser.java3
4 files changed, 11 insertions, 2 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.classpath b/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.classpath
index 751c8f2e5..ce7393340 100644
--- a/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.classpath
+++ b/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.4"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.settings/org.eclipse.jdt.core.prefs b/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..f47916e0b
--- /dev/null
+++ b/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+#Sun Apr 06 12:14:23 PDT 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2
+org.eclipse.jdt.core.compiler.compliance=1.4
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning
+org.eclipse.jdt.core.compiler.source=1.3
diff --git a/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/META-INF/MANIFEST.MF b/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/META-INF/MANIFEST.MF
index 76c4bc362..775f62416 100644
--- a/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/META-INF/MANIFEST.MF
+++ b/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/META-INF/MANIFEST.MF
@@ -13,3 +13,4 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.filesystem
Eclipse-LazyStart: true
Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
diff --git a/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/src/org/eclipse/ecf/internal/provider/filetransfer/efs/EFSRemoteFileSystemBrowser.java b/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/src/org/eclipse/ecf/internal/provider/filetransfer/efs/EFSRemoteFileSystemBrowser.java
index f77e85d44..1c5094c28 100644
--- a/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/src/org/eclipse/ecf/internal/provider/filetransfer/efs/EFSRemoteFileSystemBrowser.java
+++ b/providers/bundles/org.eclipse.ecf.provider.filetransfer.efs/src/org/eclipse/ecf/internal/provider/filetransfer/efs/EFSRemoteFileSystemBrowser.java
@@ -1,5 +1,6 @@
package org.eclipse.ecf.internal.provider.filetransfer.efs;
+import java.net.URI;
import java.net.URL;
import org.eclipse.core.filesystem.EFS;
@@ -36,7 +37,7 @@ public class EFSRemoteFileSystemBrowser implements IRemoteFileSystemBrowser {
try {
efsDirectory = directoryOrFileID.getURL();
final String path = StringUtils.replaceAll(efsDirectory.getPath(), " ", "%20"); //$NON-NLS-1$ //$NON-NLS-2$
- fsb = new FileStoreBrowser(EFS.getStore(new URL(path).toURI()), efsDirectory, directoryOrFileID, listener);
+ fsb = new FileStoreBrowser(EFS.getStore(new URI(path)), efsDirectory, directoryOrFileID, listener);
} catch (final Exception e) {
throw new RemoteFileSystemException(e);
}

Back to the top