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 7987 - Ant build scripts should have CompilerCookie and ExecCookie
Summary: Ant build scripts should have CompilerCookie and ExecCookie
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 major (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 7912
  Show dependency tree
 
Reported: 2000-10-24 11:37 UTC by Jesse Glick
Modified: 2003-06-30 14:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2000-10-24 11:37:36 UTC
These cookies permit proper integration into the IDE's build system. For
example, F9 shortcut for compile; or use as "project main class". CompilerCookie
is first priority, then ExecCookie (with Set Arguments to select the desired
execute target; use project default target for compile).
Comment 1 Jesse Glick 2000-11-06 10:58:59 UTC
Use of the compilation engine, in particular, would improve error reporting
during a build: e.g. highlighting of erroneous source lines, more uniform
hyperlinking, column number handling, etc. Not clear if all features of the
execution engine are still available when using the compilation engine, however,
specifically fine-grained control over hyperlinking behavior.
Comment 2 Jesse Glick 2000-12-13 10:38:59 UTC
In progress (not for 3.1).
Comment 3 Jesse Glick 2000-12-13 18:04:59 UTC
Fixed in the trunk (not yet documented).

Implemented a compiler type for Ant scripts (configurable targets for
compile/build/clean); executor for Ant scripts (configurable target); Execute
works on targets within the script; extra compiler type for other files, which
will invoke Ant to compile them (configurable targets as above, and also either
configure a specific script or by default search for it according to Ant
conventions).

No direct use of compilation engine to handle hyperlinking, etc.--still done
manually (probably cannot be changed easily).

No interaction with Set Arguments at the moment (not clear that it would be
useful), but ability to set custom Ant properties, as well as verbosity level
and maybe similar options, is planned.

No default script for the project; but you may set up an indirect compiler
pointing to a script of your choice, and set that as the default compiler for
all Java sources in the project (for example).
Comment 4 Milan Kubec 2001-06-22 15:12:10 UTC
Verified
Comment 5 Quality Engineering 2003-06-30 14:46:56 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.