You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2009/07/27 01:26:52 UTC
svn commit: r798003 - in /openejb/trunk/openejb-eclipse-plugin: ./ examples/
examples/echo.stateless.bean/ examples/echo.stateless.bean/META-INF/
examples/echo.stateless.bean/src/ examples/echo.stateless.bean/src/main/
examples/echo.stateless.bean/src/...
Author: jgallimore
Date: Sun Jul 26 23:26:49 2009
New Revision: 798003
URL: http://svn.apache.org/viewvc?rev=798003&view=rev
Log:
Progress on OEP-34 moved samples to examples directory and added Maven builds
Added:
openejb/trunk/openejb-eclipse-plugin/examples/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/MANIFEST.MF
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/ejb-jar.xml
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/pom.xml
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServer.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServerBean.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoStatelessPlugin.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/resources/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/META-INF/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/META-INF/MANIFEST.MF
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/build.properties
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_about.gif (with props)
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.icns (with props)
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.ico (with props)
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.xpm
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_window_16.gif (with props)
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_window_32.gif (with props)
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/plugin.xml
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/pom.xml
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Activator.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Application.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationActionBarAdvisor.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchAdvisor.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchWindowAdvisor.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/EchoClient.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Perspective.java
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/META-INF/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/META-INF/MANIFEST.MF
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/build.properties
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/pom.xml
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/superbiz/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/superbiz/echo/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/superbiz/echo/client/
openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/superbiz/echo/client/Activator.java
openejb/trunk/openejb-eclipse-plugin/examples/pom.xml
openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/resources/META-INF/
openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/resources/META-INF/openejb.xml
Removed:
openejb/trunk/openejb-eclipse-plugin/plugins/echo.stateless.bean/
openejb/trunk/openejb-eclipse-plugin/plugins/echo.stateless.client/
openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.wtp.server/maven-eclipse.xml
Modified:
openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/META-INF/MANIFEST.MF
openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/pom.xml
openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/java/org/apache/openejb/eclipse/OpenEjbPlugin.java
openejb/trunk/openejb-eclipse-plugin/pom.xml
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/MANIFEST.MF?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/MANIFEST.MF (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/MANIFEST.MF Sun Jul 26 23:26:49 2009
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Ejb Plug-in
+Bundle-SymbolicName: echo.stateless.bean;singleton:=true
+Bundle-Version: 1.0.0.beta
+Bundle-Activator: org.superbiz.echo.ejb.EchoStatelessPlugin
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Import-Package: org.osgi.framework;version="1.3.0"
+Require-Bundle: org.apache.openejb.server;bundle-version="1.0.0.beta"
+Eclipse-RegisterBuddy: org.apache.openejb.server
+Bundle-ClassPath: lib/javaee-api-5.0-2.jar,
+ .
+Export-Package: org.superbiz.echo.ejb
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/ejb-jar.xml?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/ejb-jar.xml (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/META-INF/ejb-jar.xml Sun Jul 26 23:26:49 2009
@@ -0,0 +1 @@
+<ejb-jar/>
\ No newline at end of file
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/pom.xml?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/pom.xml (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/pom.xml Sun Jul 26 23:26:49 2009
@@ -0,0 +1,120 @@
+<!--
+ ~ 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.
+-->
+<!-- $Rev: 577554 $ $Date: 2007-09-20 06:35:12 +0100 (Thu, 20 Sep 2007) $ -->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>echo.stateless.bean</artifactId>
+ <packaging>jar</packaging>
+ <name>${artifactId}</name>
+ <parent>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>eclipse-plugins-examples</artifactId>
+ <version>1.0.0.beta-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.xml</include>
+ <include>about.html</include>
+ <include>plugin.properties</include>
+ <include>plugin_*.properties</include>
+ </includes>
+ </resource>
+ <resource>
+ <targetPath>META-INF</targetPath>
+ <directory>META-INF</directory>
+ <includes>
+ <include>MANIFEST.MF</include>
+ <include>ejb-jar.xml</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>lib</directory>
+ <targetPath>lib</targetPath>
+ <includes>
+ <include>*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.geronimo.devtools</groupId>
+ <artifactId>maven-eclipsepde-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>lib</outputDirectory>
+ <overWriteSnapshots>
+ true
+ </overWriteSnapshots>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>5.0-2</version>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>org.apache.openejb.server</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>5.0-2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>osgi_R4_core</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+</project>
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServer.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServer.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServer.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServer.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,26 @@
+/*
+ * 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.
+ */
+package org.superbiz.echo.ejb;
+
+import javax.ejb.Remote;
+
+@Remote
+public interface EchoServer {
+
+ public abstract String echo(String message);
+
+}
\ No newline at end of file
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServerBean.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServerBean.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServerBean.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoServerBean.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,28 @@
+/*
+ * 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.
+ */
+package org.superbiz.echo.ejb;
+
+import javax.ejb.Stateless;
+
+@Stateless
+public class EchoServerBean implements EchoServer {
+
+ public String echo(String message) {
+ System.out.println("Client sent: " + message);
+ return "Server: " + message;
+ }
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoStatelessPlugin.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoStatelessPlugin.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoStatelessPlugin.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.bean/src/main/java/org/superbiz/echo/ejb/EchoStatelessPlugin.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,75 @@
+/*
+ * 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.
+ */
+package org.superbiz.echo.ejb;
+
+import org.apache.openejb.eclipse.OpenEjbApplication;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class EchoStatelessPlugin implements BundleActivator {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "echo.stateless.bean";
+
+ // The shared instance
+ private static EchoStatelessPlugin plugin;
+
+ /**
+ * The constructor
+ */
+ public EchoStatelessPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
+ * )
+ */
+ public void start(BundleContext context) throws Exception {
+ plugin = this;
+ Bundle bundle = context.getBundle();
+ OpenEjbApplication application = new OpenEjbApplication(bundle);
+ context.registerService(OpenEjbApplication.class.getName(), application, null);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
+ * )
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static EchoStatelessPlugin getDefault() {
+ return plugin;
+ }
+
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/META-INF/MANIFEST.MF?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/META-INF/MANIFEST.MF (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/META-INF/MANIFEST.MF Sun Jul 26 23:26:49 2009
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Client Plug-in
+Bundle-SymbolicName: echo.stateless.client; singleton:=true
+Bundle-Version: 1.0.0.beta
+Bundle-Activator: echo.stateless.client.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ echo.stateless.bean;bundle-version="1.0.0.beta",
+ org.apache.openejb.server;bundle-version="1.0.0.beta"
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/build.properties
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/build.properties?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/build.properties (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/build.properties Sun Jul 26 23:26:49 2009
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_about.gif
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_about.gif?rev=798003&view=auto
==============================================================================
Binary file - no diff available.
Propchange: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_about.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.icns
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.icns?rev=798003&view=auto
==============================================================================
Binary file - no diff available.
Propchange: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.icns
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.ico
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.ico?rev=798003&view=auto
==============================================================================
Binary file - no diff available.
Propchange: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.ico
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.xpm
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.xpm?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.xpm (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_launcher.xpm Sun Jul 26 23:26:49 2009
@@ -0,0 +1,307 @@
+/* XPM */
+static char * icon48_xpm[] = {
+"48 48 256 2",
+" c #4B4B3B3B9090",
+". c #0D0D0E0E5454",
+"X c #11110E0E5B5B",
+"o c #17170F0F6363",
+"O c #1D1D13136969",
+"+ c #212114146C6C",
+"@ c #252514147171",
+"# c #282811116C6C",
+"$ c #26260D0D6363",
+"% c #22220B0B5E5E",
+"& c #1C1C0B0B5A5A",
+"* c #1C1C0B0B5252",
+"= c #1B1B05055353",
+"- c #161606064D4D",
+"; c #161605054949",
+": c #111104044848",
+"> c #131304044545",
+", c #131305054242",
+"< c #141410105E5E",
+"1 c #2C2C15157373",
+"2 c #2B2B1B1B7575",
+"3 c #343416167272",
+"4 c #313113136E6E",
+"5 c #222209095757",
+"6 c #1B1B06064D4D",
+"7 c #15150B0B4242",
+"8 c #13130C0C5555",
+"9 c #2E2E1B1B7878",
+"0 c #33331F1F7C7C",
+"q c #343418187878",
+"w c #3B3B1C1C7575",
+"e c #2E2E10106767",
+"r c #1B1B07074747",
+"t c #18180B0B4646",
+"y c #151513136262",
+"u c #1A1A15156464",
+"i c #34341F1F7777",
+"p c #40401E1E8080",
+"a c #42421B1B7A7A",
+"s c #3B3B15157474",
+"d c #2B2B0B0B5B5B",
+"f c #222207075252",
+"g c #373727277A7A",
+"h c #474724248484",
+"j c #393915156E6E",
+"k c #373711116A6A",
+"l c #343413136363",
+"z c #232319196E6E",
+"x c #292919197070",
+"c c #3C3C2C2C8282",
+"v c #444431318585",
+"b c #494934348A8A",
+"n c #505026268A8A",
+"m c #3D3D1B1B6E6E",
+"M c #31310E0E5C5C",
+"N c #2B2B0D0D5353",
+"B c #222207074A4A",
+"V c #52523C3C9292",
+"C c #58583C3C9494",
+"Z c #5D5D44449797",
+"A c #5C5C2E2E9292",
+"S c #676733339595",
+"D c #424228287575",
+"F c #29290A0A4F4F",
+"G c #6C6C4A4A9E9E",
+"H c #72725454A7A7",
+"J c #8C8C6D6DB2B2",
+"K c #343424246E6E",
+"L c #3A3A23236A6A",
+"P c #3A3A1C1C6767",
+"I c #24240A0A4B4B",
+"U c #151518186161",
+"Y c #76766F6FA5A5",
+"T c #ADAD9191CCCC",
+"R c #98988989D3D3",
+"E c #45453B3B8686",
+"W c #3C3C35357979",
+"Q c #363631317575",
+"! c #32322D2D6B6B",
+"~ c #323229296363",
+"^ c #30301F1F6262",
+"/ c #323218185E5E",
+"( c #272707074B4B",
+") c #202028286C6C",
+"_ c #1E1E1D1D6868",
+"` c #9A9A8282BBBB",
+"' c #C8C8B3B3D3D3",
+"] c #B3B3AFAFE7E7",
+"[ c #84847272C6C6",
+"{ c #58585757A3A3",
+"} c #3F3F3C3C8A8A",
+"| c #3B3B3A3A8484",
+" . c #414139397D7D",
+".. c #3D3D39397A7A",
+"X. c #37372E2E6E6E",
+"o. c #2C2C21215A5A",
+"O. c #2E2E1B1B5B5B",
+"+. c #F5F5EFEFF5F5",
+"@. c #656566669A9A",
+"#. c #47474B4B8E8E",
+"$. c #3C3C44447B7B",
+"%. c #444442428080",
+"&. c #45453E3E8181",
+"*. c #40403C3C8181",
+"=. c #3D3D33337474",
+"-. c #3B3B30306E6E",
+";. c #38382D2D6969",
+":. c #303026265D5D",
+">. c #2C2C15155A5A",
+",. c #1F1F1C1C7070",
+"<. c #25251E1E7171",
+"1. c #59595C5C9191",
+"2. c #4D4D53538989",
+"3. c #4C4C49498484",
+"4. c #484845458585",
+"5. c #494941418585",
+"6. c #494940408181",
+"7. c #2F2F1C1C5353",
+"8. c #2B2B28287676",
+"9. c #323231317F7F",
+"0. c #545452528B8B",
+"q. c #51514E4E8989",
+"w. c #4E4E4B4B8C8C",
+"e. c #4C4C47478686",
+"r. c #46463D3D7E7E",
+"t. c #434336367A7A",
+"y. c #2B2B13135555",
+"u. c #47473D3D8D8D",
+"i. c #575757578E8E",
+"p. c #48483E3E7F7F",
+"a. c #46463A3A7D7D",
+"s. c #424235357575",
+"d. c #404034347171",
+"f. c #BFBFCBCBFAFA",
+"g. c #B8B8A8A8DDDD",
+"h. c #5E5E60609292",
+"j. c #565655558C8C",
+"k. c #4B4B44448282",
+"l. c #454539397B7B",
+"z. c #434338387878",
+"x. c #3F3F32326D6D",
+"c. c #3D3D30306969",
+"v. c #3A3A2E2E6363",
+"b. c #36362A2A5C5C",
+"n. c #343424245555",
+"m. c #30301E1E4D4D",
+"M. c #49493C3C8282",
+"N. c #5E5E4F4F8C8C",
+"B. c #56563B3B8B8B",
+"V. c #545407078585",
+"C. c #424234347272",
+"Z. c #9797A4A4F7F7",
+"A. c #444436367676",
+"S. c #7D7D7979D5D5",
+"D. c #464640408A8A",
+"F. c #44444B4B8282",
+"G. c #414107077777",
+"H. c #71716161C1C1",
+"J. c #303039397979",
+"K. c #8E8E8E8EE6E6",
+"L. c #404033338B8B",
+"P. c #4A4A45458C8C",
+"I. c #46463A3A8080",
+"U. c #363629295454",
+"Y. c #303022224848",
+"T. c #424237377575",
+"R. c #2E2E1D1D6363",
+"E. c #79798383EAEA",
+"W. c #74747B7BE4E4",
+"Q. c #6D6D7676D6D6",
+"!. c #6A6A7171CECE",
+"~. c #66666969C6C6",
+"^. c #62626565BCBC",
+"/. c #5F5F6060B5B5",
+"(. c #5B5B5B5BACAC",
+"). c #535353539898",
+"_. c #4F4F4F4FA4A4",
+"`. c #54544D4DA4A4",
+"'. c #323204046B6B",
+"]. c #303035357979",
+"[. c #313122224343",
+"{. c #5A5A5B5BB7B7",
+"}. c #484846468080",
+"|. c #454541417575",
+" X c #4B4B31318282",
+".X c #47473C3C8484",
+"XX c #3E3E35356E6E",
+"oX c #2F2F26264040",
+"OX c #2B2B23233A3A",
+"+X c #262619195C5C",
+"@X c #252515155A5A",
+"#X c #55555151B3B3",
+"$X c #3C3C2D2D5D5D",
+"%X c #39392F2F5656",
+"&X c #37372D2D5050",
+"*X c #25251F1F3030",
+"=X c #24241D1D4343",
+"-X c #202013135656",
+";X c #41413B3B6C6C",
+":X c #444442429696",
+">X c #212100005E5E",
+",X c #444436367272",
+"<X c #444436366F6F",
+"1X c #424236366868",
+"2X c #3F3F34346161",
+"3X c #3C3C32325A5A",
+"4X c #34342A2A4A4A",
+"5X c #21211B1B2121",
+"6X c #22221C1C6363",
+"7X c #2D2D01015E5E",
+"8X c #20201B1B2525",
+"9X c #49492F2F7B7B",
+"0X c #434334346C6C",
+"qX c #323229294545",
+"wX c #1C1C10104F4F",
+"eX c #222217176363",
+"rX c #37371E1E6B6B",
+"tX c #424232326E6E",
+"yX c #444433336969",
+"uX c #424233336565",
+"iX c #1E1E1A1A1E1E",
+"pX c #161601014C4C",
+"aX c #1C1C11115454",
+"sX c #252503035B5B",
+"dX c #414131316A6A",
+"fX c #22221F1F7878",
+"gX c #272724246767",
+"hX c #1D1D16165E5E",
+"jX c #131305055151",
+"kX c #40402F2F6464",
+"lX c #111107074E4E",
+"zX c #0C0C05054B4B",
+"xX c #22221E1E5757",
+"cX c #1A1A0D0D4D4D",
+"vX c #16160B0B4D4D",
+"bX c #060604044747",
+"nX c #040403034343",
+"mX c #3B3B27276565",
+"MX c #0E0E03034141",
+"NX c #111106064A4A",
+"BX c #0E0E04044646",
+"VX c #111105053B3B",
+"CX c #0D0D01013A3A",
+"ZX c #030305053F3F",
+"AX c #0F0F0F0F4C4C",
+"SX c #020207073B3B",
+"DX c #0D0D03034646",
+"FX c #0B0B02023F3F",
+"GX c #0D0D02023434",
+"HX c #0A0A0E0E4444",
+"JX c #161614145252",
+"KX c #0B0B04044646",
+"LX c #0A0A03034444",
+"PX c #1D1D21215757",
+"IX c #090910104040",
+"UX c #18181E1E5353",
+" ",
+" . . . . X X o o o o O + + @ @ @ @ @ @ @ # # # # # # $ $ % % & & & & * = - - - ; : > > , , , ",
+" . . X X < < o o O O + @ 1 2 2 1 1 1 1 1 1 1 1 3 4 # # $ $ $ % % % 5 = = 6 6 - ; ; > > , , 7 ",
+" . 8 < < < o O O + @ @ 2 9 9 0 0 q q q q q q q w 3 4 4 e e $ $ $ $ % 5 = = 6 6 6 ; ; > > r t ",
+" . X < y u O O + @ 1 2 i 0 0 p p p p p p p a a p a s 3 4 4 e e e e d 5 5 f f 6 6 6 ; ; r r t ",
+" X < y u O + + @ 2 9 0 g p p h h h h h h h p h h a a s s j k k j l d d 5 5 f f 6 6 r r r r r ",
+" X < y O z x x 9 0 g c v b n n n n n n n n n n n h a a s s j j m l M d d N f f B B B B r r r ",
+" < y u + z 2 0 c c b V C Z C C A A A A A S S S n h D w w m m m m k l M d d N f F F F B r r r ",
+" < y O z z 9 c b V Z G H H H G S G G J J H V v c g g K K K K L P l l l M M N N N N I B B r r ",
+" U u + z x i v C H Y J J J J H J T R H V E W W Q Q Q Q ! ! ! ~ ^ ^ / / M M M M M N ( B B r r ",
+" ) _ z x 9 g b Z Y ` ' ' ' T T ] [ { } | .........W W Q Q X.! ~ ~ o.O./ / / / N F ( B B B r ",
+" ) ) z x i c V G J ' +.+.+.+.] [ @.#.$.%.%.%.&.*. . .....W =.-.X.;.~ :.o.O.^ >.N F ( B B B B ",
+" ) ,.<.2 g v C H J ' +.+.+.+.T Y 1.2.3.4.4.4.5.6.&.&. . ...W =.=.-.;.~ :.o.7.>.N F F ( B I I ",
+" ) ,.<.8.9.b C H J T +.+.+.' J @.1.0.q.q.w.e.4.5.6.&.r. . .t.W =.=.-.;.~ :.o.7.y.N F ( ( I I ",
+" 8.8.8.9.| u.C G J T +.+.' ` Y @.1.i.0.q.q.e.e.5.6.p.r.a. .t.t.s.d.d.-.;.~ :.7.7.y.F F ( I I ",
+" 9.c c c v b A S H ' f.g.` Y @.h.1.i.j.0.q.q.e.k.6.p.r.a.l.t.z.s.s.d.x.c.v.b.n.m.7.N F F F I ",
+" <.g M.N.B.B.n V.J f.R J @.h.h.1.i.i.j.j.0.q.3.k.6.p.r.a.l.l.z.s.C.d.x.x.c.v.b.n.m.y.N F F F ",
+" + x i v B.Z Z G g.Z.[ @.2.i.i.j.j.j.j.j.0.q.3.k.6.p.p.a.l.l.A.s.C.C.d.x.c.v.b.n.m.7.y.N N y. ",
+" O # 3 w p n Z ` f.S.H D.F.q.0.0.0.0.j.0.q.q.3.k.6.p.r.a.a.l.A.s.s.C.d.x.x.c.v.b.n.m.y.y.y.y. ",
+" O # 4 s a G.V.T Z.H.V J.%.e.w.q.0.0.0.0.q.q.e.k.6.p.r.a.a.l.z.A.s.C.d.d.x.c.v.b.n.m.7.>.y.y. ",
+" O # 4 s w G.A f.K.H L...4.P.w.w.w.q.q.q.q.e.e.5.6.M.I.I.a.a.l.z.A.s.d.d.x.c.v.v.U.Y.7.O.>.y. ",
+" $ # 4 3 s G.G f.S.Z 9.*.D.P.P.w.w.w.w.w.e.e.5.5.M.M.I.I.a.a.l.z.T.s.d.d.x.x.c.v.U.Y.m.R.>.>. ",
+" E.E.W.W.W.W.E.Z.E.W.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.!.!.!.!.!.~.~.~.~.~.~.^.^.^.^.^./././.(.{ { )._.`._. ",
+" + # 3 w s '.` f.H.V ].*.D.P.P.P.P.P.P.P.5.5.5.M.M.M.I.I.a.l.z.z.T.T.s.d.d.x.c.v.U.Y.[.^ O.>. ",
+" ~.~.~.~.~.~.K.Z.S.~.{.^.^.^.^.^.^.^.^././././././.(.(.(.(.(.(.{ { { { { ).).).w.w.}.|.P.u.} ",
+" .I.6. X X XT f.H.b ].*.E D.D.D.D.5.5..X.XM.M.I.I.a.a.l.l.z.z.T.T.T.d.XXx.c.v.b.U.oXOXR.+X@X ",
+" E.E.E.W.W.W.K.Z.E.W.Q.Q.Q.Q.Q.Q.Q.Q.!.!.!.!.!.!.~.~.~.~.~.~.^.^.^.^.^./././.(.{ { ).).#X_._. ",
+" & % $ e '.= H f.H.b 8.W *.E E E .X.X.XI.I.I.I.a.a.l.l.z.z.T.T.T.C.XXXXc.v.$X%X&XY.*X=X2 @X-X ",
+" {.{.{.{.{.#X~.Z.W.~.{.{./././././././././.(.(.(.(.(.(.(.{ { { { { { ).).).w.w.3.}.;X%.:X} } ",
+" & & % $ e >XV.f.S.C K X.W t. . .l.l.t.t.t.t.A.A.A.,X,X,X,X,X<X;X1X1X2X3X%X&X4XoX*X5Xo.6X-X-X ",
+" & & % $ $ >X7X` Z.Z D ! =.=.s.t.t.t.A.A.s.A.,X,X,X,X<X<X<X<X;X1X2X2X3X%X&X4XoXOX8X5X<.@X-X-X ",
+" 8 & & $ e K 9XJ f.^. XK X.=.=.s.s.s.s.s.C.C.C.C.<X0X0X0X1X1X1X2X2X3X%X&X4XqXOX*X8X=X<.-X-XwX ",
+" 8 & eXK k.@.M. Xg.E.B.rX~ -.d.d.C.C.C.C.C.tX0X0X0XyXyX1X1XuX2X2X3X%X&X4XqXoXOX8XiX6XeX-X-XwX ",
+" 6XQ h.Y N.K e pXB.f./.9Xo.;.-.x.d.tXtXtXtXtX0X0XyXyXyXuXuX2X2X3X%X&X4XqXoXOX*XiX=X_ aX-XaXwX ",
+" Y Y .R.@X% sX= 7XT Z.V P :.;.c.x.x.x.tXdXdXdXyXyXuXuX2X2X3X3X%X&X4XqXoXOX*X8X*XfXaXaXaXwXwX ",
+" gXhX& * & 5 5 sXjXa ] S.9X/ ~ v.c.dXdXdXdXdXuXuXuXkX2X2X3X%X%X&X4XqXoXOX*X8XiX<.hXwXwXaXwXwX ",
+" 8 lXlXjX= * 5 5 = zX9X] H.D 7.b.v.v.kXc.kXkXkXkXkX2X$X3X%X&X&X4XqXoXOX*X8XiXxXhXwXcXcXwXwXwX ",
+" zXzXlXlXjX= = f f sXD Y ] ~.D 7.n.b.v.v.kXkXkXkX$X$X%X%X&X4XqXoXoXOX*X8X5XgXu cXvXvXcXcXwXwX ",
+" bXbXzXlXlX- = * @XX.h.e D T S.D n.m.b.$X$X$X$X$X%X%X&X&X4XqXoXOX*X8X8X*X<.hXvX; ; vXvXvXcXwX ",
+" nXbXzXzXlXlX- -XX.Y R.pXpXP J K.Z mXm.n.U.U.U.U.U.4X4XY.oXOX*X8X8X8X=X,.aXvX; > > > t t t cX ",
+" nXbXbXzXzXlXaXXXY +Xf = f = 7XtXR R mXn.Y.[.[.[.[.OX*X*X8X5X*X=X,.u vXvX; > > MXMX, 7 t t ",
+" nXnXnXbXzXvX-.Y +XcX6 6 = = = d L B.G H `.X.:.7.m.=X=X=X=X=X6X,.u cXvXNX: BX> MXVXCXVX7 7 7 ",
+" ZXZXnXbXAXgX@.+XvX; - - - - * @XR.>.sX>.R.i 0 x eXeXeXeXO hXaXcXvXNX: BXMXMXMXVXCXCXCXVX7 7 ",
+" SXZXZXAXgXN.aXNX: : NXNXNX- * +X+X* 6 6 6 * * * * * * * vXvX- NX: DXBXMXMXFXCXCXCXCXGXVXVX7 ",
+" SXSXHXgX0.JXKXLXKXKXDX: : NX* @X-X- - - - - - - - - - - NX: DXDXDXMXMXFXFXCXCXCXCXGXGXGXVXVX ",
+" SXHXPX3.JXnXnXnXnXbXLXKXKXNXaX-XvX: : NX: : : : : : : BXDXDXLXMXMXFXFXCXCXCXCXGXGXGXGXGXGXGX ",
+" IXUX$.AXZXZXZXZXnXnXnXLXLXNXJXvXBXDXBXBXBXBXDXDXDXDXLXDXLXLXFXFXFXFXCXCXCXCXGXGXGXGXGXGXGXGX ",
+" "};
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_window_16.gif
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_window_16.gif?rev=798003&view=auto
==============================================================================
Binary file - no diff available.
Propchange: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_window_16.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_window_32.gif
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_window_32.gif?rev=798003&view=auto
==============================================================================
Binary file - no diff available.
Propchange: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/icons/alt_window_32.gif
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/plugin.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/plugin.xml?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/plugin.xml (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/plugin.xml Sun Jul 26 23:26:49 2009
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<!--
+ ~ 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.
+-->
+<plugin>
+
+ <extension
+ id="application"
+ point="org.eclipse.core.runtime.applications">
+ <application>
+ <run
+ class="echo.stateless.client.Application">
+ </run>
+ </application>
+ </extension>
+ <extension
+ point="org.eclipse.ui.perspectives">
+ <perspective
+ name="RCP Perspective"
+ class="echo.stateless.client.Perspective"
+ id="echo.stateless.client.perspective">
+ </perspective>
+ </extension>
+
+</plugin>
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/pom.xml?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/pom.xml (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/pom.xml Sun Jul 26 23:26:49 2009
@@ -0,0 +1,108 @@
+<!--
+ ~ 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.
+-->
+<!-- $Rev: 577554 $ $Date: 2007-09-20 06:35:12 +0100 (Thu, 20 Sep 2007) $ -->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>echo.stateless.client</artifactId>
+ <packaging>jar</packaging>
+ <name>${artifactId}</name>
+ <parent>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>eclipse-plugins-examples</artifactId>
+ <version>1.0.0.beta-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.xml</include>
+ <include>about.html</include>
+ <include>plugin.properties</include>
+ <include>plugin_*.properties</include>
+ </includes>
+ </resource>
+ <resource>
+ <targetPath>META-INF</targetPath>
+ <directory>META-INF</directory>
+ <includes>
+ <include>MANIFEST.MF</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>buildfiles</directory>
+ <targetPath>buildfiles</targetPath>
+ <includes>
+ <include>*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>lib</directory>
+ <targetPath>lib</targetPath>
+ <includes>
+ <include>*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>icons</directory>
+ <targetPath>icons</targetPath>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>servers</directory>
+ <targetPath>servers</targetPath>
+ <includes>
+ <include>*</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.geronimo.devtools</groupId>
+ <artifactId>maven-eclipsepde-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>org.apache.openejb.server</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>echo.stateless.bean</artifactId>
+ <version>${version}</version>
+ </dependency>
+ </dependencies>
+</project>
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Activator.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Activator.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Activator.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Activator.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,89 @@
+/*
+ * 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.
+ */
+
+package echo.stateless.client;
+
+import org.eclipse.core.runtime.Platform;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "echo.stateless.client";
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (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;
+ Bundle app = Platform.getBundle("echo.stateless.bean");
+ app.start();
+ }
+
+ /*
+ * (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 Activator getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Returns an image descriptor for the image file at the given plug-in
+ * relative path
+ *
+ * @param path
+ * the path
+ * @return the image descriptor
+ */
+ public static ImageDescriptor getImageDescriptor(String path) {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Application.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Application.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Application.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Application.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,71 @@
+/*
+ * 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.
+ */
+
+package echo.stateless.client;
+
+import org.eclipse.equinox.app.IApplication;
+import org.eclipse.equinox.app.IApplicationContext;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.PlatformUI;
+
+/**
+ * This class controls all aspects of the application's execution
+ */
+public class Application implements IApplication {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @seeorg.eclipse.equinox.app.IApplication#start(org.eclipse.equinox.app.
+ * IApplicationContext)
+ */
+ public Object start(IApplicationContext context) throws Exception {
+ EchoClient client = new EchoClient();
+ System.out.println(client.echo("Hello World"));
+ Display display = PlatformUI.createDisplay();
+ try {
+ int returnCode = PlatformUI.createAndRunWorkbench(display,
+ new ApplicationWorkbenchAdvisor());
+ if (returnCode == PlatformUI.RETURN_RESTART)
+ return IApplication.EXIT_RESTART;
+ else
+ return IApplication.EXIT_OK;
+ } finally {
+ display.dispose();
+ }
+
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.equinox.app.IApplication#stop()
+ */
+ public void stop() {
+ final IWorkbench workbench = PlatformUI.getWorkbench();
+ if (workbench == null)
+ return;
+ final Display display = workbench.getDisplay();
+ display.syncExec(new Runnable() {
+ public void run() {
+ if (!display.isDisposed())
+ workbench.close();
+ }
+ });
+ }
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationActionBarAdvisor.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationActionBarAdvisor.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationActionBarAdvisor.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationActionBarAdvisor.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,37 @@
+/*
+ * 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.
+ */
+
+package echo.stateless.client;
+
+import org.eclipse.jface.action.IMenuManager;
+import org.eclipse.ui.IWorkbenchWindow;
+import org.eclipse.ui.application.ActionBarAdvisor;
+import org.eclipse.ui.application.IActionBarConfigurer;
+
+public class ApplicationActionBarAdvisor extends ActionBarAdvisor {
+
+ public ApplicationActionBarAdvisor(IActionBarConfigurer configurer) {
+ super(configurer);
+ }
+
+ protected void makeActions(IWorkbenchWindow window) {
+ }
+
+ protected void fillMenuBar(IMenuManager menuBar) {
+ }
+
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchAdvisor.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchAdvisor.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchAdvisor.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchAdvisor.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,36 @@
+/*
+ * 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.
+ */
+
+package echo.stateless.client;
+
+import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
+import org.eclipse.ui.application.WorkbenchAdvisor;
+import org.eclipse.ui.application.WorkbenchWindowAdvisor;
+
+public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
+
+ private static final String PERSPECTIVE_ID = "echo.stateless.client.perspective";
+
+ public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(
+ IWorkbenchWindowConfigurer configurer) {
+ return new ApplicationWorkbenchWindowAdvisor(configurer);
+ }
+
+ public String getInitialWindowPerspectiveId() {
+ return PERSPECTIVE_ID;
+ }
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchWindowAdvisor.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchWindowAdvisor.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchWindowAdvisor.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/ApplicationWorkbenchWindowAdvisor.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,45 @@
+/*
+ * 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.
+ */
+
+package echo.stateless.client;
+
+import org.eclipse.swt.graphics.Point;
+import org.eclipse.ui.application.ActionBarAdvisor;
+import org.eclipse.ui.application.IActionBarConfigurer;
+import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
+import org.eclipse.ui.application.WorkbenchWindowAdvisor;
+
+public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
+
+ public ApplicationWorkbenchWindowAdvisor(
+ IWorkbenchWindowConfigurer configurer) {
+ super(configurer);
+ }
+
+ public ActionBarAdvisor createActionBarAdvisor(
+ IActionBarConfigurer configurer) {
+ return new ApplicationActionBarAdvisor(configurer);
+ }
+
+ public void preWindowOpen() {
+ IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
+ configurer.setInitialSize(new Point(400, 300));
+ configurer.setShowCoolBar(false);
+ configurer.setShowStatusLine(false);
+ configurer.setTitle("Echo Stateless Application");
+ }
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/EchoClient.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/EchoClient.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/EchoClient.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/EchoClient.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,47 @@
+/*
+ * 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.
+ */
+
+package echo.stateless.client;
+
+import java.util.Properties;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+import echo.stateless.bean.EchoServer;
+
+public class EchoClient {
+
+ private EchoServer server;
+
+ public EchoClient() {
+ try {
+ Properties p = new Properties();
+ p.put(Context.INITIAL_CONTEXT_FACTORY,
+ "org.apache.openejb.client.LocalInitialContextFactory");
+ InitialContext initialContext = new InitialContext(p);
+ server = (EchoServer) initialContext.lookup("EchoServerBeanRemote");
+ } catch (NamingException e) {
+ server = null;
+ }
+ }
+
+ public String echo(String message) {
+ return server.echo(message);
+ }
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Perspective.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Perspective.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Perspective.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.client/src/echo/stateless/client/Perspective.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,27 @@
+/*
+ * 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.
+ */
+
+package echo.stateless.client;
+
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+
+public class Perspective implements IPerspectiveFactory {
+
+ public void createInitialLayout(IPageLayout layout) {
+ }
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/META-INF/MANIFEST.MF?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/META-INF/MANIFEST.MF (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/META-INF/MANIFEST.MF Sun Jul 26 23:26:49 2009
@@ -0,0 +1,13 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Client Plug-in
+Bundle-SymbolicName: echo.stateless.simple.client;singleton:=true
+Bundle-Version: 1.0.0.beta
+Bundle-Activator: org.superbiz.echo.client.Activator
+Bundle-ActivationPolicy: lazy
+Import-Package: javax.naming,org.osgi.framework;version="1.3.0"
+Require-Bundle: org.eclipse.osgi,
+ echo.stateless.bean;bundle-version="1.0.0.beta",
+ org.apache.openejb.server;bundle-version="1.0.0.beta"
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/build.properties
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/build.properties?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/build.properties (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/build.properties Sun Jul 26 23:26:49 2009
@@ -0,0 +1,6 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .,\
+ target/classes/
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/pom.xml?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/pom.xml (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/pom.xml Sun Jul 26 23:26:49 2009
@@ -0,0 +1,114 @@
+<!--
+ ~ 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.
+-->
+<!-- $Rev: 577554 $ $Date: 2007-09-20 06:35:12 +0100 (Thu, 20 Sep 2007) $ -->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>echo.stateless.simple.client</artifactId>
+ <packaging>jar</packaging>
+ <name>${artifactId}</name>
+ <parent>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>eclipse-plugins-examples</artifactId>
+ <version>1.0.0.beta-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <build>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.xml</include>
+ <include>about.html</include>
+ <include>plugin.properties</include>
+ <include>plugin_*.properties</include>
+ </includes>
+ </resource>
+ <resource>
+ <targetPath>META-INF</targetPath>
+ <directory>META-INF</directory>
+ <includes>
+ <include>MANIFEST.MF</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>buildfiles</directory>
+ <targetPath>buildfiles</targetPath>
+ <includes>
+ <include>*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>lib</directory>
+ <targetPath>lib</targetPath>
+ <includes>
+ <include>*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>icons</directory>
+ <targetPath>icons</targetPath>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>servers</directory>
+ <targetPath>servers</targetPath>
+ <includes>
+ <include>*</include>
+ </includes>
+ </resource>
+ </resources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.geronimo.devtools</groupId>
+ <artifactId>maven-eclipsepde-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>org.apache.openejb.server</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>echo.stateless.bean</artifactId>
+ <version>${version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>osgi_R4_core</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+</project>
Added: openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/superbiz/echo/client/Activator.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/superbiz/echo/client/Activator.java?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/superbiz/echo/client/Activator.java (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/echo.stateless.simple.client/src/main/java/org/superbiz/echo/client/Activator.java Sun Jul 26 23:26:49 2009
@@ -0,0 +1,47 @@
+/*
+ * 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.
+ */
+package org.superbiz.echo.client;
+
+import java.util.Properties;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.superbiz.echo.ejb.EchoServer;
+
+public class Activator implements BundleActivator {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "echo.stateless.client";
+
+ public Activator() {
+ }
+
+ public void start(BundleContext context) throws Exception {
+ Properties p = new Properties();
+ p.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
+ InitialContext initialContext = new InitialContext(p);
+ EchoServer server = (EchoServer) initialContext.lookup("EchoServerBeanRemote");
+ server.echo("This is a test");
+ }
+
+ public void stop(BundleContext context) throws Exception {
+ }
+
+}
Added: openejb/trunk/openejb-eclipse-plugin/examples/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/examples/pom.xml?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/examples/pom.xml (added)
+++ openejb/trunk/openejb-eclipse-plugin/examples/pom.xml Sun Jul 26 23:26:49 2009
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ 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.
+ -->
+<!-- $Rev: 577554 $ $Date: 2007-09-20 06:35:12 +0100 (Thu, 20 Sep 2007) $ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>eclipse-plugins-examples</artifactId>
+ <packaging>pom</packaging>
+ <name>${artifactId}</name>
+ <parent>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>eclipse-plugins</artifactId>
+ <version>1.0.0.beta-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <inherited>false</inherited>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>.</directory>
+ <includes>
+ <include>.metadata</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <configuration>
+ <additionalProjectnatures>
+ <projectnature>org.eclipse.pde.PluginNature</projectnature>
+ </additionalProjectnatures>
+ <classpathContainers>
+ <classpathContainer>org.eclipse.pde.core.requiredPlugins</classpathContainer>
+ <classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
+ </classpathContainers>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.geronimo.devtools</groupId>
+ <artifactId>maven-eclipsepde-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>initialize</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>manifestbundles</goal>
+ <goal>install</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>validate-bundle-classpath</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>validatemanifest</goal>
+ </goals>
+ <configuration>
+ <classpathEntriesDir>lib</classpathEntriesDir>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestFile>${basedir}/META-INF/MANIFEST.MF</manifestFile>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <!-- workaround for bugzilla 147936 -->
+ <execution>
+ <id>backup</id>
+ <phase>process-sources</phase>
+ <configuration>
+ <tasks>
+ <copy file="${basedir}/.classpath" todir="${project.build.directory}" overwrite="false" failonerror="false" />
+ <copy file="${basedir}/.project" todir="${project.build.directory}" overwrite="false" failonerror="false" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>restore</id>
+ <phase>compile</phase>
+ <configuration>
+ <tasks>
+ <copy file="${project.build.directory}/.classpath" todir="${basedir}" overwrite="true" failonerror="false" />
+ <copy file="${project.build.directory}/.project" todir="${basedir}" overwrite="true" failonerror="false" />
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+
+ </execution>
+ <!-- /workaround -->
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>.</directory>
+ <includes>
+ <include>lib</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ <modules>
+ <module>echo.stateless.bean</module>
+ <module>echo.stateless.client</module>
+ <module>echo.stateless.simple.client</module>
+ </modules>
+</project>
Modified: openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/META-INF/MANIFEST.MF?rev=798003&r1=798002&r2=798003&view=diff
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/META-INF/MANIFEST.MF (original)
+++ openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/META-INF/MANIFEST.MF Sun Jul 26 23:26:49 2009
@@ -490,6 +490,7 @@
org.apache.neethi.builders.xml,
org.apache.neethi.util,
org.apache.openejb,
+ org.apache.openejb.api,
org.apache.openejb.asm,
org.apache.openejb.asm.commons,
org.apache.openejb.asm.signature,
@@ -704,7 +705,8 @@
lib/openejb-multicast-3.1.1.jar,
lib/xmlsec-1.4.0.jar,
lib/wss4j-1.5.4.jar,
- lib/opensaml-1.1.jar
+ lib/opensaml-1.1.jar,
+ lib/openejb-api-3.1.1.jar
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.core.variables
Bundle-Activator: org.apache.openejb.eclipse.OpenEjbPlugin
Modified: openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/pom.xml?rev=798003&r1=798002&r2=798003&view=diff
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/pom.xml (original)
+++ openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/pom.xml Sun Jul 26 23:26:49 2009
@@ -234,6 +234,11 @@
</artifactItem>
<artifactItem>
<groupId>org.apache.openejb</groupId>
+ <artifactId>openejb-api</artifactId>
+ <version>${openejb.version}</version>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.openejb</groupId>
<artifactId>openejb-server</artifactId>
<version>${openejb.version}</version>
</artifactItem>
Modified: openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/java/org/apache/openejb/eclipse/OpenEjbPlugin.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/java/org/apache/openejb/eclipse/OpenEjbPlugin.java?rev=798003&r1=798002&r2=798003&view=diff
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/java/org/apache/openejb/eclipse/OpenEjbPlugin.java (original)
+++ openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/java/org/apache/openejb/eclipse/OpenEjbPlugin.java Sun Jul 26 23:26:49 2009
@@ -41,7 +41,8 @@
public OpenEjbPlugin() {
super();
manager = VariablesPlugin.getDefault().getStringVariableManager();
- addPropertyVariables(System.getProperties());
+ Properties properties = new Properties(System.getProperties());
+ addPropertyVariables(properties);
plugin = this;
}
Added: openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/resources/META-INF/openejb.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/resources/META-INF/openejb.xml?rev=798003&view=auto
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/resources/META-INF/openejb.xml (added)
+++ openejb/trunk/openejb-eclipse-plugin/plugins/org.apache.openejb.server/src/main/resources/META-INF/openejb.xml Sun Jul 26 23:26:49 2009
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openejb />
Modified: openejb/trunk/openejb-eclipse-plugin/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb-eclipse-plugin/pom.xml?rev=798003&r1=798002&r2=798003&view=diff
==============================================================================
--- openejb/trunk/openejb-eclipse-plugin/pom.xml (original)
+++ openejb/trunk/openejb-eclipse-plugin/pom.xml Sun Jul 26 23:26:49 2009
@@ -338,6 +338,7 @@
<module>plugins</module>
<module>features</module>
<module>pde-test</module>
+ <module>examples</module>
<module>assembly</module>
</modules>