build-automation

ASP.NET Web Application Build Output - How do I include all deployment files?

爱⌒轻易说出口 提交于 2019-12-02 04:33:59
问题 When I build my ASP.NET web application I get a .dll file with the code for the website in it (which is great) but the website also needs all the .aspx files and friends, and these need to be placed in the correct directory structure. How can I get this all in one directory as the result of each build? Trying to pick the right files out of the source directory is a pain. The end result should be xcopy deployable. Update: I don't want to have to manually use the Publish command which I'm aware

Plugin to commit hudson build artifact

青春壹個敷衍的年華 提交于 2019-12-02 04:20:32
问题 Are there any plugins available which will commit the build artifact back to SVN? 回答1: I believe the svn publisher will meet your needs. 回答2: Unfortunately Svn Publisher is not really finished and requires quite a bit more work before I can use it in anger. I've found I can do what I need with a shell/cmd script executed as a build action (or of course post-build would work), although it's not really ideal. The script just uses standard svn command line functions and looks something like: svn

Creating a file with build number and branch name in SVN

早过忘川 提交于 2019-12-02 04:14:00
问题 There is not an enourmous amount of deployment control where I work at the moment. And while there is a long term plan to create a build script that deals with deployment at the moment we are just publishing our solutions and then copying them to the servers. It would be very useful to have a text file or soemthing similar that would contain the revision number and branch name to serve as a log of which version is currently running on the live system. Is it possible to do this using either

Is there a Perl equivalent of Buildout or RVM?

我与影子孤独终老i 提交于 2019-12-02 02:10:34
I've been using Python's Buildout for a while and I really like it. My company has a lot of systems developed in Perl and I'm wondering if there is something similar to either Python's Buildout or Ruby's RVM available for Perl. My goal is to be able to automate deployments, development environment setup, and manage dependencies. I must admit I have heard today the first time about the software you named, but reading the introduction material there is a difference in purpose between Buildout and RVM. An equivalent of the former is Shipwright , of the latter – perlbrew . 来源: https:/

Creating a file with build number and branch name in SVN

这一生的挚爱 提交于 2019-12-02 01:47:06
There is not an enourmous amount of deployment control where I work at the moment. And while there is a long term plan to create a build script that deals with deployment at the moment we are just publishing our solutions and then copying them to the servers. It would be very useful to have a text file or soemthing similar that would contain the revision number and branch name to serve as a log of which version is currently running on the live system. Is it possible to do this using either SVN hooks or a simple post build script in visual studio? Here is a full breakdown of how I did it Create

In cmake, how to specify dependencies of subdirectories in a scalable way?

ε祈祈猫儿з 提交于 2019-12-01 20:59:30
Suppose the source tree is in this structure: / |- lib1 | |- src.cpp | |- lib1.h | |- CMakeLists.txt | |- lib2 | |- src.cpp | |- lib2.h | |- CMakeLists.txt | |- lib3 | |- src.cpp | |- lib3.h | |- CMakeLists.txt | |- app | |- src.cpp | |- CMakeLists.txt | |- CMakeLists.txt Suppose: lib1 has function f(); lib2 has function g() which uses f(); app/src.cpp uses function g(); Nobody uses lib3. I want: in app/CMakeLists.txt, it only link to lib2. The logic here is, app/src.cpp only uses g(), so when writing app/src.cpp, we can't specify the dependency to lib1 because it is implementation detail of

Apache Ivy: resolving dependencies embedded in an installer

左心房为你撑大大i 提交于 2019-12-01 19:27:42
I have a problem with a build where I have to resolve non-standard artifacts through Apache Ivy. Problem: I have dependencies on two artifacts (a.jar and a-lib.jar). The two dependencies come only as part of a single installer (a_installer.jar). The installer can be downloaded, the embedded artifacts themselves not. It's possible to manipulate the installer to unpack the needed dependencies. Requirements: I have to resolve/download the artifacts during the build (I cannot keep the installer or the extracted artifacts with my code). I cannot use a repository to store the extracted artifacts.

LINQPad - can you run a linqpad script from the command-line?

风格不统一 提交于 2019-12-01 17:24:11
Is there a way to run a LINQPad script from the command-prompt (no gui)? If so, LINQPad would be handy for scripting C# and calling it from an automated build. lprun from LinqPad has already arrived: http://www.linqpad.net/lprun.aspx Yes, as of LINQPad v4.45.05 : LINQPad.exe "c:\path\to\my\script.linq" -run To close the LINQPad window, be sure to call this at the end of your script: Process.GetCurrentProcess().CloseMainWindow(); The ability to run LINQPad scripts from the command lines was just added in beta version 4.47 Full documentation on the new lprun.exe utility is available on: http:/

How to specify library dependency introduced by header file

做~自己de王妃 提交于 2019-12-01 14:37:38
Suppose in a CMake project, I have a source that is built into a library // a.cpp void f() { /* some code*/ } And I have a header // b.h void f(); struct X { void g() { f(); } }; I have another file: // main.cpp #include "b.h" int main() { X x; x.g(); } The CMakeLists.txt contains: add_library(A a.cpp) add_executable(main main.cpp) target_link_libraries(main A) Now look at the last line of the CMakeLists.txt: I need to specify A as the dependencies of main explicitly. Basically, I need to specify such dependencies for every source that includes b.h. Since the includes can be indirect and go

How to specify library dependency introduced by header file

我的梦境 提交于 2019-12-01 12:46:52
问题 Suppose in a CMake project, I have a source that is built into a library // a.cpp void f() { /* some code*/ } And I have a header // b.h void f(); struct X { void g() { f(); } }; I have another file: // main.cpp #include "b.h" int main() { X x; x.g(); } The CMakeLists.txt contains: add_library(A a.cpp) add_executable(main main.cpp) target_link_libraries(main A) Now look at the last line of the CMakeLists.txt: I need to specify A as the dependencies of main explicitly. Basically, I need to