You might find this blog entry useful -
http://blogs.sun.com/alexismp/entry/different_strategies_for_building_different
What you are asking is quite doable, except for the scripting part as IPS/pkg(5) doesn't support that.
-Alexis
On 23 juil. 2010, at 18:27, glassfish_at_javadesktop.org wrote:
> On deeper digging I'm not sure I see a way of pluggin in >my own< package to the update mechanism...
>
> Simplest: Push my own WAR
> Ideal: Push a package that has some logic (script things like - stop app, backup database, install new software, etc..)
> [Message sent by forum member 'aloleary']
>
> http://forums.java.net/jive/thread.jspa?messageID=478415
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>