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.
They again form an API that we have to maintain and if we can work without them (like in case of issue 50676) we shall remove them. See http://openide.netbeans.org/tutorial/reviews/opinions_52155.html#ant-tasks
I found a couple custom tasks in the J2ee arena: CopyFiles and WSCompile I am assigning this to Pavel. I know this task is in there for a reason, but I want to get that reason from the author. After that, It probably needs to get assigned to Peter Wiliams for further comment.
There are also the JSP compilation tasks, but I don't think these are unnecessary and can be removed.
The JspCSingle task is there bcs the apache JspC task cannot be setup to compile one JSP via attributes from ant script (but can be programatically). As far as I can tell JspC is there to improve error reporting in output tab. Copyfiles is the one that can be removed. WS was added w/ knoledge that this issue is filed :-) and need investigation. The bad thing is that custom tasks require the jar files on ant's classpath so they make it harder to cvs co and build the project w/o netbeans. Jardo feel free to correct me. AFAIK this is a P1 mainly because it is a TCR.
update: copyfiles removed from web/project, ejbjarproject and earproject needs to folow (I plan to do it)
Please see my lengthy comment on the wscompileuptodate task in bug #49712 which explains why we need that task and why the reasons to remove copyfiles do not necessarily apply to it. If someone has some ideas on how to solve the problem without using a custom task, I'd be open to it but not solving the issue raised in 49712 is much worse than providing a custom task for it in my opinion.
any update on this?
There were several regression caused by removal of copyfiles from web/project. Now there is one more issue, see #56140, I am working on it.
The copyfiles task was removed also from ejb (Issue #55992) and ear project (Issue #56023). There has to be fixed some regressions though. They are filled as separate issues.
You forgot that CopyFiles class still needs to be removed. We should also rename the jar file to something else, copyfile.jar will contain JspC and JspCSingle.
We were talking about this - will not removing copyfiles be a problem for 4.0 projects? It is possible to open a 4.0 project without upgrading it I believe - do we need to keep copyfiles for this? What do you suggest as the new jar file name?
True, this would be a problem. This means we need to keep the name of jar file the same and keep the CopyFiles class. It is not a big issue, I just wanted to clean up and forgot about this. Thanks. Ok, we can possibly remove the task later (maybe 4.2 or such).