ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: valid characters for target names
Date Fri, 10 Jun 2005 21:26:28 GMT


--- Mark Lybarger <mlybarger@gmail.com> wrote:

> hyphens work quite well for target names. I would
> guess underscores will 
> also work. one trick to having a target that you
> don't want to be called 
> directly is to name it with double hyphens. 

Actually one hyphen will do it also:
<target name="-dont.call.me">
</target>

> for example:
> 
> <target name="--dont.call.me">
> </target>
> 
> <target name="call.me" depends="--dont.call.me">
> </target>
> 
> i hadn't though about quoting the argument, but the
> shell doesn't like to 
> run :
> 
> ant -f build.xml --dont.call.me
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message