ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <>
Subject RE: Resource.getURL() - example
Date Fri, 29 Sep 2006 18:48:27 GMT

> -----Original Message-----
> From: Scott Stirling [] 

> But when you encapsulate artifact location resolution into 
> Java protocol handlers (which is what I think you're doing), 
> you've made the build into something that, while, OK, not a 
> black box, requires an understanding of Java programming, 
> which a lot of folks don't have or don't think they should 
> need to have (even when they do!) to undestand how the build works.


The usage of the http protocol handler does not imply a requirement on build
users for an understanding of the java programming language.  It does imply
an understanding that a URL is a well defined string that describes the
location of a resource, and that a protocol (e.g. 'http') defines additional
semantics and runtime behaviour.  However, the support within Ant for any
URL protocol would imply an understanding of the protocol in use by the
build user (which would be a user's choice).  Irrespective of the choice
between a bundled protocol or a dynamically loaded protocol, an
understanding of the Java language is not implied or required.

But I agree with you that new protocol (a.k.a. new ideas) bring new
overheads in understanding.

Cheers, Steve.

Stephen McConnell

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message