build-process

How to display buildnumber in spring-based web application

て烟熏妆下的殇ゞ 提交于 2019-12-21 04:15:38
问题 I need to display build number in my index.jsp page <!DOCTYPE HTML> <html> <head> <meta charset="UTF-8" /> <title>Title (build: BUILDNUMBER ) </head> The build number can be supplied by maven into a *.properties file. What is the best way to read *.properties file and display a property with Spring? 回答1: You may load the .properties file as a localization message source (using ResourceBundlerMessageSource) and access it in JSP using <spring:message> or <fmt:message> : src/main/resources

How to set Ant properties based on variables in Eclipse?

无人久伴 提交于 2019-12-21 03:45:48
问题 I have a common problem and there are probably countless ways to solve it. I'm looking for an elegant, simple solution to this typical scenario: I have a project in Eclipse with an Ant build file (build.xml) the build file uses a property file (build.properties). In that property file, I want to set a property that points to the root directory of the eclipse project such as: project.root = /path/to/eclipse/workspace/projectName or preferably: project.root = ${path.to.eclipse.workspace}

How to define suppressions-definitions for checkstyle, that work with both ant and eclipse

寵の児 提交于 2019-12-21 01:19:12
问题 I use in a project checkstyle and I have defined a SuppressionFilter in my checkstyle-configuration. I use Apache ant to make automatic builds via Continuous Integration. My problems comes from the following situation: I don't want to fill to much files into the project-basedir, so the checkstyle.xml and the suppressions.xml are both in a subdirectory named conf (for configuration for build). Now Ant and Eclipse work differently for finding the suppressions.xml. Ant use the project-basedir as

How to use system environment variables in VS 2008 Post-Build events?

我只是一个虾纸丫 提交于 2019-12-20 18:04:04
问题 How do I use system environment variables in my project post-build events without having to write and execute an external batch file? I thought that it would be as easy as creating a new environment variable named LHDLLDEPLOY and writing the following in my post-build event textbox: copy $(TargetPath) %LHDLLDEPLOY%\$(TargetFileName) /Y copy $(TargetName).pdb %LHDLLDEPLOY%\$(TargetName).pdb /Y ...but alas, no. The build output shows that it wrote the files to the " %LHDLLDEPLOY% " folder (as "

When & How to use ILMerge with Visual Studio Project / Solution

北城余情 提交于 2019-12-20 14:42:49
问题 I'm developing a medium sized enterprise application. There are many projects / solutions to this. For example: Company.Data Company.Data.LinqToSql Company.Entities (business objects) Company.BLL I then have some applications - for example a windows service: MyWindowsService. When i deploy this (by creating a setup project) it installs a load of DLL's from the output of the above mentioned projects. Is this where i should be using ILMerge? to create one assembly.... Company.dll for example?

Is there a way to separate long running (e.g. stress tests) out so they're not run by default in Maven 2?

筅森魡賤 提交于 2019-12-20 09:55:25
问题 We've had an ongoing need here that I can't figure out how to address using the stock Maven 2 tools and documentation. Some of our developers have some very long running JUnit tests (usually stress tests) that under no circumstances should be run as a regular part of the build process / nightly build. Of course we can use the surefire plugin's exclusion mechanism and just punt them from the build, but ideally we'd love something that would allow the developer to run them at will through Maven

What Tools Do You Recommend To Auto-Build Your Application? [closed]

青春壹個敷衍的年華 提交于 2019-12-20 09:44:33
问题 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 7 years ago . As recently as several years ago, the developers actually made the builds that went to clients. This was obviously a disaster for reasons too numerous to list. Then when we started to learn the errors of our ways, we looked for a way to auto-build the entire application on a dedicated build machine. The culture

How do I run a universal app on the iPhone 3.1.3 simulator?

安稳与你 提交于 2019-12-20 09:13:27
问题 I'm working on a new app that I want to be universal for the iPhone and iPad. I started out with the "Create a Window-based app" wizard, and it created separate app delegates in "iPhone" and "iPad" groups. Since I already was quite familiar with iPhone dev, I did that part of my project, and now I'm ready to do some iPad stuff. So... I started out by adding a UISplitViewController to my iPad delegate, switch the Active SDK to 3.2, and it works! But when I switch back to 3.1.3, and try to run

What is build automation software (for example, Ant)?

旧街凉风 提交于 2019-12-20 08:59:36
问题 I see reference of ant a lot but I don't get exactly what its meant to do? from what i've heard its supposed to compile your projects but can't i just do that by clicking Run->Run in eclipse? Edit : I guess I should rephrase my question. I already know that ant is a 'build automation software', my question is, what exactly is build automation? I thought that you're supposed to test your app, and when it is running you click the 'build' button in eclipse or through command-line java, and it

What toolchains exist for Continuous Integration with C++?

久未见 提交于 2019-12-20 08:59:16
问题 Continuous Integration toolchains for .NET, Java, and other languages are relatively well defined, but the C++ market seems to have a lot of diversity. By CI "toolchain" I specifically mean tools for the build scripts, automated testing, coding standards checking, etc. What are C++ teams using for CI toolchains? 回答1: Another option might be buildbot. It's written in python, but is not just for python apps. It can execute any script for doing your build. If you look at their success stories,