|
From: <ri...@us...> - 2007-03-07 08:53:47
|
Revision: 112
http://techne-dev.svn.sourceforge.net/techne-dev/?rev=112&view=rev
Author: rickles
Date: 2007-03-07 00:53:49 -0800 (Wed, 07 Mar 2007)
Log Message:
-----------
Checked in prototype
Added Paths:
-----------
prototype/org.digivitality.techne.service/
prototype/org.digivitality.techne.service/.classpath
prototype/org.digivitality.techne.service/.project
prototype/org.digivitality.techne.service/bin/
prototype/org.digivitality.techne.service/build.xml
prototype/org.digivitality.techne.service/classes/
prototype/org.digivitality.techne.service/classes/META-INF/
prototype/org.digivitality.techne.service/classes/META-INF/Manifest.mf
prototype/org.digivitality.techne.service/classes/org/
prototype/org.digivitality.techne.service/classes/org/digivitality/
prototype/org.digivitality.techne.service/classes/org/digivitality/techne/
prototype/org.digivitality.techne.service/classes/org/digivitality/techne/service/
prototype/org.digivitality.techne.service/classes/org/digivitality/techne/service/Activator.class
prototype/org.digivitality.techne.service/org.digivitality.techne.service-1.0.0.jar
prototype/org.digivitality.techne.service/src/
prototype/org.digivitality.techne.service/src/META-INF/
prototype/org.digivitality.techne.service/src/META-INF/Manifest.mf
prototype/org.digivitality.techne.service/src/org/
prototype/org.digivitality.techne.service/src/org/digivitality/
prototype/org.digivitality.techne.service/src/org/digivitality/techne/
prototype/org.digivitality.techne.service/src/org/digivitality/techne/service/
prototype/org.digivitality.techne.service/src/org/digivitality/techne/service/Activator.java
Added: prototype/org.digivitality.techne.service/.classpath
===================================================================
--- prototype/org.digivitality.techne.service/.classpath (rev 0)
+++ prototype/org.digivitality.techne.service/.classpath 2007-03-07 08:53:49 UTC (rev 112)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry sourcepath="C:/Workspace/Projects/JAVA/ApacheFelix" kind="lib" path="/org.digivitality.techne.core/lib/felix.jar"/>
+ <classpathentry kind="lib" path="/org.digivitality.techne.core/lib/commons-logging-1.0.4.jar"/>
+ <classpathentry kind="lib" path="/org.digivitality.techne.core/lib/org.apache.felix.main-0.9.0-incubator-SNAPSHOT.jar"/>
+ <classpathentry kind="output" path="classes"/>
+</classpath>
Added: prototype/org.digivitality.techne.service/.project
===================================================================
--- prototype/org.digivitality.techne.service/.project (rev 0)
+++ prototype/org.digivitality.techne.service/.project 2007-03-07 08:53:49 UTC (rev 112)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.digivitality.techne.service</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Added: prototype/org.digivitality.techne.service/build.xml
===================================================================
--- prototype/org.digivitality.techne.service/build.xml (rev 0)
+++ prototype/org.digivitality.techne.service/build.xml 2007-03-07 08:53:49 UTC (rev 112)
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="org.digivitality.techne.service" default="all" basedir=".">
+ <property name="classes.dir" value="classes"/>
+ <property name="src.dir" value="src"/>
+ <property name="lib.dir" value="lib"/>
+ <property name="metainf.dir" value="${src.dir}/META-INF"/>
+ <property name="version" value="1.0.0"/>
+ <property name="techne.core" value="../org.digivitality.techne.core"/>
+ <property name="deploy.dir" value="${techne.core}/bin/load"/>
+
+ <target name="init">
+ <mkdir dir="${metainf.dir}"/>
+ </target>
+
+ <!-- Create the bundle. -->
+ <target name="jar" depends="init">
+ <manifest file="${metainf.dir}/Manifest.mf">
+ <attribute name="Manifest-Version" value="1.0"/>
+ <attribute name="Bundle-ManifestVersion" value="2"/>
+ <attribute name="Bundle-Name" value="Techne Service Plugin"/>
+ <attribute name="Bundle-SymbolicName" value="org.digivitality.techne.service"/>
+ <attribute name="Bundle-Version" value="1.0.0"/>
+ <attribute name="Bundle-Activator" value="org.digivitality.techne.service.Activator"/>
+ <attribute name="Import-Package" value="org.osgi.framework,org.apache.felix.shell,org.apache.commons.logging"/>
+ </manifest>
+ <jar jarfile="${ant.project.name}-${version}.jar"
+ basedir="${classes.dir}"
+ manifest="${metainf.dir}/Manifest.mf">
+ <include name="**/*"/>
+ </jar>
+ </target>
+
+ <target name="deploy">
+ <copy todir="${deploy.dir}">
+ <fileset dir="${basedir}" includes="*.jar"/>
+ </copy>
+ </target>
+
+ <target name="all" depends="init">
+ <antcall target="clean"/>
+ <antcall target="jar"/>
+ <antcall target="deploy"/>
+ </target>
+
+ <!-- Clean up everything. -->
+ <target name="clean">
+ <delete>
+ <fileset dir="${metainf.dir}"/>
+ <fileset dir="${deploy.dir}">
+ <include name="${ant.project.name}-${version}.jar"/>
+ </fileset>
+ </delete>
+ </target>
+</project>
Added: prototype/org.digivitality.techne.service/classes/META-INF/Manifest.mf
===================================================================
--- prototype/org.digivitality.techne.service/classes/META-INF/Manifest.mf (rev 0)
+++ prototype/org.digivitality.techne.service/classes/META-INF/Manifest.mf 2007-03-07 08:53:49 UTC (rev 112)
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.5
+Created-By: 1.5.0_07-b03 (Sun Microsystems Inc.)
+Bundle-ManifestVersion: 2
+Bundle-Name: Techne Service Plugin
+Bundle-SymbolicName: org.digivitality.techne.service
+Bundle-Version: 1.0.0
+Bundle-Activator: org.digivitality.techne.service.Activator
+Import-Package: org.osgi.framework,org.apache.felix.shell,org.apache.c
+ ommons.logging
+
Added: prototype/org.digivitality.techne.service/classes/org/digivitality/techne/service/Activator.class
===================================================================
(Binary files differ)
Property changes on: prototype/org.digivitality.techne.service/classes/org/digivitality/techne/service/Activator.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: prototype/org.digivitality.techne.service/org.digivitality.techne.service-1.0.0.jar
===================================================================
(Binary files differ)
Property changes on: prototype/org.digivitality.techne.service/org.digivitality.techne.service-1.0.0.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: prototype/org.digivitality.techne.service/src/META-INF/Manifest.mf
===================================================================
--- prototype/org.digivitality.techne.service/src/META-INF/Manifest.mf (rev 0)
+++ prototype/org.digivitality.techne.service/src/META-INF/Manifest.mf 2007-03-07 08:53:49 UTC (rev 112)
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.5
+Created-By: 1.5.0_07-b03 (Sun Microsystems Inc.)
+Bundle-ManifestVersion: 2
+Bundle-Name: Techne Service Plugin
+Bundle-SymbolicName: org.digivitality.techne.service
+Bundle-Version: 1.0.0
+Bundle-Activator: org.digivitality.techne.service.Activator
+Import-Package: org.osgi.framework,org.apache.felix.shell,org.apache.c
+ ommons.logging
+
Added: prototype/org.digivitality.techne.service/src/org/digivitality/techne/service/Activator.java
===================================================================
--- prototype/org.digivitality.techne.service/src/org/digivitality/techne/service/Activator.java (rev 0)
+++ prototype/org.digivitality.techne.service/src/org/digivitality/techne/service/Activator.java 2007-03-07 08:53:49 UTC (rev 112)
@@ -0,0 +1,29 @@
+/**
+ *
+ */
+package org.digivitality.techne.service;
+
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+/**
+ * @author Rick Litton
+ *
+ */
+public class Activator implements BundleActivator {
+
+ protected BundleContext bc;
+ protected final Log logger = LogFactory.getLog(getClass());
+
+ public void start(BundleContext context) throws Exception {
+ logger.info("Starting the service bundle...");
+ }
+
+ public void stop(BundleContext context) throws Exception {
+ logger.info("Stopping the service bundle...");
+
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|