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 43030 - Ant support separation from Java
Summary: Ant support separation from Java
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: ARCH
Depends on: 42525
Blocks:
  Show dependency tree
 
Reported: 2004-05-10 19:10 UTC by Jan Lahoda
Modified: 2006-03-24 09:44 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 Jan Lahoda 2004-05-10 19:10:36 UTC
[current sources]
The ant module depends on the Java API, but the
ant support can be used also by other products
that does not incorporate Java support. So I would
suggest to move the Ant&Java somewhere (separate
module?) from the base Ant module.

In fact, I found that there are two places where
the Java API is actually used:
1.
org.apache.tools.ant.module.run.AntOutputParser:
in this case, I think that parsing the output
should be preferably on the module that starts the
parsing (for example the LaTeX output is
completelly different from the output from Java).
2. org.apache.tools.ant.module.bridge.AntBridge
Comment 1 Jesse Glick 2004-05-10 19:45:52 UTC
Yes I would like to fix this too.

Re. #1 (stack trace hyperlinking) - I am considering other
architectures in light of issue #42525, but it will require some kind
of API. As a rule, any output matching

<abs-filename>:[:<line>[:<col>[:<end-line>:<end-col>]]] <message>

will automatically be hyperlinked. However some tasks are unable to
generate properly-formatted error messages, and of course stack traces
do not follow this pattern.

Re. #2 - this usage can probably be removed, it is not at all
important. Just lets user define custom input handler (a very obscure
bit of functionality that should probably be dropped, and anyway could
be done differently).
Comment 2 Jesse Glick 2004-06-09 02:13:56 UTC
Already fixed in ant_loggers_42525 branch.
Comment 3 Jesse Glick 2004-06-12 02:46:52 UTC
Fixed.
Comment 4 Jan Lahoda 2004-07-23 09:47:51 UTC
Seems OK in current sources.