Yes, there is a commandline utility to install packages from an UC url.
The CLI command "pkg" allows you to download packages.
See:
http://wikis.sun.com/display/IpsBestPractices/Image+Packaging+System+Best+Practices
and
http://opensolaris.org/sc/src/pkg/gate/src/man/pkg.1.txt
This utility should be in the same directory as updatetool.
Vince Kraemer wrote:
> is there a commandline option for the updatetool that would let users
> avoid using the gui and/or have any interaction with the updatetool
> after they hit return....
>
> for example... say I know that I do not have the foobar module
> installed and I want to get it from a particular update center... is
> there something like
>
> updatetool get --ucurl http://uc.foobar.com/v3 --proxyhost
> host.a.com --proxyport 8080 foobar
>
> That would be very cool.
>
> it would also make it possible for an IDE to upgrade a server when the
> user attempts to deploy an application that leverages a "missing"
> container/module...
>
> right now the user needs to do the server update outside the IDE and
> it is a bit of a pain.
>
> Thanks,
> vbk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>