ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angeshwar Deepak <angesh...@yahoo.com>
Subject RE: <for> -Build Failed:problem
Date Tue, 03 Aug 2004 07:13:28 GMT
Hi,

Thanks a ton. It seems all the time I was using the
ant version inside forrest whose version is
ant1.6alphs
but <for> loop needed ant1.6Beta. It was very silly of
me. 

On simply typint ant -version I was shown 1.6.2. The
classpath was set to ant 1.6.2 but still forrest was
using the older version, so thats why the problem.

It was very silly of me, Anyway thanks a lot to
everyone.

bye,
with regards,
Deepak.
--- Antoine Levy-Lambert <antoine@gmx.de> wrote:

> Hello Angeshwar,
> it looks more like you have an old version of ant
> (maybe ant 1.5) in your
> forrest. Try to see if you can upgrade ant within
> forrest, or tell forrest
> to use another ant version.
> Cheers,
> Antoine
> > -----Original Message-----
> > From: Angeshwar Deepak
> [mailto:angeshwar@yahoo.com]
> > Sent: Monday, August 02, 2004 1:20 PM
> > To: user@ant.apache.org
> > Subject: <for> -Build Failed:problem
> > 
> > 
> > Hi,
> > 
> > I am using the <for> task under ant-contrib task.
> > I am using Apache Ant version 1.6.2
> > I have placed ant-contrib-1.0b1.jar in the lib
> folder
> > of Ant.
> > 
> > I have also added the following line
> > 
> > <taskdef resource="net/sf/antcontrib/antlib.xml"/>
> > 
> > to the build file. I simply copied the <for> task
> from
> > the web.
> > The code is 
> > 
> > <taskdef
> >
> resource="net/sf/antcontrib/antcontrib.properties"/>
> > 
> > <echo message="The first five letters of the
> alphabet
> > are:"/>
> > <for list="a,b,c,d,e" param="letter">
> >   <sequential>
> >     <echo>Letter @{letter}</echo>
> >   </sequential>
> > </for>
> > 
> > But I get the error
> > 
> > Buildfile:
> >
>
D:\deepak\buildProcess_2\_lib\build\apache-forrest-0.5.1-bin\forrest.build.xml
> > 
> > init-props:
> > The first five letters of the alphabet are:
> > task CL=sun.misc.Launcher$AppClassLoader@e80a59
> > 
> > BUILD FAILED
> >
>
D:\deepak\buildProcess_2\_lib\build\apache-forrest-0.5.1-bin\forrest.build.xml:56:
> > Could not create task of type: for du
> > e to This task only works for ant >= 1.6Beta3
> > 
> > Total time: 1 second
> > 
> > I also checked the version of Ant I am using.
> > 
> > D:\deepak\buildProcess_2\logging>ant -version
> > Apache Ant version 1.6.2 compiled on July 16 2004
> > 
> > Its the latest version. I have also set the
> classpath
> > for ant-contrib-1.0b1.jar. Where could I be wrong
> and
> > why do I get the error.
> > Someone kindly help.
> > 
> > bye,
> > with regards,
> > Deepak.
> > 
> > 
> > 		
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> user-help@ant.apache.org
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> user-help@ant.apache.org
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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


Mime
View raw message