You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stephen Winnall <st...@winnall.ch> on 2006/06/28 13:17:06 UTC

building Cocoon with Netbeans 5.0

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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: building Cocoon with Netbeans 5.0

Posted by Stephen Winnall <st...@winnall.ch>.
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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org