I have to look into some complicated Ant
files which include targets of other Ant
files and these others, targets from the original etc.
Is there a (visual) tool that helps understand Ant
files and structure and how they end up building the deliverables?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can try this tools:
- ant2dot - using GraphViz toolkit to generate the final graph;
- Vizant - using GraphViz toolkit to generate the final graph;
- Grand - using GraphViz toolkit to generate the final graph;
- ant-script-visualizer - using GraphViz toolkit to generate the final graph.
The IntelliJ IDEA has a very good support (has native plugin and several 3rd party plugins) of Apache Ant. You can read about Ant support in IDEA here.
回答2:
At my work we've had good results with Grand.
Here is another link to various Ant visualization tools.
回答3:
yWorks AntExplorer is great but officially not around anymore.
see =
https://stackoverflow.com/a/2261205/130683
https://stackoverflow.com/a/458724/130683
https://stackoverflow.com/a/9184562/130683
But there is a plugin for IntelliJ IDEA available and you will
still find some sources for the standalone version, f.e. here