In attempting to get t2 building with Maven for the beta release I ran
across the issue of the conditionally compiled code in the current t2 tree.
Code that is conditionally compiled in the t2 build depend on the presence
of:

jsp
castor
webmacro
jython
freemarker

Currently Maven doesn't support conditional selection of source for
compiling so I attempted to build all this code.  Jython had an old import
that when removed the code compiled clean, and Freemarker service has some
old code that currently will not compile.  Castor, JSP, and Webmacro code
all builds fine.  In the current production 2.1 tdk, I believe the jsp and
webmacro code is the only optional code included.  It seems that having the
conditional build has left some code gathering dust in the t2 tree.  So some
questions on how to move forward with the t2 builds:

For the future releases of t2, should we only include those two optional
services in the jar since that is what is in our current production release
( jsp & webmacro )?  

( I'm +1 for keeping it simple ) Remove the conditional compile option.
Compile/build everything in the tree.  Use the update-jars to provide the
user the ability to find these optional jars.  If there is no support/users
for a specific services, can we move the other optional code ( castor,
jython, freemarker ) to the attic?

=================================================================
Jeffrey D. Brekke                                   Quad/Graphics
[EMAIL PROTECTED]                              http://www.qg.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to