Smartmarkey
Smartmarkey

Reputation: 1999

Is there any good tool to view and browse ant build file?

I found it is hard to read an ant build file. Especially if the build file has lots of imported files, like property file and other xml build file.

Therefore, I am wondering if there are some good tools that can help, like viewing and browsing source code in IDE.

Thanks in advance. :)

Upvotes: 3

Views: 298

Answers (3)

Pulak Agrawal
Pulak Agrawal

Reputation: 2481

Try GRAND, here

Super easy to use and setup.

Upvotes: 4

Dimitry
Dimitry

Reputation: 4593

I think Eclipse does a good job. It will even do basic error checking for you --like the opening and closing of tags and validation of path vars.

Upvotes: 0

BillRobertson42
BillRobertson42

Reputation: 12883

ant2dot (https://github.com/pvdb/ant2dot) will transform your ant build file into a dot file, which you can then use graphviz to turn into an image of the task dependencies in your build script. You can even automate that process with an ant task in the build file.

Its great if that's the level of detail you're looking fore. Otherwise the best I've seen is just your basic XML structure inside a tree control. IIRC Netbeans does this.

Upvotes: 4

Related Questions