Commit Graph

93 Commits

Author SHA1 Message Date
R. Tyler Croy aba9b2f234
Upgrade to the latest released version of JRuby/Gradle core 2015-08-10 09:00:35 -07:00
R. Tyler Croy dce2c36021
Upgrade to Gradle 2.6 for development 2015-08-10 08:58:48 -07:00
R. Tyler Croy 352d44b34b
Properly make use of JRubyExecTraits API to run our environment and prepare dependencies
Fixes #4
Fixes #7
2015-07-30 07:35:14 -07:00
R. Tyler Croy 3f39e00e95
WIP checkpointing some refactoring and structuring around the JRubyStorm task 2015-07-28 05:19:21 -07:00
R. Tyler Croy cc53f8d734
Start adding an example to represent the ideal configuration DSL 2015-07-27 08:26:28 -07:00
R. Tyler Croy 1680405ce3
Only attempt to grab the specified jruby-gradle plugins 2015-07-27 08:16:15 -07:00
R. Tyler Croy cc4b707d1d
Start relocating basic topology jar functionality into JRubyStorm class
This will make it easier to move over to JRubyJar soon

References #6, #8
2015-07-27 08:01:21 -07:00
R. Tyler Croy d0cf8246a6
Move JRubyStormLocal to inherit from JRubyExec
This means that we will have the same dependency management behavior and
classpaths as we have in JRubyExec, which should fix up #7

Fixes #7
2015-07-27 07:59:17 -07:00
R. Tyler Croy 611a52820f
Support modifying the version of redstorm included as well
References #3
2015-07-27 00:03:50 -07:00
R. Tyler Croy 6aa1174faf
Add an extension to the Gradle project which allows for configuring the Storm version
Since this is only used for running local topologies, we're just adding it to
the jrubyStormLocal configuration

Fixes #3
2015-07-26 23:50:31 -07:00
R. Tyler Croy 072210343f
Introduce codenarc to keep this groovy tidy 2015-07-26 22:41:25 -07:00
R. Tyler Croy 28756c36c4
Disable the creation of a JRuby-specific jar and remove the BC dependency
The BC version being included was an artifact from using older versions of
jruby-complete (pre 1.7.20), see 5d59833e998ceed24e0805e09d36897de770838f

The fact that this doesn't fail any tests is a problem :)
2015-07-26 22:31:55 -07:00
R. Tyler Croy e72eb82b60
Upgrade to the latest JRuby/Gradle plugins as compile/runtime dependnecies
References #8
2015-07-26 22:24:10 -07:00
R. Tyler Croy 66e6764c59
Introduce the gradleTest plugin (yet unused) for testing on different Gradles 2015-07-26 22:19:14 -07:00
R. Tyler Croy cbf75ebf19
Add travis.yml so we can start testing properly again
This commit also updates the README but that's like, whatever man
2015-07-26 22:06:18 -07:00
R. Tyler Croy e15c36bbb6
Upgrade the build.gradle to be a bit cleaner for 0.2.0
Now that I know a lot more about what I'm doing with Gradle, this can be
cleaned up a bit
2015-07-26 22:06:18 -07:00
R. Tyler Croy d85620590d Schalk says I should use Gradle 2 for maximum compatibility 2015-04-22 08:24:49 -07:00
R. Tyler Croy 115bd7b087 Version bump for release 2014-11-17 20:19:07 -08:00
R. Tyler Croy 7028b6cc8f Revert "Remove bolts/ from the default topology jar"
Turns out this is kind of useful, whoops

This reverts commit fce4bb3488.
2014-11-17 20:10:02 -08:00
R. Tyler Croy fce4bb3488 Remove bolts/ from the default topology jar 2014-11-15 08:46:19 -08:00
R. Tyler Croy 72911dd80a Ensure the bouncycastle dependency is included in storm topologies so JRuby can run effectively 2014-11-15 08:45:13 -08:00
R. Tyler Croy a117c95401 Upgrade the base dependency to 0.1.8 which includes many newer fixes 2014-11-15 08:35:14 -08:00
R. Tyler Croy f15caeca6f Upgrade the jrubyStormLocal dependency on storm-core 0.9.2-incubating by default
0.9.2 includes many fixes/improvements and is API incompatible with 0.9.1. The
only requirement that we have for 0.9.1 anymore is on storm topology
deployment, everywhere else we should rely on 0.9.2 if possible

This resolves some frustrating issues with incompatibilities with zookeeper and
curator dependencies underneath storm-kafka 0.9.2-incubating. If you've seen
"cannot initialize class `backtype.storm.LocalCluster` then that means that ZK
dependencies are somehow incorrect in the classpath causing the LocalCluster
class, which is defined in Clojure, to fail to get created. Cute error
2014-11-04 06:08:09 -08:00
R. Tyler Croy 18a5900993 Upgrade our jruby-gradle-plugin dependency to 0.1.5 to include recent fixes
Most notable the binstubs fixes, but there were afew others that we might as
well pull in as the new baseline for the storm plugin
2014-11-04 06:02:26 -08:00
R. Tyler Croy 06399c52bf Add some examples in the readme 2014-10-23 10:34:42 -07:00
R. Tyler Croy 7582268dbc Fix some bintray metadata for inclusion in the gradle plugins repo 2014-10-23 10:07:19 -07:00
R. Tyler Croy 6b79ea00d2 Remove sample/concept topology 2014-10-22 15:58:13 -07:00
R. Tyler Croy 5d173bfd6d asPath isn't necessary and can cause problems with path lengths on OS X
See <https://gist.github.com/rtyler/e026eb127c36be9cd180>
2014-10-22 15:28:01 -07:00
R. Tyler Croy ddb39f0019 JRubyStormLocal should depend on the jrubyPrepare task to set up gems 2014-10-22 15:26:10 -07:00
R. Tyler Croy 29c85e7091 Set the right GEM_HOME/GEM_PATH for loading gems in the local topology
Fixes #1
2014-10-22 14:42:45 -07:00
R. Tyler Croy 8cd3e8ce66 Rely on shadowJar for unzipping dependencies into the jar instead of doing it manually 2014-10-22 14:01:53 -07:00
R. Tyler Croy ece8b5f9eb Exclude jar signing keys when we're creating the shadow jar 2014-10-22 13:19:31 -07:00
R. Tyler Croy 24af77c088 Refactor the work into a shadowJar backed JRubyStorm task, and JavaExec-based JRubyStormLocal 2014-10-22 12:00:42 -07:00
R. Tyler Croy 0bad940e5e Restructure the jrubyStorm* configurations to ensure topology jars don't have storm in them
We only need storm-core on the classpath for running the local topology, it
definitely shouldn't be embedded in the topology jars
2014-10-21 17:34:50 -07:00
R. Tyler Croy 8086c89ac4 Refactor the localTest task for running a local topology with just redstorm in the classpath
Look mah, no compilation!
2014-10-21 15:53:48 -07:00
R. Tyler Croy 562a0f5828 Hacking the proof of concept into build.gradle, needs to be pulled out still 2014-10-20 11:12:20 -07:00
R. Tyler Croy 9574db5874 Bump the default version to 2.1 2014-10-20 11:10:25 -07:00
R. Tyler Croy dfe50ccb9c Bring basic for JRubyStorm(Jar) tasks and basic plugin machinery 2014-09-16 17:42:20 -07:00
R. Tyler Croy 634acd4527 Add the chat and build links to the README 2014-09-16 16:13:51 -07:00
R. Tyler Croy aba70f3a3b Add a simple build.gradle file
This declares dependencies on the jruby-gradle and jruby-gradle-jar-plugin, the
latter of which I'm not entirely, but fairly, certain will be needed as a
dependency
2014-09-16 15:56:00 -07:00
R. Tyler Croy 0e26f93964 Add gradle wrappers 2014-09-16 15:18:19 -07:00
R. Tyler Croy 63b81a80e4 Properly copyright this work 2014-09-16 15:17:41 -07:00
R. Tyler Croy bde3ab0e89 Initial commit 2014-09-16 15:03:56 -07:00