ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chakravarthy, Srikanth" <Srikanth.Chakravar...@misys.com>
Subject RE: Ant For task
Date Thu, 20 May 2010 12:48:04 GMT
If you paste your script it would be easier to check it.

Regards,
Srikanth

-----Original Message-----
From: Pooja Ganapathi [mailto:poojasix@gmail.com] 
Sent: Thursday, May 20, 2010 5:43 PM
To: user@ant.apache.org
Subject: RE: Ant For task


Hi,

Thanks for your replies. But the issue still exists.
I have indeed added my jar file to the ant-lib folder and made the
reference
in the script.
But still it says: taskdef class "ignore"/> cannot be found

pls help!!

-Pooja



Sharma, Jaikumar wrote:
> 
> It works for me like the following :
>  
>  <path id="ant-contrib.classpath">
>        <pathelement location="yourpath/ant-contrib-1.0b3.jar" />
>   </path>
> 
>   <taskdef resource="net/sf/antcontrib/antlib.xml"
> classpathref="ant-contrib.classpath" />   
> 
> Hope this helps!
>  
> 
> -----Original Message-----
> From: Pooja Ganapathi [mailto:pooja.ganapathi@gmail.com] 
> Sent: Friday, May 14, 2010 4:15 PM
> To: user@ant.apache.org
> Subject: Ant For task
> 
> 
> Hi,
> 
> I am trying to use the for task in my ant script but not able to.
> initially i thought having --> <taskdef resource=
> "net/sf/antcontrib/antcontrib.properties"/> is well enough for using
it.
> But it doesn't looked os.
> 
> After search, i tried to use the below format <taskdef
> resource="net/sf/antcontrib/antlib.xml"/>.
> 
> However, it is giving me the below error message:
> 
> "taskdef class "ignore"/> cannot be found"
> 
> I am not sure how to play with this. I also tried the below one:
> 
> taskdef
>      name="for"
>      classname="net.sf.antcontrib.logic.ForTask"
>      onerror="ignore">
>     <classpath>
>       <pathelement location=".../ant-contrib.jar"/>
>     </classpath>
>   </taskdef>
> 
> But again, it failed to recognise the onerror atrribute.
> 
> Could some one please tell me the correct way to use the for task in
> ant?
> 
> Thanks,
> Pooja
> --
> View this message in context:
> http://old.nabble.com/Ant-For-task-tp28557776p28557776.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> DISCLAIMER:
> Unless indicated otherwise, the information contained in this message
is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically
> authorized to receive it. If you are not the intended recipient, you
are
> hereby notified that any dissemination, distribution or copying of
this
> message and/or attachments is strictly prohibited. The company accepts
> no liability for any damage caused by any virus transmitted by this
> email. Furthermore, the company does not warrant a proper and complete
> transmission of this information, nor does it accept liability for any
> delays. If you have received this message in error, please contact the
> sender and delete the message. Thank you.
> 
> 
> DISCLAIMER:
> Unless indicated otherwise, the information contained in this message
is
> privileged and confidential, and is intended only for the use of the
> addressee(s) named above and others who have been specifically
authorized
> to receive it. If you are not the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
message
> and/or attachments is strictly prohibited. The company accepts no
> liability for any damage caused by any virus transmitted by this
email.
> Furthermore, the company does not warrant a proper and complete
> transmission of this information, nor does it accept liability for any
> delays. If you have received this message in error, please contact the
> sender and delete the message. Thank you.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context:
http://old.nabble.com/Ant-For-task-tp28557776p28620343.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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



"Misys" is the trade name for Misys plc (registered in England and Wales). Registration Number:
01360027. Registered office: One Kingdom Street, London W2 6BL, United Kingdom. For a list
of Misys group operating companies please go to http://www.misys.com/corp/About_Us/misys_operating_companies.html.
This email and any attachments have been scanned for known viruses using multiple scanners.
This email message is intended for the named recipient only. It may be privileged and/or confidential.
If you are not the named recipient of this email please notify us immediately and do not copy
it or use it for any purpose, nor disclose its contents to any other person. This email does
not constitute the commencement of legal relations between you and Misys plc. Please refer
to the executed contract between you and the relevant member of the Misys group for the identity
of the contracting party with which you are dealing. 

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


Mime
View raw message