summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-04-12 03:52:48 (EDT)
committerEike Stepper2008-04-12 03:52:48 (EDT)
commitc27b6ef877bb5e7b7cd9d75fa28f10c9e0564f20 (patch)
tree895d6db4c2cc4fed3b4c7a51aedb222fa27dedfd
parent9676c7f945f2fdba3d809eeacb6147bbe69e627a (diff)
downloadcdo-c27b6ef877bb5e7b7cd9d75fa28f10c9e0564f20.zip
cdo-c27b6ef877bb5e7b7cd9d75fa28f10c9e0564f20.tar.gz
cdo-c27b6ef877bb5e7b7cd9d75fa28f10c9e0564f20.tar.bz2
[226793] Provide an ECHOProtocol example
https://bugs.eclipse.org/bugs/show_bug.cgi?id=226793
-rw-r--r--plugins/org.eclipse.net4j.examples/build.properties3
-rw-r--r--plugins/org.eclipse.net4j.examples/plugin.xml16
2 files changed, 18 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.examples/build.properties b/plugins/org.eclipse.net4j.examples/build.properties
index e362141..1ec3548 100644
--- a/plugins/org.eclipse.net4j.examples/build.properties
+++ b/plugins/org.eclipse.net4j.examples/build.properties
@@ -22,4 +22,5 @@ bin.includes = META-INF/,\
about.ini,\
about.mappings,\
about.properties,\
- modeling32.png
+ modeling32.png,\
+ plugin.xml
diff --git a/plugins/org.eclipse.net4j.examples/plugin.xml b/plugins/org.eclipse.net4j.examples/plugin.xml
new file mode 100644
index 0000000..cfc29e0
--- /dev/null
+++ b/plugins/org.eclipse.net4j.examples/plugin.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+
+ <extension point="org.eclipse.net4j.util.factories">
+ <factory
+ class="org.eclipse.net4j.examples.echo.server.EchoServerProtocol$Factory"
+ productGroup="org.eclipse.net4j.serverProtocols"
+ type="echo"/>
+ <factory
+ class="org.eclipse.net4j.examples.echo.client.EchoClientProtocol$Factory"
+ productGroup="org.eclipse.net4j.clientProtocols"
+ type="echo"/>
+ </extension>
+
+</plugin>