Skip to content

Commit

Permalink
added groovyx-osgi project
Browse files Browse the repository at this point in the history
  • Loading branch information
jetztgradnet committed Oct 11, 2010
1 parent 611e05e commit 3dde1da
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 0 deletions.
21 changes: 21 additions & 0 deletions groovyx-osgi/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>

<classpath>
<classpathentry kind="src" path="src/main/groovy"/>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="output" path="build/classes/main"/>
<classpathentry kind="src" path="src/test/groovy" output="build/classes/test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/antlr/antlr/jars/antlr-2.7.7.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/asm/asm-analysis/jars/asm-analysis-3.2.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/asm/asm-commons/jars/asm-commons-3.2.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/asm/asm-tree/jars/asm-tree-3.2.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/asm/asm-util/jars/asm-util-3.2.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/asm/asm/jars/asm-3.2.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/org.apache.commons/com.springsource.org.apache.commons.logging/jars/com.springsource.org.apache.commons.logging-1.1.1.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/org.apache.ivy/ivy/jars/ivy-2.1.0.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/org.codehaus.groovy/groovy/jars/groovy-1.7.5.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/org.eclipse.osgi/org.eclipse.osgi/jars/org.eclipse.osgi-3.6.0.v20100517.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/org.osgi/org.osgi.compendium/jars/org.osgi.compendium-4.2.0.jar"/>
<classpathentry kind="lib" path="/Users/wolfgang/.gradle/cache/org.osgi/org.osgi.core/jars/org.osgi.core-4.2.0.jar"/>
</classpath>
2 changes: 2 additions & 0 deletions groovyx-osgi/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/

17 changes: 17 additions & 0 deletions groovyx-osgi/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>

<projectDescription>
<name>groovyx-osgi</name>
<comment/>
<projects/>
<natures>
<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
</buildCommand>
</buildSpec>
</projectDescription>
15 changes: 15 additions & 0 deletions groovyx-osgi/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright 2009-2010 Wolfgang Schell
*
* Licensed 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.
*/
12 changes: 12 additions & 0 deletions groovyx-osgi/README.textile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
h1. Groovy OSGi module

h2. About

The Groovy OSGi modules simplifies accessing and handling OSGi services and helps creating an OSGi runtime with a build-in DSL.

Additionally it is used by the Grails OSGi plugin.


h2. License

The OSGi plugin is released under the "Apache License 2.0":http://apache.org/licenses/LICENSE-2.0.txt.
27 changes: 27 additions & 0 deletions groovyx-osgi/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apply plugin:'java'
apply plugin:'groovy'
apply plugin:'osgi'
apply plugin:'eclipse'

defaultTasks 'build'

dependencies {
compile group: 'org.osgi', name: 'org.osgi.core', version: '4.2.0'
compile group: 'org.osgi', name: 'org.osgi.compendium', version: '4.2.0'
compile group: 'org.apache.commons', name: 'com.springsource.org.apache.commons.logging', version: '1.1.1'
groovy (group: 'org.codehaus.groovy', name: 'groovy', version: '1.7.5') {
//transitive = false
exclude module: 'jansi'
}
testCompile group: 'org.junit', name: 'junit', version: '4.8.2'
}

jar {
manifest {
//symbolicName = 'groovyx-osgi'
instruction 'Export-Package', 'groovyx.osgi.*'
instruction 'Import-Package', '*'
instruction 'Bundle-Vendor', 'JetztGrad.net'
//instruction 'Bundle-Activator', 'org.codehaus.groovy.osgi.TestActivator'
}
}
5 changes: 5 additions & 0 deletions groovyx-osgi/src/main/groovy/groovyx/osgi/OsgiCategory.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package groovyx.osgi

class OsgiCategory {

}

0 comments on commit 3dde1da

Please sign in to comment.