ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32142] - [PROPOSAL, PATCH] External public entity and new system entity IDs.
Date Thu, 11 Nov 2004 03:16:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32142>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32142

[PROPOSAL, PATCH] External public entity and new system entity IDs.





------- Additional Comments From kevin.greiner@compsol.cc  2004-11-11 03:16 -------
Right, I spent a good deal of time considering whether antlib provided an
alternative implementation.  I finally decided that they are orthoginal.  The
main point being that this patch simply provides streams to a wider range of
URLs.  I use it to define external entities.  Other people may use those URLs
with any task that accepts a URL.

I also thought that it would be interesting to modify import to accept a URL. 
It's essentially a free-be as all that is needed is to add an new attribute to
the task and then open the URL provided by that attribute.

Another interesting idea is that if you embed Ant into another product, then
that product could provide an EntityResolver that resolves a set of public
entity Ids.  If your ant task uses one of these Ids as a URL, you'd get a stream
that connects to the encapsulating product rather than a physical file.

Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message