diff options
author | slewis | 2009-02-13 18:19:24 +0000 |
---|---|---|
committer | slewis | 2009-02-13 18:19:24 +0000 |
commit | e0fc4887bdcc0c4085b280a5f33c80729658cbe1 (patch) | |
tree | a52a6ea16ef981743bad5ccfd29998117ad0adbe /tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver | |
parent | e85e643e56a2a13a8dfc68d942f75dde252cf7b7 (diff) | |
download | org.eclipse.ecf-e0fc4887bdcc0c4085b280a5f33c80729658cbe1.tar.gz org.eclipse.ecf-e0fc4887bdcc0c4085b280a5f33c80729658cbe1.tar.xz org.eclipse.ecf-e0fc4887bdcc0c4085b280a5f33c80729658cbe1.zip |
Initial checkin of new filetransfer httpserver test plugin.
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver')
9 files changed, 136 insertions, 0 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.classpath b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.classpath new file mode 100644 index 000000000..2fbb7a23e --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <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="src" path="src"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.project b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.project new file mode 100644 index 000000000..76b8b2b3b --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.project @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.ecf.tests.filetransfer.httpserver</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature> + </natures> +</projectDescription> diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.settings/org.eclipse.jdt.core.prefs b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..bef634efd --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +#Fri Feb 13 10:14:59 PST 2009 +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/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.settings/org.eclipse.pde.core.prefs b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 000000000..5320b2f77 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,4 @@ +#Fri Feb 13 10:14:59 PST 2009 +eclipse.preferences.version=1 +pluginProject.extensions=false +resolve.requirebundle=false diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/META-INF/MANIFEST.MF b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/META-INF/MANIFEST.MF new file mode 100644 index 000000000..e8ee7e474 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/META-INF/MANIFEST.MF @@ -0,0 +1,13 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %plugin.name +Bundle-SymbolicName: org.eclipse.ecf.tests.filetransfer.httpserver +Bundle-Version: 1.0.0.qualifier +Bundle-Activator: org.eclipse.ecf.internal.tests.filetransfer.httpserver.Activator +Bundle-Vendor: %plugin.provider +Bundle-RequiredExecutionEnvironment: J2SE-1.4 +Import-Package: org.osgi.framework;version="1.3.0" +Bundle-ActivationPolicy: lazy +Require-Bundle: org.junit;bundle-version="3.8.2", + org.eclipse.ecf.tests.apache.httpclient.server;bundle-version="3.0.1" +Bundle-Localization: plugin diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/about.html b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/about.html new file mode 100644 index 000000000..4c79781a5 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/about.html @@ -0,0 +1,28 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> +<title>About</title> +</head> +<body lang="EN-US"> +<h2>About This Content</h2> + +<p>June 25, 2008</p> +<h3>License</h3> + +<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise +indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available +at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. +For purposes of the EPL, "Program" will mean the Content.</p> + +<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is +being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was +provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content +and such source code may be obtained at <a href="/">http://www.eclipse.org</a>.</p> + +</body> +</html>
\ No newline at end of file diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/build.properties b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/build.properties new file mode 100644 index 000000000..51255ce35 --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/build.properties @@ -0,0 +1,10 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties,\ + about.html +src.includes = plugin.properties,\ + about.html,\ + META-INF/,\ + src/ diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/plugin.properties b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/plugin.properties new file mode 100644 index 000000000..9bc8440da --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/plugin.properties @@ -0,0 +1,11 @@ +############################################################################ +# Copyright (c) 2009 Composent Inc., IBM Corp, and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +############################################################################ +plugin.name=ECF Test Httpserver +plugin.provider=Eclipse.org + diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/src/org/eclipse/ecf/internal/tests/filetransfer/httpserver/Activator.java b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/src/org/eclipse/ecf/internal/tests/filetransfer/httpserver/Activator.java new file mode 100644 index 000000000..8dce69b3c --- /dev/null +++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer.httpserver/src/org/eclipse/ecf/internal/tests/filetransfer/httpserver/Activator.java @@ -0,0 +1,22 @@ +package org.eclipse.ecf.internal.tests.filetransfer.httpserver; + +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator implements BundleActivator { + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + } + + /* + * (non-Javadoc) + * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + } + +} |