Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Stryker2017-11-20 17:32:49 +0000
committerRob Stryker2017-11-20 17:32:49 +0000
commit111b1d2c64a5956332ddc04d98a4e9389b19eed4 (patch)
tree871a975e12765b0edb79479ae1f319f8e5fb6de2 /json/bundles/org.eclipse.wst.json.npm.core
parent8d4fce091a6253578d4c86a435fb3b95c39b1ec2 (diff)
downloadwebtools.sourceediting-111b1d2c64a5956332ddc04d98a4e9389b19eed4.tar.gz
webtools.sourceediting-111b1d2c64a5956332ddc04d98a4e9389b19eed4.tar.xz
webtools.sourceediting-111b1d2c64a5956332ddc04d98a4e9389b19eed4.zip
Move bundles
Signed-off-by: Rob Stryker <rob@oxbeef.net>
Diffstat (limited to 'json/bundles/org.eclipse.wst.json.npm.core')
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/.classpath7
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/.project28
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/.settings/org.eclipse.core.resources.prefs2
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/META-INF/MANIFEST.MF14
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/about.html34
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/build.properties7
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/plugin.properties14
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/plugin.xml17
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/pom.xml26
-rw-r--r--json/bundles/org.eclipse.wst.json.npm.core/src/org/eclipse/wst/json/npm/core/internal/NPMCorePlugin.java66
11 files changed, 222 insertions, 0 deletions
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/.classpath b/json/bundles/org.eclipse.wst.json.npm.core/.classpath
new file mode 100644
index 0000000000..ad32c83a78
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.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/json/bundles/org.eclipse.wst.json.npm.core/.project b/json/bundles/org.eclipse.wst.json.npm.core/.project
new file mode 100644
index 0000000000..dce1d255e7
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.wst.json.npm.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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/.settings/org.eclipse.core.resources.prefs b/json/bundles/org.eclipse.wst.json.npm.core/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000000..4824b80263
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/.settings/org.eclipse.jdt.core.prefs b/json/bundles/org.eclipse.wst.json.npm.core/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f287d53cf4
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+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.compliance=1.6
+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/json/bundles/org.eclipse.wst.json.npm.core/META-INF/MANIFEST.MF b/json/bundles/org.eclipse.wst.json.npm.core/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..32c8e121ab
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/META-INF/MANIFEST.MF
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.wst.json.npm.core;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.eclipse.wst.json.npm.core.internal.NPMCorePlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.wst.sse.core,
+ com.ibm.icu,
+ org.eclipse.core.resources
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Bundle-ActivationPolicy: lazy
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/about.html b/json/bundles/org.eclipse.wst.json.npm.core/about.html
new file mode 100644
index 0000000000..2199df3f05
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/about.html
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>June, 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/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</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>
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/build.properties b/json/bundles/org.eclipse.wst.json.npm.core/build.properties
new file mode 100644
index 0000000000..eec6269263
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/build.properties
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ about.html,\
+ plugin.xml,\
+ plugin.properties
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/plugin.properties b/json/bundles/org.eclipse.wst.json.npm.core/plugin.properties
new file mode 100644
index 0000000000..3a9443b7b9
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/plugin.properties
@@ -0,0 +1,14 @@
+###############################################################################
+# Copyright (c) 2015, 2016 Angelo Zerr 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
+#
+# Contributors:
+# Angelo Zerr <angelo.zerr@gmail.com> - Initial API and implementation
+# Patrik Suzzi <psuzzi@gmail.com> - Bug 487050
+###############################################################################
+providerName=Eclipse Web Tools Platform
+pluginName=NPM Core
+NPM_Content_Type_Extension_Element.name=NPM \ No newline at end of file
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/plugin.xml b/json/bundles/org.eclipse.wst.json.npm.core/plugin.xml
new file mode 100644
index 0000000000..c782924851
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/plugin.xml
@@ -0,0 +1,17 @@
+<?json version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+
+ <extension point="org.eclipse.core.contenttype.contentTypes">
+
+ <content-type
+ file-names="package.json"
+ priority="high"
+ name="%NPM_Content_Type_Extension_Element.name"
+ id="org.eclipse.wst.json.npm.core.npmsource"
+ base-type="org.eclipse.wst.json.core.jsonsource">
+ </content-type>
+
+ </extension>
+
+</plugin>
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/pom.xml b/json/bundles/org.eclipse.wst.json.npm.core/pom.xml
new file mode 100644
index 0000000000..b9550dd477
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/pom.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2012, 2013 Eclipse Foundation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ Thanh Ha (Eclipse Foundation) - initial implementation
+-->
+
+<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.webtools.sourceediting</groupId>
+ <artifactId>bundles</artifactId>
+ <version>3.6.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.eclipse.webtools.sourceediting</groupId>
+ <artifactId>org.eclipse.wst.json.npm.core</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+</project>
diff --git a/json/bundles/org.eclipse.wst.json.npm.core/src/org/eclipse/wst/json/npm/core/internal/NPMCorePlugin.java b/json/bundles/org.eclipse.wst.json.npm.core/src/org/eclipse/wst/json/npm/core/internal/NPMCorePlugin.java
new file mode 100644
index 0000000000..e1209d7c95
--- /dev/null
+++ b/json/bundles/org.eclipse.wst.json.npm.core/src/org/eclipse/wst/json/npm/core/internal/NPMCorePlugin.java
@@ -0,0 +1,66 @@
+/**
+ * Copyright (c) 2013-2014 Angelo ZERR.
+ * 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:
+ * Angelo Zerr <angelo.zerr@gmail.com> - initial API and implementation
+ */
+package org.eclipse.wst.json.npm.core.internal;
+
+import org.eclipse.core.runtime.Plugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class NPMCorePlugin extends Plugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.eclipse.wst.json.npm.core"; //$NON-NLS-1$
+
+ // The shared instance
+ private static NPMCorePlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public NPMCorePlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
+ * )
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
+ * )
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static NPMCorePlugin getDefault() {
+ return plugin;
+ }
+
+}

Back to the top