[izpack-users] Feature Request - Scripting Languages for custom actions
Matthew Inger
mattinger at gmail.com
Fri Dec 28 19:46:38 CET 2007
Yes, i agree on point #1. However, i'm a little unsure of how we could
force the compiler
to package up something like the groovy/ruby/beanshell jars into the
installer if someone
used that installer listener. I guess a corresponding compiler listener
might be the appropriate
place, but i'm not sure. I can very easily supply code which would
integrate the groovy
script language (the bindings are very easy to do). It's the IzPack glue
itself that would
take me the most time (as i assume would be the case with other dynamic
scripting
languages as well).
GroovyClassLoader classLoader = new GroovyClassLoader(
this.class.getClassLoader());
Class scriptClass = classLoader.parseClass(new
InputStream(scriptInputStream));
Object scriptObject = scriptClass.newInstance();
More information about the izpack-users
mailing list