Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2012-03-12 00:39:05 -0400
committerMarc-Andre Laperle2012-03-12 00:39:05 -0400
commit863ac9d61ba4066699b49a5a46a077036a26c2b6 (patch)
treefd629faff74e74de32a92acf018161cd13f8add0 /build/org.eclipse.linuxtools.cdt.autotools.core
parent4be0276d23c95deaaedb7ac41e57b8f8c322b7be (diff)
downloadorg.eclipse.cdt-863ac9d61ba4066699b49a5a46a077036a26c2b6.tar.gz
org.eclipse.cdt-863ac9d61ba4066699b49a5a46a077036a26c2b6.tar.xz
org.eclipse.cdt-863ac9d61ba4066699b49a5a46a077036a26c2b6.zip
Bug 368069 - RFE: Contribute Autotools plug-ins to the CDT
Diffstat (limited to 'build/org.eclipse.linuxtools.cdt.autotools.core')
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/.classpath7
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/.gitignore5
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/.project34
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/.settings/org.eclipse.jdt.core.prefs11
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/.settings/org.eclipse.jdt.ui.prefs3
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/META-INF/MANIFEST.MF12
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/about.html24
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/build.properties8
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/plugin.properties1
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/plugin.xml18
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/pom.xml17
-rw-r--r--build/org.eclipse.linuxtools.cdt.autotools.core/src/org/eclipse/linuxtools/cdt/autotools/core/Activator.java30
12 files changed, 170 insertions, 0 deletions
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/.classpath b/build/org.eclipse.linuxtools.cdt.autotools.core/.classpath
new file mode 100644
index 0000000000..8a8f1668cd
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/.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.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/.gitignore b/build/org.eclipse.linuxtools.cdt.autotools.core/.gitignore
new file mode 100644
index 0000000000..8d94ef8deb
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/.gitignore
@@ -0,0 +1,5 @@
+bin
+@dot
+javaCompiler...args
+build.xml
+target
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/.project b/build/org.eclipse.linuxtools.cdt.autotools.core/.project
new file mode 100644
index 0000000000..a8fa01ed74
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/.project
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.linuxtools.cdt.autotools.core</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/build/org.eclipse.linuxtools.cdt.autotools.core/.settings/org.eclipse.jdt.core.prefs b/build/org.eclipse.linuxtools.cdt.autotools.core/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..54e493c07c
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/.settings/org.eclipse.jdt.ui.prefs b/build/org.eclipse.linuxtools.cdt.autotools.core/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000000..4c7131801a
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,3 @@
+#Tue Jan 02 14:11:13 EST 2007
+eclipse.preferences.version=1
+internal.default.compliance=default
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/META-INF/MANIFEST.MF b/build/org.eclipse.linuxtools.cdt.autotools.core/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..69cfd1fb52
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/META-INF/MANIFEST.MF
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Core
+Bundle-SymbolicName: org.eclipse.linuxtools.cdt.autotools.core;singleton:=true
+Bundle-Version: 2.0.0.qualifier
+Bundle-Activator: org.eclipse.linuxtools.cdt.autotools.core.Activator
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.core.resources;bundle-version="3.7.100",
+ org.eclipse.cdt.autotools.core;bundle-version="1.0.2"
+Bundle-Localization: plugin
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/about.html b/build/org.eclipse.linuxtools.cdt.autotools.core/about.html
new file mode 100644
index 0000000000..d7c511887d
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/about.html
@@ -0,0 +1,24 @@
+<!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, 2007</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/">http://www.eclipse.org</a>.</p>
+
+</body></html> \ No newline at end of file
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/build.properties b/build/org.eclipse.linuxtools.cdt.autotools.core/build.properties
new file mode 100644
index 0000000000..1f5b1eb5b5
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/build.properties
@@ -0,0 +1,8 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.properties,\
+ plugin.xml,\
+ about.html
+src.includes = about.html
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/plugin.properties b/build/org.eclipse.linuxtools.cdt.autotools.core/plugin.properties
new file mode 100644
index 0000000000..eee053af5e
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/plugin.properties
@@ -0,0 +1 @@
+Makefile.builder.name=Autotools Makefile Generator \ No newline at end of file
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/plugin.xml b/build/org.eclipse.linuxtools.cdt.autotools.core/plugin.xml
new file mode 100644
index 0000000000..3a14a1c214
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/plugin.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ id="genmakebuilderV2"
+ name="%Makefile.builder.name"
+ point="org.eclipse.core.resources.builders">
+ <builder
+ callOnEmptyDelta="true"
+ hasNature="false"
+ isConfigurable="true">
+ <run
+ class="org.eclipse.cdt.internal.autotools.core.AutotoolsConfigurationBuilder">
+ </run>
+ </builder>
+ </extension>
+
+</plugin>
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/pom.xml b/build/org.eclipse.linuxtools.cdt.autotools.core/pom.xml
new file mode 100644
index 0000000000..3f21e4e2e9
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/pom.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+ <groupId>org.eclipse.cdt</groupId>
+ <artifactId>cdt-parent</artifactId>
+ <version>8.1.0-SNAPSHOT</version>
+ <relativePath>../../pom.xml</relativePath>
+ </parent>
+
+ <version>2.0.0-SNAPSHOT</version>
+ <artifactId>org.eclipse.linuxtools.cdt.autotools.core</artifactId>
+ <packaging>eclipse-plugin</packaging>
+</project> \ No newline at end of file
diff --git a/build/org.eclipse.linuxtools.cdt.autotools.core/src/org/eclipse/linuxtools/cdt/autotools/core/Activator.java b/build/org.eclipse.linuxtools.cdt.autotools.core/src/org/eclipse/linuxtools/cdt/autotools/core/Activator.java
new file mode 100644
index 0000000000..1457c65b09
--- /dev/null
+++ b/build/org.eclipse.linuxtools.cdt.autotools.core/src/org/eclipse/linuxtools/cdt/autotools/core/Activator.java
@@ -0,0 +1,30 @@
+package org.eclipse.linuxtools.cdt.autotools.core;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+public class Activator implements BundleActivator {
+
+ private static BundleContext context;
+
+ static BundleContext getContext() {
+ return context;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext bundleContext) throws Exception {
+ Activator.context = bundleContext;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext bundleContext) throws Exception {
+ Activator.context = null;
+ }
+
+}

Back to the top