In my project I compile the java files using ant command that take some options as "-file"; I want to know where should I place the "with.clover". Should I place it after ant as follow "ant with.clover -file ..." or after all ant options as follow "ant -file ... with.clover" ?
$ ant -h
ant [options] [target [target2 [target3] ...]]
So, as you can see, options should come first, followed by targets. After targets you usually put java properties. Example:
ant -f mybuild.xml with.clover clean test clover.report -Dproject.title="My Project"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.