Brett Ryan
Brett Ryan

Reputation: 28255

How do I specify a project dependency with Hudson?

We have common library projects shared amongst many projects that are required to be checked out into a "Libraries" folder which a developer needs to checkout prior to opening the main project in visual studio.

How I tell hudson that there is this dependency?

I figured one thing I could do is setup a custom workspace and specify the location for all projects, but how do I wire up the dependency between them all? Is simply specifying "Build after other projects are built" enough?

Upvotes: 1

Views: 2027

Answers (1)

gareth_bowles
gareth_bowles

Reputation: 21140

This is fairly straightforward in Hudson; you just need to make sure that your "main" projects' build scripts pull the header files, compiled binaries etc. (whatever is needed for compilation) for the dependent libraries into an accessible location. Then list each dependent library project in the "Build after other projects are built" field for each "main" project in Hudson, so that the "main" projects are rebuilt whenever one or more of the dependent libraries changes.

Upvotes: 3

Related Questions