Le Mercredi, 12 fév 2003, à 10:12 Europe/Zurich, Stephan Michels a écrit :

...
+1, especially moving the libs into the blocks...
Wouldn't the duplication of jars generate a huuuuuge CVS repository? It's big enough already.

An option might be to keep the jars in a well-structured lib/ subdirectory and have the block's build.xml copy the required jars to its workspace before compiling. Easy to do with ant filtered copy task.

The lib/ could then include "version directories" if different versions of jars are needed for different blocks (at compile time - I know it's going to be a problem at runtime):

lib/fop/0.20.1/fop-0.20.1.jar
lib/fop/0.20.4/fop-0.20.4.jar
lib/fop/0.20.4/some-additional-jar-for-0.20.4.jar

And then each block pulls what it needs from this tree.

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



Reply via email to