Guest User

Untitled

a guest
Oct 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. --- FHTestWorkflow.scala 2012-06-14 16:15:20.921714103 -0400
  2. +++ blah.scala 2012-06-20 10:53:04.079141201 -0400
  3. @@ -12,5 +12,5 @@
  4. def createSteps(request: RequestTrait) = {
  5. var first = new FHFirst( "fh_first" )
  6. - var second = new FHSecond( "fh_second" )
  7. + var second = new FHSecond( "fh_second", first )
  8. second dependsOn first
  9. addRootSteps(first)
  10. @@ -28,10 +28,10 @@
  11. }
  12.  
  13. -protected class FHSecond (stepName:String)
  14. +protected class FHSecond (stepName:String, first:FHFirst)
  15. extends FirehoseBaseTask(stepName) {
  16.  
  17. def command: List[String] = {
  18. Log.info("FHSecond outputPath: " + outputPath("report.html"))
  19. - List("python", taskPath("script.py"), outputPath("report.html", task="fh_first"))
  20. + List("python", taskPath("script.py"), first.outputPath("report.html"))
  21. }
Add Comment
Please, Sign In to add comment