Bug 219749 - Provide ant hooks for NetBeans Platform Application projects
Provide ant hooks for NetBeans Platform Application projects
Status: RESOLVED WONTFIX
Product: apisupport
Classification: Unclassified
Component: Harness
7.2
PC Windows 7
: P2 (vote)
: TBD
Assigned To: Jaroslav Tulach
issues@apisupport
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-09 11:57 UTC by pjdm
Modified: 2013-01-17 15:19 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo