Grabbing dependencies

Let's say you have project A, which depends on artifacts from projects B and C.

As a developer working on project A, how are people getting the artifacts from B and C to their local machine? We are considering writing some scripts that hit the team city site to find the latest build of A, then navigate to A's artifact dependencies and download them (in other words, the dependency tab on the build results page).

In our existing build system, we store the artifacts in source control so that when you do a get latest, you get the dependent artifacts. TeamCity doesn't seem to want to work this way, and we would rather not store binaries in source control.

How are other people solving this problem? Do you have any scripts for me?

4 comments
Comment actions Permalink

You can fetch artifacts with help of Ivy, read more about it here: http://www.jetbrains.net/confluence/display/TCD3/ConfiguringArtifactDependencies#ConfiguringArtifactDependencies-xml

If you are using Java and Ant then Ivy is a natural choice since it have good integration with Ant. However it is also possible to launch Ivy from the command line.

--
Pavel Sher

0
Comment actions Permalink

We are actually using .net and nant. It looks like Ivy might work though, I wonder if anyone is using Ivy with .net.

0
Comment actions Permalink

As far as I know there is no Ivy for .NET. So using of Ivy command line looks like the most preferable way in your case.

--
Pavel Sher

0

Please sign in to leave a comment.