It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Where should I place the "with.clover" when I pass it to ant build command that takes some options?

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" ?

1 answer

0 votes
$ 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"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Jira Cloud for Google Sheets: Automatically Refresh Your Data!

Remember that time you realized it was possible to refresh your Jira data in Google sheets with just one click? What if we told you that you can now get the latest data with no clicks at all?! Zero! ...

172 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you