ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <>
Subject Re: Command line option to set entity resolver implementation class
Date Sat, 09 Apr 2005 14:04:57 GMT
ChrisW wrote:
> Would it be possible to add a command line option
> to set an entity resolver to Ant?
> <!DOCTYPE project [
>   <!ENTITY prologue SYSTEM
>     "http://web/devtools/src/ant/prologue.ant">
>   <!ENTITY % targets SYSTEM
>     "http://web/devtools/src/ant/targets.ant">
>    %targets;
> ]>

Probably you should be using <import> instead. You can't import a remote 
file, but you could <get> it from a bootstrap script and <import> it 
from a child script. That would be safer, too - no one would need to 
remember to use a special option when running your script.


--   x22801
if I had known it was harmless I would have killed it myself

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

View raw message