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 - Provide ant hooks for NetBeans Platform Application projects
Summary: Provide ant hooks for NetBeans Platform Application projects
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-09 11:57 UTC by pjdm
Modified: 2013-01-17 15:19 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.