diff options
Diffstat (limited to 'test/fixtures.py')
-rw-r--r-- | test/fixtures.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/fixtures.py b/test/fixtures.py index af4c145..7b032f1 100644 --- a/test/fixtures.py +++ b/test/fixtures.py @@ -26,9 +26,13 @@ class Fixture(object): # ./kafka-src/bin/kafka-run-class.sh is the authority. jars = ["."] - # assume all dependencies have been packaged into one jar with sbt-assembly's task "assembly-package-dependency" + # 0.8.0 build path, should contain the core jar and a deps jar jars.extend(glob.glob(cls.kafka_root + "/core/target/scala-%s/*.jar" % cls.scala_version)) + # 0.8.1 build path, should contain the core jar and several dep jars + jars.extend(glob.glob(cls.kafka_root + "/core/build/libs/*.jar")) + jars.extend(glob.glob(cls.kafka_root + "/core/build/dependant-libs-%s/*.jar" % cls.scala_version)) + jars = filter(os.path.exists, map(os.path.abspath, jars)) return ":".join(jars) |