This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, i�m trying to generate some reports(html or pdf), i�m aware that this can be done with ant, in fact i�m doing this right now, but writing an ant script and calling it from the command line is not exatcly what i need, since i�m working with eclipse and writting and excecuting the tests from it�s built in test runner, i want to generate the reports from eclipse each time i run the tests and keep saving the results, i dont know how to do this, i know how to work with ant tasks, but i dont know how to work with ant tasks from within eclipse.
The Eclipse Java perspective knows about Ant and has integrated support, so you don't need to run it as an external tool. Just right-click on the build.xml file in the Navigator view and select the appropriate Ant run option.
Some ant scripts may require external information such as command-line properties or classpaths. The integrated Ant support supplies a dialog that can be used to configure that kind of stuff.
An IDE is no substitute for an Intelligent Developer.
Originally posted by Tim Holloway: The Eclipse Java perspective knows about Ant and has integrated support, so you don't need to run it as an external tool.
Well, the Eclipse's Ant support actually *is* filed under "external tools". So I guess you and Jeanne are talking about the same thing.
I don't think there is an easy way to hook into the Eclipse JUnit runner, though. For that, you'd probably write an Eclipse plugin or something.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus