Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- FHTestWorkflow.scala 2012-06-14 16:15:20.921714103 -0400
- +++ blah.scala 2012-06-20 10:53:04.079141201 -0400
- @@ -12,5 +12,5 @@
- def createSteps(request: RequestTrait) = {
- var first = new FHFirst( "fh_first" )
- - var second = new FHSecond( "fh_second" )
- + var second = new FHSecond( "fh_second", first )
- second dependsOn first
- addRootSteps(first)
- @@ -28,10 +28,10 @@
- }
- -protected class FHSecond (stepName:String)
- +protected class FHSecond (stepName:String, first:FHFirst)
- extends FirehoseBaseTask(stepName) {
- def command: List[String] = {
- Log.info("FHSecond outputPath: " + outputPath("report.html"))
- - List("python", taskPath("script.py"), outputPath("report.html", task="fh_first"))
- + List("python", taskPath("script.py"), first.outputPath("report.html"))
- }
Add Comment
Please, Sign In to add comment