We are a .NET store and we use ivy. When we started, we tried to use ivy through java calls, but switched to an ant call so that we could use ivy's built-in tasks directly. We did this because ivy tasks gave us more opportunities.
Our build scripts are written in nant. Nantes then turns to ant and passes several properties so that it can perform ivy tasks. I am sure that the same could be done with MSBuild.
<exec program="C:\ant\1.8.2\bin\ant.bat" commandline="-buildfile ${build.dir}\${ivy.tasks.build.file} -verbose -Divy.properties.file=${ivy.properties} retrieve" verbose="true"></exec>
It feels a little odd to call nant's ant, but it works well. Plus, ivy is contained in its own build file, doing what it should do (dependency management) and nothing more.
source share