Skip to content

Commit

Permalink
initial add source to repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Baranowski committed Apr 9, 2012
0 parents commit 7a3d9df
Show file tree
Hide file tree
Showing 33 changed files with 7,301 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bnd.karaf.demo/.classpath
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
23 changes: 23 additions & 0 deletions bnd.karaf.demo/.project
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>bnd.karaf.demo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>bndtools.core.bndbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>bndtools.core.bndnature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions bnd.karaf.demo/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
6 changes: 6 additions & 0 deletions bnd.karaf.demo/bnd.bnd
@@ -0,0 +1,6 @@
-runproperties: karaf.home=/Users/developer/Downloads/apache-karaf-2.2.6
-runpath: bnd.karaf.launcher;version=1.0.0
Private-Package: demo
-buildpath: osgi.core;version=4.2.0.200908310645
Bundle-Activator: demo.Activator
-runfw: org.eclipse.osgi;version='[3.6.2.R36x_v20110210,3.6.2.R36x_v20110210]'
4 changes: 4 additions & 0 deletions bnd.karaf.demo/build.xml
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="project" default="build">
<import file="../cnf/build.xml"/>
</project>
18 changes: 18 additions & 0 deletions bnd.karaf.demo/src/demo/Activator.java
@@ -0,0 +1,18 @@
package demo;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public class Activator implements BundleActivator {

@Override
public void start(BundleContext context) throws Exception {
System.out.println("Start Demo Bundle.");
}

@Override
public void stop(BundleContext context) throws Exception {
System.out.println("Stop Demo Bundle.");
}

}
8 changes: 8 additions & 0 deletions bnd.karaf.launcher/.classpath
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
23 changes: 23 additions & 0 deletions bnd.karaf.launcher/.project
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>bnd.karaf.launcher</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>bndtools.core.bndbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>bndtools.core.bndnature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions bnd.karaf.launcher/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
8 changes: 8 additions & 0 deletions bnd.karaf.launcher/bnd.bnd
@@ -0,0 +1,8 @@
Bundle-SymbolicName: bnd.karaf.launcher
Bundle-Version: 1.0.1
Launcher-Plugin: bnd.karaf.launcher.plugin.KarafProjectLauncher
-buildpath: biz.aQute.bndlib;version=1.51.0,\
org.apache.karaf.main;version=2.2.6
Private-Package: bnd.karaf.launcher.plugin,\
bnd.karaf.launcher,\
org.apache.karaf.main
4 changes: 4 additions & 0 deletions bnd.karaf.launcher/build.xml
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="project" default="build">
<import file="../cnf/build.xml"/>
</project>

0 comments on commit 7a3d9df

Please sign in to comment.