[izpack-devel] Integrating Eclipse JDT Compiler

Tino Schwarze berlios.de at tisc.de
Tue Nov 28 13:34:04 CET 2006


On Mon, Nov 27, 2006 at 11:10:19AM -0800, Elmar Grom wrote:

> got think about this one, but there is a question about the basic motivation
> about this feature in the first place. I am not sure if I asked this at the
> time the feature was introduced. Anyway, try as I may I can't come up with a
> good reason why this would be needed. Since you have introduced it, I am
> sure you can give me an answer.

The original motivation was as follows: We build an installer from
several CVS modules. They have a directory structure like this:

module1/sources/java/com/...
module1/sources/jsp/...
module2/sources/java/com/...
module2/sources/jsp/...

and so on. The final installation has a totally different layout.
The contents of the modules are copied to several locations, e.g.

webroot/WEB-INF/classes/java/com/module1
webroot/jsp/module1
webroot/WEB-INF/classes/java/com/module2
webroot/jsp/module2

It is even more complicated than that. 

Initially there was no way to compile the sources before they were
installed by the installer. Therefore I developed the CompilePanel which
also allows the user to use a custom Java compiler. It also ensures that
all external depencies of the application are met (like a J2EE
application server and JAI). If it compiles upon installation, the
application will most probably work.

Bye,

Tino.

-- 
www.quantenfeuerwerk.de
www.spiritualdesign-chemnitz.de
www.lebensraum11.de



More information about the izpack-devel mailing list