build

Flex application versioning

I'm not referring to CVS or SVN! The thing I would like to do is: I want to have a version number of the application ex. 0.0.120 I want to see this version number only in the About box or similar This version number should change everityme I hit debug or release. ex. my version was 0.0.120, after I hit debug in the FlexBuilder, the ver...

iphone project configurations and active sdk targets

I'd really like to have the various iphone configurations each targeting it's own sdk; right now I've set them up in this way: simulation : base sdk -> iphone simulator 3.0, no code signing debugging : base sdk -> iphone os 3.0, signed with provisioning certificate distribution: base sdk -> iphone os 3.0, signed with distribution cer...

Problem running firefox built from source (on Ubuntu 9.10)

The title of the question sums it up pretty well. I've downloaded the source for firefox 3.6 and built it (no errors), but when I try to run it, I get a warning that says: (firefox-bin:2857): GLib-WARNING **: g_set_prgname() called multiple times I'm not sure what to try now. Any suggestions? Or even a better place to ask this ques...

How to specify lib folder for JARs when using Android-generated ant build file ?

Im using an ant build file that has been generated by android. Our Android application requires a JAR file that lives inside the lib folder of our project, so I need to adjust the classpath that ant is using when it builds stuff. When I run: ant -lib lib debug the project builds just fine, but this should really be inside the build f...

How to ignore/prevent javadoc folder from validation during Eclipse Build?

In my war is a huge javadoc folder. There is no point in validating it since javadocs are produced by Sun(Oracle) javadoc utility. I have forgotten how I did it the last time. I need to tell Eclipse build not to validate that particular folder. Reasons why I need it: 1. the html produced by Sun javadoc generation utility does not meet t...

How to setup an Eclipse Project with multiple Subprojects (OSGi-Bundles)

Sherlog is an OSGi-based log analyzer, if I import this project as an workspace snapshot I receive lot's of projects in my workspace, but I would prefere to have them as subprojects in a project. The other option would be to checkout from svn, but then I face other problems (I don't know how to setup the dependencies for automatically...

How to add resource files during build on J2ee (eclipse + jboss)

hi, i'm trying to run a web servlet project in eclipse 3.4 using jboss 4.2.2 as my web server. im using the wtp plugin and everything looks good (can run and debug). but some of the files/resources are not included on the war file. in my "WebContent/WEB-INF" folder, i have "properries", "config", and "lib" folders. but it seems like w...

Sometimes Xcode appears to ignore target build settings?

Hi all, I've created a iPhone static library project with two targets like this Project --> Library (Device) target --> Library (simulator) target The device target has the SDK set to the device so it produces an armv6/7 library and the simulator target is set to the simulator SDK so it produces an i386 library. The issue I'm having ...

iPhone 4.0 on iPhone but still Ad-Hoc compile for 3.1.3?

Device: Version : 3.1 Build: 3511 Device: iPhone OS: iPhone OS 4.0 xCode 3.2.2 (Old) xCode 3.2.3 (New; For iPhone 4.0 Beta) Background: As you can see I installed 4.0 on my iPhone as I read on this forum it's really hard to near impossible to downgrade back to 3.1.3, but it's my only device I have and use for development. When I ...

Specify package name and output folder from Android-generated ant build file?

I dont want to hardcode the name of the package or where it lives when building an Android project with ant. Im using the build file generated by Android. What properties contain the output folder (bin) and package name (e.g. package.apk) ? ...

files build execution order

Hi, I have a data structure which is as given below: class File { public string Value { get; set; } public File[] Dependencies { get; set; } public bool Change { get; private set; } public File(string value,File[] dependencies) { Value = value; Dependencies = dependencies; ...

How to retrieve brand and model info by code on Android ?

There is an class android.os.Build that got static variables cointaining device info, but when i try to access it I allways get a runtime exception. E.x on how I try to access it: String model = Build.MODEL; I always get an Exception like this: 04-14 14:57:45.266: ERROR/AndroidRuntime(770): java.lang.VerifyError: com.mypackage.Main ...

Good approach for specificying list of build commands for a custom build application

HI, I have a custom build application which I use to build solutions using a console application using command line and this will run a set of commands such as compile, download source files, deploy etc. However I also want to provide debug functionality for running a specific set of commands only rather than a full build. Any suggestion...

WCF RIA Services build error

Hi I'm getting a strange error when building my WCF RIA Services Silverlight project in VS2008. In the output I have this message: C:\Program Files\MSBuild\Microsoft\Silverlight\v3.0\Microsoft.Ria.Client.targets(261,5): error : Failed to write the generated contents of 'C:\projects\[Path_To_Silverlight_Project]\Generated_Code\Analytics...

Visual Studio 2010 isn't building before a run when there are code changes. It was doing working yesterday.

I've been using using F5 (Start Debugging) for years to build the code (if its out of date), and then debug. This was working on VS 2010 also, however today it just start debugging without a build. Say I do a clean on the project, and then hit F5 instead of building it so it can run it throws an error message saying that the exe doesn't ...

How to skip building the current project and move on to the next project in the soltuion when building the solution

I have a condition, for simplicity let's say if a A.txt exist in the folder. I have couple projects in the solution, and when building projectB, I want it to check this condition and it should only continue to build the project (produce the project .dll file) if the condition failed. If the condition passes, it should skip the current ...

How are builds deployed into QA->Staging->Production for ASP.NET Web Applications?

Secondary questions are How do we best utilize SCM in the build process? How are code files labed and branched? Should we the .csproj and .sln files for build? How flexible are these when deploying to several environments? I know these are msbuild files. But as we add new files, this can become a bottlenect of updating and maintaining...

Ant build from Android-generated build file fails - how to fix?

Building our Android app from Ant fails with this error: [apply] [apply] UNEXPECTED TOP-LEVEL ERROR: [apply] java.lang.OutOfMemoryError: Java heap space [apply] at java.util.HashMap.<init>(HashMap.java:209) [apply] at java.util.HashSet.<init>(HashSet.java:86) [apply] at com.android.dx.ssa.Dominators....

How can I build in release in Visual Studio 2010 (C# Express)?

I'm used to VS2008, in which a release build would be built upon pressing F6, or in the menu Build > Build Solution. The build menu is gone, and although I can build the solution (through F6), it only builds the debug. I assume there is some kind of configuration manager now, but I can't find it anywhere. ...

Building vs. Compiling (Java)

Thinking that the answer to this is pretty obvious but here it goes: When I am working on a small project for school (in java) I "compile" it. On my coop we are using ant to "build" our project. I think that compiling is a subset of building. Is this correct? What is the difference between building and compiling? Related: ...