Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2015-05-12 13:03:58 +0000
committerMarkus Tiede2015-05-13 06:14:57 +0000
commit4a1fc93ac1afaec1d71af00e62d10483ccf81e08 (patch)
tree9b46073a8bb848cb55bf9b69876ce58e69d5d890 /org.eclipse.jubula.mylyn
parent5143102aee771e5af5bb9aa3ae166f0898fe6c93 (diff)
downloadorg.eclipse.jubula.core-4a1fc93ac1afaec1d71af00e62d10483ccf81e08.tar.gz
org.eclipse.jubula.core-4a1fc93ac1afaec1d71af00e62d10483ccf81e08.tar.xz
org.eclipse.jubula.core-4a1fc93ac1afaec1d71af00e62d10483ccf81e08.zip
Sprint task - add basic infrastructure for (shareable; client independent) mylyn integration bundle.
Diffstat (limited to 'org.eclipse.jubula.mylyn')
-rw-r--r--org.eclipse.jubula.mylyn/.checkstyle10
-rw-r--r--org.eclipse.jubula.mylyn/.classpath7
-rw-r--r--org.eclipse.jubula.mylyn/.gitignore2
-rw-r--r--org.eclipse.jubula.mylyn/.project52
-rw-r--r--org.eclipse.jubula.mylyn/META-INF/MANIFEST.MF15
-rw-r--r--org.eclipse.jubula.mylyn/about.html28
-rw-r--r--org.eclipse.jubula.mylyn/build.properties14
-rw-r--r--org.eclipse.jubula.mylyn/plugin.properties7
-rw-r--r--org.eclipse.jubula.mylyn/pom.xml20
-rw-r--r--org.eclipse.jubula.mylyn/src/org/eclipse/jubula/mylyn/Activator.java50
10 files changed, 205 insertions, 0 deletions
diff --git a/org.eclipse.jubula.mylyn/.checkstyle b/org.eclipse.jubula.mylyn/.checkstyle
new file mode 100644
index 000000000..23c960cbf
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/.checkstyle
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
+ <fileset name="all" enabled="true" check-config-name="Jubula" local="false">
+ <file-match-pattern match-pattern="." include-pattern="true"/>
+ </fileset>
+ <filter name="FilesFromPackage" enabled="true">
+ <filter-data value="src/org/eclipse/jubula/mylyn/i18n"/>
+ </filter>
+</fileset-config>
diff --git a/org.eclipse.jubula.mylyn/.classpath b/org.eclipse.jubula.mylyn/.classpath
new file mode 100644
index 000000000..098194ca4
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/.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/JavaSE-1.7"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/org.eclipse.jubula.mylyn/.gitignore b/org.eclipse.jubula.mylyn/.gitignore
new file mode 100644
index 000000000..934e0e06f
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/.gitignore
@@ -0,0 +1,2 @@
+/bin
+/target
diff --git a/org.eclipse.jubula.mylyn/.project b/org.eclipse.jubula.mylyn/.project
new file mode 100644
index 000000000..81159356b
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/.project
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.jubula.mylyn</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>net.sf.eclipsecs.core.CheckstyleBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
+ </natures>
+ <linkedResources>
+ <link>
+ <name>.settings</name>
+ <type>2</type>
+ <locationURI>PARENT-1-PROJECT_LOC/org.eclipse.jubula.project.configuration/settings/1.7</locationURI>
+ </link>
+ </linkedResources>
+ <filteredResources>
+ <filter>
+ <id>1409218333740</id>
+ <name></name>
+ <type>10</type>
+ <matcher>
+ <id>org.eclipse.ui.ide.multiFilter</id>
+ <arguments>1.0-projectRelativePath-matches-false-false-target</arguments>
+ </matcher>
+ </filter>
+ </filteredResources>
+</projectDescription>
diff --git a/org.eclipse.jubula.mylyn/META-INF/MANIFEST.MF b/org.eclipse.jubula.mylyn/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..f6e31c71f
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/META-INF/MANIFEST.MF
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Jubula - Mylyn Integration Core
+Bundle-SymbolicName: org.eclipse.jubula.mylyn;singleton:=true
+Bundle-Version: 3.1.0.qualifier
+Bundle-Activator: org.eclipse.jubula.mylyn.Activator
+Bundle-Vendor: Eclipse Jubula
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,4.0.0)",
+ org.slf4j.api;bundle-version="[1.7.2,2.0.0)",
+ org.eclipse.mylyn.commons.net;bundle-version="[3.8.0,4.0.0)",
+ org.eclipse.mylyn.tasks.core;bundle-version="[3.8.0,4.0.0)",
+ org.eclipse.mylyn.tasks.ui;bundle-version="[3.8.0,4.0.0)"
+Bundle-RequiredExecutionEnvironment: JavaSE-1.7
+Bundle-ActivationPolicy: lazy
diff --git a/org.eclipse.jubula.mylyn/about.html b/org.eclipse.jubula.mylyn/about.html
new file mode 100644
index 000000000..f1be81099
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/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 22, 2011</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). 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, &quot;Program&quot; 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 (&quot;Redistributor&quot;) 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">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
diff --git a/org.eclipse.jubula.mylyn/build.properties b/org.eclipse.jubula.mylyn/build.properties
new file mode 100644
index 000000000..37820bf36
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/build.properties
@@ -0,0 +1,14 @@
+###############################################################################
+# Copyright (c) 2015 BREDEX GmbH.
+# 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
+###############################################################################
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ about.html,\
+ resources/,\
+ plugin.properties
diff --git a/org.eclipse.jubula.mylyn/plugin.properties b/org.eclipse.jubula.mylyn/plugin.properties
new file mode 100644
index 000000000..4034029d8
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/plugin.properties
@@ -0,0 +1,7 @@
+###############################################################################
+# Copyright (c) 2015 BREDEX GmbH.
+# 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
+###############################################################################
diff --git a/org.eclipse.jubula.mylyn/pom.xml b/org.eclipse.jubula.mylyn/pom.xml
new file mode 100644
index 000000000..6189eb572
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/pom.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2004, 2012 BREDEX GmbH.
+ 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
+ -->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>org.eclipse.jubula.releng.client</artifactId>
+ <groupId>org.eclipse.jubula</groupId>
+ <version>3.1.0-SNAPSHOT</version>
+ <relativePath>../org.eclipse.jubula.releng.client</relativePath>
+ </parent>
+ <artifactId>org.eclipse.jubula.mylyn</artifactId>
+ <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/org.eclipse.jubula.mylyn/src/org/eclipse/jubula/mylyn/Activator.java b/org.eclipse.jubula.mylyn/src/org/eclipse/jubula/mylyn/Activator.java
new file mode 100644
index 000000000..32b4ce640
--- /dev/null
+++ b/org.eclipse.jubula.mylyn/src/org/eclipse/jubula/mylyn/Activator.java
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (c) 2015 BREDEX GmbH.
+ * 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
+ *
+ * Contributors:
+ * BREDEX GmbH - initial API and implementation and/or initial documentation
+ *******************************************************************************/
+package org.eclipse.jubula.mylyn;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * @author BREDEX GmbH
+ */
+public class Activator extends Plugin {
+ /** the bundle ID */
+ public static final String ID = "org.eclipse.jubula.mylyn"; //$NON-NLS-1$
+ /** context */
+ private static BundleContext context;
+ /** the current instance */
+ private static Activator plugin;
+
+ /** @return the context */
+ static BundleContext getContext() {
+ return context;
+ }
+
+ /**
+ * @return instance of Activator
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+ /** {@inheritDoc} */
+ public void start(BundleContext bundleContext) throws Exception {
+ Activator.context = bundleContext;
+ plugin = this;
+ }
+
+ /** {@inheritDoc} */
+ public void stop(BundleContext bundleContext) throws Exception {
+ Activator.context = null;
+ plugin = null;
+ }
+}

Back to the top