Author: dwoods
Date: Tue May 12 16:15:48 2009
New Revision: 773959
URL: http://svn.apache.org/viewvc?rev=773959&view=rev
Log:
OPENJPA-1080 plugin build updates based on files from Pinaki
Added:
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/checkstyle.xml (with
props)
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/build.properties
(with props)
Modified:
openjpa/sandboxes/openjpa-eclipse-plugin/PLUGIN_RELEASE-NOTES-2.0.0.txt
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/META-INF/MANIFEST.MF
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/about.ini
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.properties
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.xml
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/pom.xml
Modified:
openjpa/sandboxes/openjpa-eclipse-plugin/PLUGIN_RELEASE-NOTES-2.0.0.txt
URL:
http://svn.apache.org/viewvc/openjpa/sandboxes/openjpa-eclipse-plugin/PLUGIN_RELEASE-NOTES-2.0.0.txt?rev=773959&r1=773958&r2=773959&view=diff
==============================================================================
--- openjpa/sandboxes/openjpa-eclipse-plugin/PLUGIN_RELEASE-NOTES-2.0.0.txt
(original)
+++ openjpa/sandboxes/openjpa-eclipse-plugin/PLUGIN_RELEASE-NOTES-2.0.0.txt Tue
May 12 16:15:48 2009
@@ -1,4 +1,4 @@
-Release Notes -- Apache OpenJPA Eclipse Plugin -- Version ${pom.version} --
${buildNumber}
+Release Notes -- Apache OpenJPA Enhancer Plugin -- Version ${pom.version} --
${buildNumber}
Helpful URLs
@@ -37,7 +37,7 @@
-XX:MaxPermSize=128m
-OpenJPA Eclipse Plugin Version ${pom.version} Enhancements
+OpenJPA Enhancer Plugin Version ${pom.version} Enhancements
--------------------------------------------------
<N/A>
@@ -55,6 +55,6 @@
<N/A>
-Release Notes -- Apache OpenJPA Eclipse Plugin -- Version ${pom.version} --
${buildNumber}
+Release Notes -- Apache OpenJPA Enhancer Plugin -- Version ${pom.version} --
${buildNumber}
@version $Rev: 762582 $ $Date: 2009-04-06 20:48:10 -0400 (Mon, 06 Apr 2009) $
Added: openjpa/sandboxes/openjpa-eclipse-plugin/plugins/checkstyle.xml
URL:
http://svn.apache.org/viewvc/openjpa/sandboxes/openjpa-eclipse-plugin/plugins/checkstyle.xml?rev=773959&view=auto
==============================================================================
--- openjpa/sandboxes/openjpa-eclipse-plugin/plugins/checkstyle.xml (added)
+++ openjpa/sandboxes/openjpa-eclipse-plugin/plugins/checkstyle.xml Tue May 12
16:15:48 2009
@@ -0,0 +1,34 @@
+<?xml version="1.0" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+ "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<!-- This is a temporary file.
+ As we get closer to enforcing the OpenJPA style to be like the
+ default Sun Microsystems Definition default file, then
+ we can remove this file and remove the reference from the
+ pom.xml -->
+
+<module name="Checker">
+ <module name="TreeWalker">
+ <!-- <module name="LineLength"/> -->
+ </module>
+</module>
Propchange: openjpa/sandboxes/openjpa-eclipse-plugin/plugins/checkstyle.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/META-INF/MANIFEST.MF
URL:
http://svn.apache.org/viewvc/openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/META-INF/MANIFEST.MF?rev=773959&r1=773958&r2=773959&view=diff
==============================================================================
---
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/META-INF/MANIFEST.MF
(original)
+++
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/META-INF/MANIFEST.MF
Tue May 12 16:15:48 2009
@@ -1,13 +1,19 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Apache OpenJPA Enhancer Plug-in
-Bundle-SymbolicName: org.apache.openjpa.eclipse;singleton:=true
+Bundle-Name: Apache OpenJPA Enhancer
+Bundle-SymbolicName:
org.apache.openjpa.openjpa-eclipse-plugin.enhancer;singleton:=true
Bundle-Version: 2.0.0
Bundle-Activator: org.apache.openjpa.eclispe.Activator
Bundle-Vendor: Apache.org
Bundle-Localization: plugin
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.jst.common.frameworks
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources
Bundle-ActivationPolicy: lazy
-Export-Package:
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6,
+ J2SE-1.5
+Bundle-ClassPath: .,
+ enhancer.jar
+Export-Package: org.apache.openjpa.eclipse
Import-Package: junit.framework;version="3.8.1"
+Eclipse-AutoStart: true
Modified:
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/about.ini
URL:
http://svn.apache.org/viewvc/openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/about.ini?rev=773959&r1=773958&r2=773959&view=diff
==============================================================================
---
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/about.ini
(original)
+++
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/about.ini
Tue May 12 16:15:48 2009
@@ -21,10 +21,10 @@
# Property "aboutText" contains blurb for feature details in the "About"
# dialog. Maximum 15 lines and 75 characters per line.
#
-aboutText=Apache OpenJPA Plugin\n\
+aboutText=Apache OpenJPA Enhancer Plugin\n\
Version: ${pom.version}-${buildNumber}\n\
\n\
-(c) Copyright 2009 The Apache Software Foundation\n\
+(c) Copyright 2005-2009 The Apache Software Foundation\n\
Visit http://www.apache.org/licenses/LICENSE-2.0.txt for additional details\n\
\n\
Visit http://openjpa.apache.org/\n\
Added:
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/build.properties
URL:
http://svn.apache.org/viewvc/openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/build.properties?rev=773959&view=auto
==============================================================================
---
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/build.properties
(added)
+++
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/build.properties
Tue May 12 16:15:48 2009
@@ -0,0 +1,7 @@
+bin.includes = enhancer.jar,\
+ plugin.properties,\
+ plugin.xml
+jars.compile.order = enhancer.jar
+src.includes = src/
+source.enhancer.jar = src/
+output.enhancer.jar = target/
Propchange:
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/build.properties
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.properties
URL:
http://svn.apache.org/viewvc/openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.properties?rev=773959&r1=773958&r2=773959&view=diff
==============================================================================
---
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.properties
(original)
+++
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.properties
Tue May 12 16:15:48 2009
@@ -16,6 +16,6 @@
#
# $Rev: 583586 $ $Date: 2007-10-10 15:29:32 -0400 (Wed, 10 Oct 2007) $
#
-pluginName=Apache OpenJPA Plugin
+pluginName=Apache OpenJPA Enhancer
providerName=Apache Software Foundation
Modified:
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.xml
URL:
http://svn.apache.org/viewvc/openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.xml?rev=773959&r1=773958&r2=773959&view=diff
==============================================================================
---
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.xml
(original)
+++
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/plugin.xml
Tue May 12 16:15:48 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
+<?eclipse version="3.2"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
@@ -20,6 +20,58 @@
<!-- $Rev: 589873 $ $Date: 2007-10-29 17:48:35 -0400 (Mon, 29 Oct 2007) $ -->
<plugin>
-
+ <extension
+ id="builder"
+ name="OpenJPA Enhancer"
+ point="org.eclipse.core.resources.builders">
+ <requires-nature id="org.eclipse.jdt.core.javanature" />
+ <builder
+ hasNature="true">
+ <run
+ class="org.apache.openjpa.eclipse.Enhancer">
+ </run>
+ </builder>
+ </extension>
+ <extension
+ id="nature"
+ name="OpenJPA Enhancer"
+ point="org.eclipse.core.resources.natures">
+ <runtime>
+ <run
+ class="org.apache.openjpa.eclipse.EnhancerNature">
+ </run>
+ </runtime>
+ <builder
+ id="org.apache.openjpa.enhancer">
+ </builder>
+ </extension>
+
+ <extension
+ point="org.eclipse.ui.popupMenus">
+ <objectContribution
+ adaptable="true"
+ objectClass="org.eclipse.core.resources.IProject"
+ nameFilter="*"
+ id="org.apache.openjpa.enhancer.nature.popup">
+ <action
+ label="Add/Remove Enhancer"
+ class="org.apache.openjpa.eclipse.ToggleNatureAction"
+ menubarPath="additions"
+ enablesFor="+"
+ id="org.apache.openjpa.enhancer.addRemoveNatureAction">
+ </action>
+ </objectContribution>
+ </extension>
+ <extension
+ id="xmlProblem"
+ name="XML Problem"
+ point="org.eclipse.core.resources.markers">
+ <super
+ type="org.eclipse.core.resources.problemmarker">
+ </super>
+ <persistent
+ value="true">
+ </persistent>
+ </extension>
</plugin>
Modified:
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/pom.xml
URL:
http://svn.apache.org/viewvc/openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/pom.xml?rev=773959&r1=773958&r2=773959&view=diff
==============================================================================
---
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/pom.xml
(original)
+++
openjpa/sandboxes/openjpa-eclipse-plugin/plugins/org.apache.openjpa.eclipse/pom.xml
Tue May 12 16:15:48 2009
@@ -25,9 +25,9 @@
</parent>
<groupId>org.apache.openjpa.openjpa-eclipse-plugin</groupId>
- <artifactId>org.apache.openjpa.eclipse</artifactId>
+ <artifactId>enhancer</artifactId>
<packaging>jar</packaging>
- <name>${artifactId}</name>
+ <name>${groupId}.${artifactId}</name>
<build>
<resources>
@@ -62,7 +62,7 @@
in the jar's meta-inf directory -->
<resource>
<targetPath>META-INF</targetPath>
- <directory>.</directory>
+ <directory>../..</directory>
<includes>
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>
@@ -76,7 +76,7 @@
-->
<resource>
<targetPath>about_files</targetPath>
- <directory>.</directory>
+ <directory>../..</directory>
<includes>
<include>LICENSE.txt</include>
<include>NOTICE.txt</include>