This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
copyfiles is an unnecessary task that has been included in the build-impl.xml that is generated for the web project. When you try to specuify a directory for copy, ant will give an error. Its better to use ant copy task rather than build a custom task for that. Also, this is a task, unlike the other nbxxx, tasks that cannot be ignored for the build to run in ant setups outside netbeans. i request you to remove this and any other such dependency that will need me to include nb specific files for building the project outside the nb environment. Any task that can be ignored ( like deploy, etc ) is fine. I need to build outside of nb for the project to be really protable.
AFAIK this is WONTFIX; Ant's built-in tasks are simply not powerful enough to perform what is needed here, or of course they would have been used. Of course you can build the project without the IDE around, but you need to include this task JAR somewhere - could be moved into a lib/ subdir of the project for maximum portability. The IDE's user's guide will explain how to do these things for various project types when we make a release; for now you can probably figure it out. Someone should however investigate "this is a task, unlike the other nbxxx, tasks that cannot be ignored". It would be preferable if the user were somehow able (by editing build.xml in a reasonable way) to avoid usage of all nonstandard tasks.
it must be noted that the copyfiles task internally uses a ant task that fails because it needs to use <fileset> when given a directory. i don;t know the reason for this.
If there is a particular failure you have observed please include details to reproduce if you have them.
Jarda suggested a solution. I missed this task and I filed a task with an example in attachment. *** This issue has been marked as a duplicate of 45284 ***