ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Greiner <>
Subject Re: Command line option to set entity resolver implementation class
Date Sun, 10 Apr 2005 06:26:56 GMT
ChrisW wrote:

>Would it be possible to add a command line option
>to set an entity resolver to Ant?
>I ask because projects I work on have many Ant build
>scripts that use common target definitions which we 
>include via external entities, as in:
><!DOCTYPE project [
>  <!ENTITY prologue SYSTEM
>    "http://web/devtools/src/ant/prologue.ant">
>  <!ENTITY % targets SYSTEM
>    "http://web/devtools/src/ant/targets.ant">
>   %targets;
>But we'd like to be able to change the deployment URIs
>by overriding them in an XML catalog, instead of
>editing many Ant scripts.  The xmlcatalog task does
>not  fit the bill for this, since it does not provide
>catalog resolution for the parser instance that Ant,
>itself is using.  I could even implement the change
>myself, but only if it would be accepted.
>  -Chris
>Do you Yahoo!? 
>Yahoo! Mail - You care about security. So do we. 
>To unsubscribe, e-mail:
>For additional commands, e-mail:
You might take a look at bug #32142.  It includes a patch for loading an 
entity resolver via a jar service.


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

View raw message