jastrachan | 6 Apr 13:22 2005
Picon

Re: Executing Ant targets with dot in their name

I"m sure there's a workaround. e.g. you could use 
antCall(name="foo.bar.whatnot") or some such?

Or we could add a helper method somewhere to invoke a target by name?

On 6 Apr 2005, at 11:50, Martin Vlk wrote:
> Yeah sure, although I need to use targets I do not have control over 
> so this
> is a real problem.
> Constraints on Ant target names are simply looser that constrains on 
> Java
> method names - too bad...
>
> vlcak
>
> ---
>
>
>
>> -----Original Message-----
>> From: Dierk Koenig [mailto:dierk.koenig@...]
>> Sent: 06 April 2005 11:35
>> To: user@...; vlcakm@...
>> Subject: RE: [groovy-user] Executing Ant targets with dot in
>> their name
>>
>> I stumbled over the same thing and renamed my targets :-)
>>
>>> -----Original Message-----
>>> From: Martin Vlk [mailto:MVlk@...]
>>> Sent: Mittwoch, 6. April 2005 12:01
>>> To: user@...
>>> Subject: [groovy-user] Executing Ant targets with dot in their name
>>>
>>>
>>> Hiya,
>>> am I right to think that it is not possible to invoke Ant
>> targets named
>>> something like  "my.test.target"?
>>>
>>> Targets seem to be expressed as methods in Groovy and
>> method name can't
>>> contain a dot.
>>>
>>> If I'm wrong - what would be the way to do it?
>>>
>>> Cheers
>>> Martin
> The information in this email is confidential and may be legally 
> privileged.
> It is intended solely for the addressee. Access to this email by 
> anyone else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in 
> reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank 
> you.
>
>

James
-------
http://radio.weblogs.com/0112098/


Gmane