This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/elasticbeanstalk/srv/hostmanager | |
/opt/elasticbeanstalk/srv/hostmanager/lib | |
/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk | |
/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager | |
/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/daemon | |
/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/daemon/logmonitor.rb | |
/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/daemon/logdirectorymonitor.rb | |
/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/daemon/catalinalogmonitor.rb | |
/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/utils.rb | |
/opt/elasticbeanstalk/srv/hostmanager/lib/elasticbeanstalk/hostmanager/tasks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.osgi.framework.BundleContext | |
def results = bundleContext.findServices(MyService).withEachService() { MyService srv -> | |
srv.doSomething() | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.List | |
import org.osgi.framework.BundleActivator; | |
import org.osgi.framework.BundleContext; | |
import org.osgi.framework.ServiceReference; | |
List<String> results = new ArrayList<String>(); | |
ServiceReference[] references = context.getServiceReferences(MyService.class.getName(), null); | |
for (int r = 0; r < references.length; r++) { | |
ServiceReference reference = references[r]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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') | |
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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') | |
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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') | |
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import grooxy.osgi.runtime.OsgiRuntimeBuilder | |
OsgiRuntimeBuilder.run { | |
framework 'equinox' | |
bundle 'mvn:org.apache.felix:org.apache.felix.configadmin:1.2.4' | |
bundle 'mvn:org.apache.felix:org.apache.felix.fileinstall:3.0.2' | |
console(8023) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# osgic: Scriptable Equinox console | |
# see osgic -h for help | |
# connects by default to localhost:8023 | |
SCRIPTNAME=`basename $0` | |
PORT= | |
HOST= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#export GRAILS_VERSION="$(ls -lhr $HOME/.grails | egrep -i '1\.' | head -1 | gawk '{print $9 }')" | |
export GRAILS_VERSION=`cat $GRAILS_HOME/build.properties | grep "^grails.version=" | awk -F= '{ print $2 }' | tr -d '\r' | tr -d '\n'` | |
_get_domain_classes(){ | |
find ./grails-app/domain -iname *.groovy 2> /dev/null | tr \\n ' ' | sed 's/\.groovy//g' | sed 's/\.\/grails-app\/domain\///g' | tr '/' \. | |
} | |
_get_tests(){ | |
find ./test -iname *.groovy 2> /dev/null | sed 's/\.\/test\/integration\///g' | sed 's/\Tests.groovy//g' | tr '/' \. | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# needs bash >= 3.2 for regex | |
jarfile= | |
file= | |
fileList= | |
verbose=0 | |
extract=0 | |
list=0 |
NewerOlder