Skip to content

Instantly share code, notes, and snippets.

@jetztgradnet
Created January 18, 2011 09:41
Show Gist options
  • Save jetztgradnet/784211 to your computer and use it in GitHub Desktop.
Save jetztgradnet/784211 to your computer and use it in GitHub Desktop.
Define all dependencies for groovyx.osgi.runtime using Grape
// these are necessary for current version (3.6.1) of Equinox
@GrabResolver(name='ebrRelease', root='http://repository.springsource.com/maven/bundles/release')
@GrabResolver(name='ebrExternal', root='http://repository.springsource.com/maven/bundles/external')
@GrabResolver(name='githubJetztgradNet', root='https://github.com/jetztgradnet/repository/raw/master')
@Grapes([
@GrabConfig(systemClassLoader=true),
@Grab(group='groovyx.osgi', module='groovyx.osgi.runtime', version='0.1'),
@Grab(group='org.eclipse.osgi', module='org.eclipse.osgi', version='3.6.1.R36x_v20100806'),
@Grab(group='org.apache.commons', module='com.springsource.org.apache.commons.logging', version='1.1.1')
])
import groovyx.osgi.runtime.OsgiRuntimeBuilder
OsgiRuntimeBuilder.run {
// ... configure OSGi environment
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment