Error In Class Net Sf Antcontrib Logic
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Why cannot Ant taskdef cannot load a resource outside ./net up vote 11 down vote favorite When declaring external ant tasks using taskdef, for instance ant-contrib, the proposed setup is to use the followin taskdef:
Threaded ♦ ♦ Locked 11 messages Ritu Ritu Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Error message while using ant-contrib.jar - "taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask" Hi All, I am wanting to use for-loop task that is available through ant-contrib.jar but I am getting the error message that is pasted below. By reading http://stackoverflow.com/questions/2050043/why-cannot-ant-taskdef-cannot-load-a-resource-outside-net the old threads on similar problem (http://www.mail-archive.com/user@.../msg23803.html), I feel that this could be a classpath issue. Any suggestions to fix this problem? Due thanks for any help! Ritu P.S. : I am using Eclipse IDE versions 3.3, Ant version 1.8.0, and ant-contrib-1.0b2. Error Message = BUILD FAILED C:\AMMA\Eclipse3.3\PDSL\Automate.xml:33: The following error http://ant.1045680.n5.nabble.com/Error-message-while-using-ant-contrib-jar-quot-taskdef-A-class-needed-by-class-net-sf-antcontrib-pla-td1356639.html occurred while executing this line: jar:file:C:/Documents%20and%20Settings/ritu/.ant/lib/ant-contrib.jar!/net/sf/antcontrib/antlib.xml:3: taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: ExecTask using the classloader AntClassLoader[] Code Snippet =
Installation First you must install Apache http://ant-contrib.sourceforge.net/tasks/ Ant itself, most of the Ant-Contrib tasks require Ant 1.5 or higher to work properly, however, there are some tasks, specifically