开发者

How do I specify a project dependency with Hudson?

开发者 https://www.devze.com 2022-12-23 03:15 出处:网络
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 vi

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开发者_StackOverflow中文版 dependency between them all? Is simply specifying "Build after other projects are built" enough?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消