Cargo : Installer
This page last changed on Apr 26, 2005 by vmassol.
DefinitionInstalls a containerExplanationAn Installer is meant to install a container. There is currently only a single Installer implementation: ZipURLInstaller which downloads a zipped container distribution from a URL and which installs it (i.e. unpacks it) in a specified directory. This is useful if you wish to fully automate a container installation without having to ask the user to manually install a container on their machine.Of course you don't need to use an Installer and you can rely on the fact that whoever is using Cargo already has a container installed on his machine. ExampleInstaller installer = new ZipURLInstaller( "http://www.caucho.com/download/resin-3.0.9.zip", "target/installs"); installer.install(); Container container = new Resin3xContainer(); container.setHomeDir(installer.getHomeDir()); [...] |
![]() |
Document generated by Confluence on Apr 30, 2005 12:52 |