build-automation

Maven2 & Swing projects: Build & run swing application

只谈情不闲聊 提交于 2019-12-03 09:28:42
问题 I tried to find info on how to use maven to build and run a swing application but couldn't find anything useful (maven documentation is a mess). Can someone point me to relevant documentation? Is anyone using maven in swing development ? 回答1: I'm guessing that you want to run your app from a maven command. You can use the exec plugin like this: <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.1-beta-1</version> <executions>

Build all binaries for different Android app stores in a single step

谁说胖子不能爱 提交于 2019-12-03 09:15:43
I currently distribute my Android apps on Android Market, SlideMe and Amazon app store. Android Market and SlideMe require a signed binary, while Amazon requires an unsigned one. I also need to differentiate some of the code to be compiled depending on which store I'm targeting. Currently I only need to display different text/link information, but in the future there may be a need to change things like included libraries. I am using Eclipse on Windows to build my projects. I am looking for the easiest way to conditionally compile the code and create multi-target builds as required for each

WiX undefined preprocessor variable

女生的网名这么多〃 提交于 2019-12-03 08:06:28
问题 I'm starting to use WiX in order to do automated builds to create msi's of my c# projects and am experiencing the error "Undefined preprocessor variable '$(var.MyProject.TargetDir)'" I am using the latest WiX v3.0.5419. Inside my wxs file I am trying to use pre-processor variables that are listed on this webpage (http://blogs.msdn.com/jrock/archive/2008/01/29/complete-list-of-candle-preprocessor-variables.aspx) <Component Id="MyId" Guid="MyGuid"> <File Id="MyId" Name="MyName" KeyPath="yes"

What tools do you use for Automated Builds / Automated Deployments? Why? [closed]

对着背影说爱祢 提交于 2019-12-03 07:30:11
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . What tools do you use for Automated Builds / Automated Deployments? Why? What tools do you recommend? 回答1: Hudson for automated builds

How to set up maven 3 local plugin repository

只谈情不闲聊 提交于 2019-12-03 07:21:10
I need to have a completely offline maven repository due to some limitations. According to http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException , only <pluginRepositories> are searched for plugins. So I am wondering how to configure maven to look up plugins in a local file system. I tried using "file://" prefix when setting <url> but it doesn't work. DEBUG] Verifying availability of /home/dsun/.m2/repository/org/apache/karaf/tooling/features-maven-plugin/2.3.0/features-maven-plugin-2.3.0.jar from [central (http://repo1.maven.org/maven2, releases=true, snapshots=false,

Infragistics components on build server

泪湿孤枕 提交于 2019-12-03 07:03:17
问题 I have "inherited" a new (old?) Winforms project and would like to put it onto our build server (Bamboo). That build server has only the absolute minimum (.NET 3.5 and not much more) installed, and we'd like to keep it that way. As a first step, I extracted all the assembly files (*.dll) for the Infragistics components into a separate directory and referenced them from that local directory (instead of relying on them being installed in the GAC). Works OK. But when I try to run this build on

How to send key events to a headless emulator in an instrumentation test?

一世执手 提交于 2019-12-03 06:55:09
We are currently working on an instrumentation test suite which runs on our build server, but while the tests pass on a dev machine using a normal Android emulator, the builds fail on the build server since there we only run a headless emulator with the -no-window flag. The failure occurs when trying to invoke the InstrumentationTestCase.sendKeys() method to programmatically open the options menu. The error is: Permission denied: injecting key event from pid 646 uid 10026 to window Window{43d55100 paused=false} owned by uid 1000 We then found out that there's a INJECT_EVENTS permission, but

How to synchronize SVN revision and version ressources of EXE/DLL files?

前提是你 提交于 2019-12-03 06:05:12
问题 Say I have some C++ project which builds an exe or dll file. The project is checked into a SVN repository. I want to automatically synchronize the revision from SVN with the version resource embedded in my exe/dll file, i.e. the version should be something like $major.$minor.$svn_revision . Any ideas on how to achieve this? Are there any out-of-the-box solutions available? 回答1: If you have TortoiseSVN installed, then there is a program installed with it, SubWCRev . If, in your file, you have

Are there any good build frameworks written in Python?

一世执手 提交于 2019-12-03 05:53:23
问题 I switched from NAnt to using Python to write build automation scripts. I am curious if whether any build frameworks worth using that are similar to Make, Ant, and NAnt, but, instead, are Python-based. For example, Ruby has Rake. What about Python? 回答1: Try SCons Or are you looking for something just to build python projects? 回答2: The following look good, but I haven't used them (yet): Paver waf doIt Paver looks especially promising. 回答3: My Rapid Throughts: SCons is quite mature and oriented

How to run a script after Xcode runs codesign on my iPhone app?

老子叫甜甜 提交于 2019-12-03 05:39:16
I've got a script written which does some steps to package my build for an Ad Hoc distribution. My first guess was to use a run script phase in my Ad Hoc target. But it looks like codesigning is fixed at the last position in the chain of building iPhone apps. Somebody has a clue how can I run my script at the very last possible moment in the build process? Update: Look at this answer below on how to run scripts in Xcode 4. Can you create an aggregate target that contains both your "Ad hoc" target and a run script build phase (that runs after the "Ad hoc" target)? A short update on that topic: