Announcement Announcement Module
Collapse
No announcement yet.
Installing and uninstalling a addon from a script file Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installing and uninstalling a addon from a script file

    Is it possible to install / uninstall a addon from a script file e.g.:

    deploy.roo:
    perform assembly
    addon uninstall old.zip
    addon install file:target/new.zip

    What happens now is that the restart performed immediately after uninstalling leaves the addon install instruction in a undefined state

  • #2
    Hmm, good point.

    In early unreleased versions I did indeed provide a way of stopping the restart operation from happening. I removed it for simplicity, but now I can see it's useful.

    I have just committed in SVN revision 472 this change and created Jira issue https://jira.springsource.org/browse/ROO-428 for it. The following now works against SVN trunk, and will in Roo 1.0.0.RC4 and above:

    Code:
    perform assembly
    addon uninstall old.zip --automaticRestart false
    addon install file:target/new.zip
    Thanks for the suggestion.

    Comment


    • #3
      awesome, thanks a lot :-)

      Comment

      Working...
      X