This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I've been trying to unittest a massive code base that contains copious amounts of static methods, and found jmockit to be very useful for this. I've run into a problem where if I try to run the ant build.xml from within eclipse I am told that there is no agent jar, so the advanced features of jmockit cannot be used.
I have tried putting the javaagent parameter in the vmargs that ant uses in junit tests to no avail.
I see no documentation that addresses this particular issue with the combination of ant and eclipse.
Anyone have any clues? Do I need to specify the vmargs somewhere else?
Thanks for your time,
subject: JMockit & running ant from eclipse - Agent Jar not found