For future reference: this error below is caused by multiple occurrences of
ant-contrib.jar in the classpath.

Steve

On 28 Jun 2006, at 13:17, Stephen Winnall wrote:

Has anyone managed to import Cocoon (2.1.8 or 2.1.9) into Netbeans 5.0 and build it? I have managed to create a project in Netbeans from Cocoon's Ant scripts, but I keep on getting the following error when I try to build it:

init:
init-tasks:
/Users/steve/Documents/NetBeans/Vimia GmbH Cocoon/tools/targets/ init-build.xml:172: taskdef A class needed by class net.sf.antcontrib.platform.ShellScriptTask cannot be found: org/ apache/tools/ant/taskdefs/ExecTask
BUILD FAILED (total time: 2 seconds)

By googling, I have found suggestions that ant-contrib.jar might be missing, but adding
that makes no difference.

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to