On 12/06/2007, at 7:07 PM, mark harwood wrote:

Thanks for the pointers Paul.

I just don't think you can 'package' up a distribution that includes these jars in your distribution.

Clearly the binary distribution need not bundle servlet-api.jar - a demo.war file is all that is needed. However, is the source distribution exempt from this restriction? It would be convenient if the build.xml "just worked", referencing our included copy of servlet-api.jar rather than requiring the user to configure the build.properties etc to point to their copy of the API. If this bundling was an issue, would an acceptable solution be to have an ANT task to download the servlet-api.jar from a Sun server?



From other people's posts it sounds like the servlet spec jars have a compatible license (quite odd of Sun to do that! :) ), so perhaps my comments are more relevant to other licensed jars such as LGPL projects.

The ant idea of automatically getting the file if not provided is a good one, i've done that before. Having said that though, this is exactly what Maven can do for you with it's dependency management. (I was anti-maven for quite a while, but now I'm converted).

Paul

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

Reply via email to