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.

Bug 219749

Summary: Provide ant hooks for NetBeans Platform Application projects
Product: apisupport Reporter: pjdm
Component: HarnessAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description pjdm 2012-10-09 11:57:45 UTC
A Java Application project provides a generated build-impl.xml which contains several -pre and -post targets which can be overridden to provide custom functionality (as described by the comment in the generated build.xml). However, such targets are not provided for a NetBeans Platform Application, so customisation is more difficult. Please provide equivalent targets in the ant files for NetBeans Platform Application projects.

Context: the page at http://wiki.netbeans.org/FaqIvy describes how to manually set up Ivy for a Java project. Step 4 uses targets "-pre-compile", "-pre-compile-single", "-post-clean". For a NetBeans Platform Application project, there are no equivalent targets. The "-javac-init" target can be used for "-pre-compile", but there appears to be no equivalent for "-post-clean".
Comment 1 Jaroslav Tulach 2013-01-17 15:19:07 UTC
OK, to get started, replay the Ivy FAQ for a NetBeans project, introduce "-pre-compile", "-pre-compile-single", "-post-clean" when needed and sent me the diff of your changes.

I can generalize that then. Reopen when you have the patch.

Btw. NetBeans supports http://wiki.netbeans.org/AutoUpdateTask, which is the official way to download (NetBeans) binaries.