Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unix Process Execution Status

 
Ganesh Gowtham
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends ,

I have a scenario to auotmate couple of things like
  • Checkout the Code from CVS
  • build it
  • stop server and deploy the artifact generated by above task
  • start server again


  • My Question is

    I have to make sure "build it" should ONLY happends after the Checout happends ( like dependency)

    and moreover i have to deploy the code ONLY when the server completely shutdown

    Could someone shed light on this ?

    Thanks in advance

     
    Peter Johnson
    author
    Bartender
    Posts: 5852
    7
    Android Eclipse IDE Ubuntu
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Write an ant script to do this. Then use Hudson to monitor CVS and run the and script every time something changes in CVS.

    I should also add that when i write such scripts I never use an existing app server - I always create a new one from scratch and either remove it when i am done, or optionally leave it there (for possible manual testing) - the script will remove it the next time it runs before re-creating it.
     
    Ganesh Gowtham
    Ranch Hand
    Posts: 225
    IBM DB2 Eclipse IDE Spring
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Peter

    Thanks for kind reply

    I infact have separte scripts

    I just want to make dependency , so that none of them hapeends parlelly
     
    I agree. Here's the link: http://aspose.com/file-tools
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic