dcsimg
Confused about running a Java command in Ant
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Eric_Hildebrand
Posted On:   Wednesday, October 12, 2011 09:42 PM

I'm using Ant to make a build-system for a project I've been working on, and everything is going very well except for making a target perform the following:


java -cp ./tools/cobertura-1.9.4.1/cobertura.jar:./build/instrumented:./build/classes:./lib/junit-4.9.jar:./lib/hamcrest-all-1.3.0RC2.jar:. -Dnet.sourceforge.cobertura.datafile=./cobertura.ser tests.AllTests


How would I write a target in Ant that would perform this?
Thanks in advance!
--Eric

About | Sitemap | Contact