Type: New Feature
Affects Version/s: 1.1
Fix Version/s: 1.1
Security Level: public (Regular issues)
fedora core 2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Geronimo 1.0 branch,
Patch Info:Patch Available
Here's a prototype offline deploy tool. It has only one command, for offline distribution of applications. It's basically a clone of the online tool so it works in a similar way, but for the distribute-offline command it uses a hacked version of the packaging plugin's PackageBuilder class to start a kernel, load some configurations, and then call the deployer.
It has one serious bug at the moment: it doesn't switch between tomcat and jetty. Not sure why, but I can look into it more.
It has some missing features:
- it should get dependencies from somewhere (maybe download them from an online Maven repo)
- it should be able to manipulate config.xml
- it needs more commands (at least undistribute)
- it needs to allow the user to specify the config-store to write to
There's probably a lot of unused code there, too, since I haven't figured out what everything does yet. But it's a start.
You can use it like the online tool. The jar is $GERONIMO_HOME/bin/offline.jar.