build-process

Clean Windows Azure Website

大城市里の小女人 提交于 2019-11-26 22:51:59
问题 My ASP.NET MVC project pushed to a Azure website with an extra DLL which is invalid. This is keeping the project from running correctly. If a new website is created it works perfectly. Cleaning the project locally and redeploying does not fix the problem. Is there a way to perform a "remote clean?" This project is being deployed directly from Visual Studio with the publish menu item. 回答1: When you right click and click Publish Web on the left hand side there should be a settings tab. Click

Building a runnable jar with Maven 2

和自甴很熟 提交于 2019-11-26 21:17:19
I'm relatively new to the Maven mantra, but I'm trying to build a command-line runnable jar with Maven. I've setup my dependencies, but when I run mvn install and attempt to run the jar, two things happen. First, no main class is found, which is correctable. When I've corrected this, I get errors on run stating that classes cannot be found. Maven is not packaging my dependency libraries inside of the jar, so I am unable to run the jar as a stand-alone application. How do I correct this? Pascal Thivent The easiest way to do this would be to create an assembly using the maven-assembly-plugin and

How to filter the xcodebuild command line output?

帅比萌擦擦* 提交于 2019-11-26 19:45:10
问题 Running xcodebuild from the console will bring you very verbose output and I wasn't able to locate any options for limit its output in order to display only warnings and errors. I'm looking for a way to capture the xcodebuild output and filter it. It would prefer a Python solution that will work with pipes but I'm open to other approaches as long they are command line based solutions. Are any tools that are already able to do this? 回答1: To only see the error output messages, redirect the

How can I make Visual Studio's build be very verbose?

爷,独闯天下 提交于 2019-11-26 19:39:40
I need to get a hold of every flag, every switch used in the build process by the Visual Studio binaries. I tried to obtain a verbose output by using vcbuild , but I wasn't able. What do I have to do to see everything performed by Visual Studio for me? It's not necessary to obtain the output in the build window. Anywhere would be fine. Tim Dowty Open the project properties dialog, then choose Configuration Properties → C/C++ → General Change the setting for Suppress Startup Banner to No The cl command line(s) will be shown in the output window. Sam Harwell Menu Tools → Options → Projects and

Why maven? What are the benefits? [closed]

喜欢而已 提交于 2019-11-26 19:18:22
What are the main benefits of using maven compared to let's say ant ? It seems to be more of a annoyance than a helpful tool. I use maven 2, with plain Eclipse Java EE (no m2eclipse), and tomcat. Supporters of maven believe that Maven lets you get your package dependencies easily Maven forces you to have a standard directory structure In my experience Figuring out package dependencies is really not that hard. You rarely do it anyway. Probably once during project setup and few more during upgrades. With maven you'll end up fixing mismatched dependencies, badly written poms, and doing package

Git workflow - Setting up a build process

耗尽温柔 提交于 2019-11-26 19:07:43
Disclaimer: I've been using Git for a while but still find it confusing. I'm setting a build process for a project and am running into a problem updating the git repository. I created the repository on the server, lets say C:\MyProject. I connected my computer to the repository with SourceTree. Do a pull and get all my code, everything is great so far. I go to make a commit but get an error saying: "refusing to update checked out branch... By default, updating the current branch in a non-bare repository is denied" Use Google a bit, and I realize that the git repository on the server shouldn't

Displaying build times in Visual Studio?

我只是一个虾纸丫 提交于 2019-11-26 18:13:21
Our build server is taking too long to build one of our C++ projects. It uses Visual Studio 2008. Is there any way to get devenv.com to log the time taken to build each project in the solution, so that I know where to focus my efforts? Improved hardware is not an option in this case. I've tried setting the output verbosity (under Tools / Options / Projects and Solutions / Build and Run / MSBuild project build output verbosity). This doesn't seem to have any effect in the IDE. When running MSBuild from the command line (and, for Visual Studio 2008, it needs to be MSBuild v3.5), it displays the

How to get cmd line build command for VS solution?

≯℡__Kan透↙ 提交于 2019-11-26 18:06:18
问题 This is probably easy but I am getting stuck: when I build a solution in Visual Studio - how do extract the exact cmd line for the current build command in order to be able to do the same build from VisualStudio console? In the output window I can see the single projects in the solution build commands but not the one for the whole solution. I am on VS2005. Any help would be appreciated 回答1: In addition to what @JohnIdol says correctly, I've found that you need to setup a number VS environment

How to get Target name?

旧街凉风 提交于 2019-11-26 16:57:53
问题 We know that Xcode maintains environment variable of ${TARGET_NAME} but how to access this variable in objective-C code ? What I have tried ? I have added "TARGET_NAME=${TARGET_NAME}" this in Preprocessor macros section of Build Settings. But now I am not sure how to use this variable "TARGET_NAME" as a string in objective-C code. In my case product name and target name are different so, no chance to use that. I tried to access using #ifdef TARGET_NAME NSLog(@"TargetIdentifier %@",TARGET_NAME

Maven for other languages? [closed]

ぐ巨炮叔叔 提交于 2019-11-26 16:42:04
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 months ago . I am relatively new to the world of Java and Maven, but I couldn't imagine starting a new Java project without using Maven. The idea of providing a human-readable project model is something that I would imagine is universally desirable across many languages. This is especially true when your application relies