[ant-contrib - Help] unable to get it working
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4294845
By: rtmo
hi,
I have ant 1.6.5 and I downloaded ant-contrib-1.0b3.jar in the ant\lib directory.But
still whewnever i run a build.xml with this sample code,I get this error
Could not create task or type of type: for.
my build.xml is
<project name="My Application" default="compile" basedir="." >
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="anthome/lib/ant-contrib-1.0b3.jar" />
</classpath>
</taskdef>
<echo message="The first five letters of the alphabet are:"/>
<target name ="test" description ="testing this">
<for list="a,b" param="letter">
<echo>Letter @{letter}</echo>
</for>
</target>
</project>
any help would be greatly appreciated
I have ant_home enviroment variable and the classapth points to ant\lib\bin
and the path variable too.
pls fgive me inputs as to how to get this wrokign
thanks
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=113701
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/