Mazz,
This sounds cool - I haven't followed the development of this - can
you talk about what you did to implement this:
https://jira.jboss.org/jira/browse/JOPR-39
https://jira.jboss.org/jira/browse/JOPR-37
I still need to write documentation.
Basically:
- the create ear/war in inventory got an option to select if a backup
should be
created. If so, the original file will be moved to <file>.bak and the
new one deployed
- to roll back I added an operation that first moves file to
<file>.tmp.bak and tries then
to move <file>.bak to <file>. If this fails it moves <file>.tmp.bak
back to <file>
Does this utilize the content subsystem in some way?
No - especially as the ear/war create is tied in the inventory and not
in the content subsystem.
Heiko
--
Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach bei
Muenchen
Handelsregister: Amtsgericht Muenchen HRB 153243
Geschaeftsfuehrer: Brendan Lane, Charlie Peters, Michael Cunningham,
Werner Knoblich