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 78725 - Supply -pre-run target for build file
Summary: Supply -pre-run target for build file
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Zezula
Depends on:
Reported: 2006-06-21 08:21 UTC by tkellerer
Modified: 2011-08-31 14:06 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description tkellerer 2006-06-21 08:21:27 UTC
For most of the "built-in" targets NB provides the approriate -pre-XXX target.
It does provide a -pre-run-test target but there is no -pre-run target that is
called before the project is executed. 

Would be nice to have one by default (and a -pre-run-single as well)
Comment 1 Jesse Glick 2006-06-21 18:42:21 UTC
You are talking about Java SE projects I guess.

It is true there is no such hook target. Nevertheless you can simply write

<target name="run">
  <!-- my stuff, then -->
  <antcall target=""/>