ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Glick <jesse.gl...@sun.com>
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.

-J.

-- 
jesse.glick@sun.com   x22801   netbeans.org   ant.apache.org
if I had known it was harmless I would have killed it myself


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


Mime
View raw message