diff options
author | pfullbright | 2011-02-09 22:40:38 +0000 |
---|---|---|
committer | pfullbright | 2011-02-09 22:40:38 +0000 |
commit | 770d9fe6ce24bd7fc3406a80ef7d1101e4bcc19a (patch) | |
tree | f304927e5280a22585d0e049b10d8e8af941f709 | |
parent | 66f5d80f420f692bcd873b041c6c776ad0c954c8 (diff) | |
download | webtools.dali-770d9fe6ce24bd7fc3406a80ef7d1101e4bcc19a.tar.gz webtools.dali-770d9fe6ce24bd7fc3406a80ef7d1101e4bcc19a.tar.xz webtools.dali-770d9fe6ce24bd7fc3406a80ef7d1101e4bcc19a.zip |
added common eclipselink plugin
7 files changed, 141 insertions, 0 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.eclipselink.core/.classpath b/common/plugins/org.eclipse.jpt.common.eclipselink.core/.classpath new file mode 100644 index 0000000000..6cdc07eba6 --- /dev/null +++ b/common/plugins/org.eclipse.jpt.common.eclipselink.core/.classpath @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"> + <accessrules> + <accessrule kind="accessible" pattern="org/eclipse/jst/**"/> + <accessrule kind="accessible" pattern="org/eclipse/wst/**"/> + </accessrules> + </classpathentry> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/common/plugins/org.eclipse.jpt.common.eclipselink.core/.project b/common/plugins/org.eclipse.jpt.common.eclipselink.core/.project new file mode 100644 index 0000000000..4179bd967e --- /dev/null +++ b/common/plugins/org.eclipse.jpt.common.eclipselink.core/.project @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>org.eclipse.jpt.common.eclipselink.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/common/plugins/org.eclipse.jpt.common.eclipselink.core/.settings/org.eclipse.jdt.core.prefs b/common/plugins/org.eclipse.jpt.common.eclipselink.core/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..567c9b24f5 --- /dev/null +++ b/common/plugins/org.eclipse.jpt.common.eclipselink.core/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +#Wed Feb 09 16:21:08 EST 2011 +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/common/plugins/org.eclipse.jpt.common.eclipselink.core/META-INF/MANIFEST.MF b/common/plugins/org.eclipse.jpt.common.eclipselink.core/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..098e210a38 --- /dev/null +++ b/common/plugins/org.eclipse.jpt.common.eclipselink.core/META-INF/MANIFEST.MF @@ -0,0 +1,10 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %pluginName +Bundle-Vendor: %providerName +Bundle-SymbolicName: org.eclipse.jpt.common.eclipselink.core;singleton:=true +Bundle-Version: 1.0.0.qualifier +Bundle-Localization: plugin +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.7.0,4.0.0)", + org.eclipse.jst.common.project.facet.core;bundle-version="[1.4.200,2.0.0)" diff --git a/common/plugins/org.eclipse.jpt.common.eclipselink.core/build.properties b/common/plugins/org.eclipse.jpt.common.eclipselink.core/build.properties new file mode 100644 index 0000000000..ccd428d609 --- /dev/null +++ b/common/plugins/org.eclipse.jpt.common.eclipselink.core/build.properties @@ -0,0 +1,17 @@ +################################################################################ +# Copyright (c) 2011 Oracle. 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: +# Oracle - initial API and implementation +################################################################################ +javacSource=1.5 +javacTarget=1.5 +source.. = src/ +output.. = bin/ +bin.includes = .,\ + META-INF/,\ + plugin.xml,\ + plugin.properties diff --git a/common/plugins/org.eclipse.jpt.common.eclipselink.core/plugin.properties b/common/plugins/org.eclipse.jpt.common.eclipselink.core/plugin.properties new file mode 100644 index 0000000000..c3865d8607 --- /dev/null +++ b/common/plugins/org.eclipse.jpt.common.eclipselink.core/plugin.properties @@ -0,0 +1,23 @@ +############################################################################### +# Copyright (c) 2011 Oracle. 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: +# Oracle - initial API and implementation +############################################################################### +# ==================================================================== +# To code developer: +# Do NOT change the properties between this line and the +# "%%% END OF TRANSLATED PROPERTIES %%%" line. +# Make a new property name, append to the end of the file and change +# the code to use the new property. +# ==================================================================== + +# ==================================================================== +# %%% END OF TRANSLATED PROPERTIES %%% +# ==================================================================== + +pluginName = Dali Java Persistence Tools - Common EclipseLink Core +providerName = Eclipse Web Tools Platform diff --git a/common/plugins/org.eclipse.jpt.common.eclipselink.core/plugin.xml b/common/plugins/org.eclipse.jpt.common.eclipselink.core/plugin.xml new file mode 100644 index 0000000000..ccffee1ecb --- /dev/null +++ b/common/plugins/org.eclipse.jpt.common.eclipselink.core/plugin.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<!-- + Copyright (c) 2011 Oracle. 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: + Oracle - initial API and implementation + --> + +<plugin> + + <!-- + ****************************************** + * Library Provider Framework Integration * + ****************************************** + --> + + <extension point="org.eclipse.jst.common.project.facet.core.downloadableLibraries"> + + <import-definitions + url="http://www.eclipse.org/webtools/dali/dev/eclipselink/eclipselink-downloadable-libs.xml"> + <enablement> + <with variable="requestingProjectFacet"> + <or> + <test + property="org.eclipse.wst.common.project.facet.core.projectFacet" + value="jpt.jaxb" + forcePluginActivation="true"/> + <test + property="org.eclipse.wst.common.project.facet.core.projectFacet" + value="jpt.jpa" + forcePluginActivation="true"/> + </or> + </with> + </enablement> + </import-definitions> + + </extension> + +</plugin> |