History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-11517
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Zhuravlev
Reporter: Patrik Beno
Votes: 4
Watchers: 8
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Ant integration: Hide empty nodes + Text view like Ant's default logger

Created: 19 Mar 05 22:10   Updated: 15 Nov 07 16:00
Component/s: Ant Integration
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Relates
 
This issue is related to:
IDEABKL-2021 Ant build messages: Provide option to... Open
IDEADEV-20623 Ant support needs a way to replicate ... Normal Open

Build: 2,253


 Description  « Hide
Currently, Idea displays every task executed even if the task did not produce any messages.

This sometimes (some complex recursive scripts) leads to really huge trees of useless nodes in the "Messages - Ant Build" view. (Example: half the screen of empty property task nodes)

DRAWBACKS:

  • Resizing "Messages" window takes too long as the virual window size has to be recalculated.
  • For the same reason, expanding all tree nodes takes too long.
  • Scrollbar is too small to be useful
  • resulting view has too many data, too litle information.
  • switching to text view is even worse

Some statistics:
IDEA produces: 2240 lines
Ant from cmd line: 267 lines

SOLUTION:

Should work like original ant logger.
Task node should pre present in the mentioned view only if there are any messages to display.
Unlike Ant's default logger, Idea displays tree view (not flat view), thus task node would be present if at least one message is available from this task or any its children.

WORKAROUND:

In ant build script, remove Idea's listener from the project's build listeners and wrap it with the custom listener that implements this filtering... Bit tricky hack but it works...



 All   Comments   Work Log   Change History      Sort Order:
Stephen Friedrich - 11 Apr 07 14:01
Gosh - this must be hard to implement. It's in DEV for almost two years now

AlexL - 29 Aug 07 10:33
Duplicate:
Ant log created by IdeaAntLogger2 confusing.
http://www.jetbrains.net/jira/browse/IDEA-12280

Colin Fleming - 29 Aug 07 18:43
See also IDEA-14489

Any update on this issue? This drives me crazy on a daily basis at the moment.


Colin Fleming - 03 Oct 07 09:28
Please reconsider the decision not to fix this in Selena. It should not be a difficult fix and causes a lot of problems as detailed in IDEA-14955.