Commit Graph

17 Commits

Author SHA1 Message Date
R. Tyler Croy a505e9c5c8
Rely on our file path containing stormjar.jar in order to determine if we're ina supervisor
This is admittedly a bit hackish but I have yet to find any data at runtime
that indicates whether we're executing inside of a local mode (non jar) or
clustered mode other than this

Fixes #16
2015-09-11 15:18:25 -07:00
R. Tyler Croy 90defcd60f
Forgot to enable relaesing, using openjdk7 for that 2015-09-11 11:07:11 -07:00
R. Tyler Croy a0249a7d7a
Executing on a supervisor via a bolt/etc we must set up the embedded env properly
The main() function isn't going to be executed when the topology is sent over
to the cluster, redstorm/environment will be loaded properly on
supervisor-based execution however, so mucking with these globals there seems
like a reasonable approach

References #12
2015-09-11 10:53:21 -07:00
R. Tyler Croy 23b6fdd4e3
Use the uri:classloader:/ custom path for setting up JARS_HOME and $LOAD_PATH
This will help the submitted topology operate much more like an embedded JRuby
use-case thanks to the recent improvements that @mkristian has made in JRuby
core

Fixes #12
2015-09-09 13:14:42 -07:00
R. Tyler Croy 0734acdcb0
Use the idea plugin to generate an intellij project for myself 2015-09-09 13:14:42 -07:00
R. Tyler Croy 886c9d91de
Bump for minor release 2015-08-31 14:20:18 -07:00
R. Tyler Croy 5f104fd8c8
Bump minor version for the addition of named streams to the DSL 2015-08-28 09:18:23 -07:00
R. Tyler Croy 42b77a151a
Bump version for next dev cycle 2015-08-17 13:28:08 -07:00
R. Tyler Croy 27b59e2db1
Add support for auto-releasing from Travis CI pending a successful build 2015-08-17 11:14:09 -07:00
R. Tyler Croy e2f3a0ab4c
Adjust dependencies to express more lenient ranges of JRuby and jffi
This commit also includes lots of refactoring of the build.gradle to be a bit
cleaner and reflect some of my learnings since I originally wrote the file :)
2015-08-17 11:07:55 -07:00
R. Tyler Croy cd84b7f370 Ensure we're properly generating the generated/java directory before attempting compile JRuby code
Fixes #6
2014-11-15 09:24:51 -08:00
R. Tyler Croy 3833e56126 Refactor and document build.gradle so fellow Ruby-ists can follow it more easily 2014-11-02 09:29:45 -08:00
R. Tyler Croy a4e3bc6479 Dump exceptions that occur when loading a topology to stdout in the topology launcher
Fixes #3
2014-11-01 18:01:53 -07:00
R. Tyler Croy 5739610d91 Add the bintray plugin for releasing to bintray 2014-10-22 09:59:42 -07:00
R. Tyler Croy a56c54ef6b Target JDK7 for compatibility 2014-10-21 15:49:18 -07:00
R. Tyler Croy a3f4a6bb00 Add a simple `spec` task for running RSpecs (largely failing) from Gradle 2014-10-20 14:43:58 -07:00
R. Tyler Croy 41cb426076 Update the build.gradle to create a re-usable .jar file with redstorm Java and Ruby code 2014-10-20 14:18:55 -07:00