From: Trevor C. <tc...@in...> - 2003-02-14 15:59:24
|
I don't think we should worry about doing anything special and make struts (or whatever other product we are supporting, webwork or logkit for example) a required download for DEVELOPERS. We don't want these required to use the framework, but developers are different. As an example, look at jakarta commons logging. It is to allow logging without dependancy on unused logging packages, but developers (or those wishing to compile from source) ARE required to have those packages, even if they are working on areas that don't require them. I don't know of any projects that allow source compiliation without all required packages. Trevor D. Cook -----Original Message----- From: Rod Johnson [mailto:rod...@in...] Sent: February 14, 2003 1:58 AM To: spr...@li... Subject: [Springframework-developer] Optional dependencies Guys, I've just been discussing our forthcoming Struts integration with Yann and Paul. This raises a problem that's likely to recur. This will probably involve adding a small number of classes that are Struts-dependent. But not all developers might be interested in them. In the following, read "Struts" to mean "any third party product some classes will depend on but which aren't of interest to everyone". How can we prevent our whole source tree being Struts-dependent and prevent developers uninterested in Struts from having to download the relevant Jars? * Make it a separate CVS module? But this will lead to a profusion of CVS modules. Harder to build etc. * Put it in the main module and change the Ant build script to compile the necessary classes and run the the relevant tests only if it finds Struts on the classpath? This could eventually make the build script very long and complicated. * Better ideas I haven't thought off?? How do other projects handle this? From a distribution point of view, many users won't want the Struts classes either. We could make them a sep download. Or we could just include them in one of the main Jars, and they wouldn't do any harm unless they were used without Struts. From a documentation view, we'll also need a dependencies table, showing what depends on what. Regards, Rod ____________________________________________________ Rod Johnson J2EE Architect and Author +44 7973 409 132 Author of "Expert One-on-One J2EE Design and Development" (Wrox Press, October 2002). http://www.amazon.com/exec/obidos/tg/detail/-/1861007841/ http://www.wrox.com/books/1861007841.htm http://www.wrox.com/dynamic/books/find.aspx?author=Rod+Johnson ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/03 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/03 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/03 |