ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Greiner <kevin.grei...@compsol.cc>
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.
>
>Thanks,
>
>  -Chris
>
>
>
>
>	
>		
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Mail - You care about security. So do we. 
>http://promotions.yahoo.com/new_mail
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>For additional commands, e-mail: dev-help@ant.apache.org
>
>
>.
>
>  
>
You might take a look at bug #32142.  It includes a patch for loading an 
entity resolver via a jar service.

Kevin


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


Mime
View raw message