• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unix Process Execution Status

 
Ranch Hand
Posts: 225
IBM DB2 Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

     
    author
    Posts: 5856
    7
    Android Eclipse IDE Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic