I think adding a scripting module to geronimo would help a lot in this
area. Due to geronimo's GBean architecture adding such a module appears
to be a simple as writting the GBean wrapper(s) for whatever scripting
engine (say Jython or Groovy) you please. A simple implementation could,
for example, read a system property (say geronimo.start.script) and, if
this system property exists, run this script when the GBean starts. So
all you'll have to do to is start geronimo like so java -jar server.jar
-Dgeronimo.start.script=[path_to_script]. I think I could get a
prototype of this done in a couple of hours and submit it as a patch if
anyone is interested.
Thanks,
Sing Li (JIRA) wrote:
New users "buy-in" hampered by inability to automatically rebuild
sub-assemblies at runtime
-------------------------------------------------------------------------------------------
Key: GERONIMO-680
URL: http://issues.apache.org/jira/browse/GERONIMO-680
Project: Geronimo
Type: Improvement
Reporter: Sing Li
[snip]
--
Dondi Imperial
Software Engineer
Exist Software Labs
Penthouse I, Prestige Tower,
F. Ortigas Jr. Ave. (formerly Emerald Ave.),
Ortigas Center, Pasig City 1605
Philippines
+632.687.7653
www.exist.com