build

Automate VS2005 Publish Web Application Project

I want to automate publishing a VS2005 ASP.NET Web Application Project to a disk path from the command line as part of my build process (i.e. the equivalent of selecting Build/Publish from the IDE). I've tried Microsoft's Web Deployment Project, and it seems half-baked to me: it deploys files that are not part of the Web Application pro...

Apache Ant Build command "Access Denied"

Hey! I am trying to get ant installed and actually already did following this instructions however, I get this error: Buildfile: build.xml does not exist! Build failed which it says there I might get so I just tried executing the next command it says I should(since I'm under Windows it's this one): build -Ddist.dir=<C:\Ant> dist an...

Why is there no need for Maven in .NET?

I have the impression, that in the .NET-world, there is no real need for a Maven-like tool. I am aware that there is Byldan and NMaven (is it still alive?), but I have not yet seen a real-world project that uses them. Also in most .NET projects I have worked on, there never was voiced an need for a Maven-like tool. The problems Maven m...

Where is the servlet jar file on JBoss 5.0.1?

Hi All: I'm trying to set up my build file to be run for deployment on JBossAS 5.0.1, and I need to find the servlet jar file that I should use for the build.. All of the web pages I've looked at seem to indicate that the file is javax.servlet.jar and it should be in the C:\< install dir >\server\default\lib directory. I'm looking in th...

How Delphi 2009 converts Delphi 7 projects re build configurations

I'm moving frequently between D7 and D2009 with library code that works with both. For ease of going both ways, I'm routinely deleting all the D2009 additional files that get created, eg *.dproj etc such that on entry to D2009 I'm only ever taking D7 files. This is nice because D2009 automatically makes a *.dproj, *.dgroup etc and apart ...

Why doesn't my Ant master build file work properly?

We have a bunch of Ant scripts, one for each of our subprojects. In the end we want to run all of these from a master build script and do some other housecleaning to package the whole project. Each of the individual Ant scripts is named ant.xml and is in the subdirectory of its project. Each uses an Ant import to import an ant-commons.xm...

Classpath validation in ant

I have a <path id="..."> in my build.xml. Before invoking the compiler I want to verify that every jar/directory on the classpath exists and print a warning with the missing ones. Does anybody know an existing solution or do I need to write my own task for that? OK, I decided to go for a custom task. Here it is, in case anybody eve...

Need to build (or otherwise obtain) python-devel 2.3 and add to LD_LIBRARY_PATH

I am supporting an application with a hard dependency on python-devel 2.3.7. The application runs the python interpreter embedded, attempting to load libpython2.3.so - but since the local machine has libpython2.4.so under /usr/lib64, the application is failing. I see that there are RPMs for python-devel (but not version 2.3.x). Another...

How to Set the Working Directory in NAnt?

I am just getting started using NAnt. I was working from a tutorial, and just trying to set a target to clean my solution on build. My Visual Studio Solution structure is as follows: Solution Folder Project Folder Project Folder Tools Folder NAnt Folder The NAnt .exe file resides in the Tools/NAnt folder. My .build file is also i...

Matplotlib Build Problem: Error C1083: Cannot open include file: 'ft2build.h'

ft2build.h is located here: C:\Program Files\GnuWin32\include Initially, I made the same mistake as here: http://stackoverflow.com/questions/160938/fatal-error-c1083-cannot-open-include-file-tiffio-h-no-such-file-or-director but since then, I've corrected that particular error (I've added the above directory to the "include" list, ra...

iPhone touch methods not working with release build

Hey all, I'm having a strange issue where a custom control I've built for the iPhone works perfectly when building in debug mode but only works partially when built in release mode. The main wrapper view is a subclass of UIView and it contains a row of "buttons" that are added as subviews. The custom button class extends UIImageView an...

Should developers work in sandboxes?

If developers perform unit testing in their development environment before checking in to source control should that environment (including test failures) be shared? Should all builds be public? ...

From Visual Studio C++ 6.0 to VS 2008?

I work in a company doing C++ development on VC6, and we're considering a move to VS 2008. What are the benefits of upgrading? What are the cons? Any guides/steps on migrating project files, or gotchas I should be aware of? Are people ok with moving to the different development interface? ...

Don't publish particular folder in ASP.NET

Is it possible to exclude a folder in a web project from being published? We've got some documentation and scripts that included in a particular project folder, and are added to the project, but when I do a VS publish, I don't want them to go up to the production server. I know they shouldn't be in the project, but I thought I'd find a ...

Ruby on Rails. How do I use the Active Record .build method in a :belongs to relationship?

I have been unable to find any documentation on the .build method in Rails. (I am currently using 2.0.2) Through experimentation it seems you can use the build method to add a record into a :has_many relationship before either record has been saved. for example Class Dog :has_many :tags :belongs_to :person end Class Person :h...

How can I determine the project directory and other environmental variables in SunStudio?

I'm currently trying to add a post build step to a SunStudio project's build/make file, but to continue I need to know the project's directory. Problem is ${PWD} doesn't return the current directory and I can't find any environmental variable like ${PROJECTDIR} or what not. Actually in a more all encompassing way my problem is that I ca...

placefile in Visual Studio

Hello everyone, I heard we could use placefile/binplace in VSTS to do task of copying existing file (already built) to other build repository location. But after quite some time search in both Google and MSDN library, I did not find any specific help for beginner. Any recommended readings for a beginner for this topic? thanks in advan...

msbuild -p option

Hello everyone, We could use msbuild to build project from command line. My question is about -p option. This option is used to specify property key/value pairs. My question is, besides the key/value pair assigned by -p option from command line, any other already existing defined options? If there are such existing defined options, wher...

Faster javac/ant?

I find java starts up and runs practically instantly for me - but javac takes a few seconds, and ant makes it slower again. It's only a few seconds, but my edit-compile-test loop would be smoother without it. :-) BTW: I've already used vim's ":make" with ant. Is there a way to speed up javac and/or ant? I'm thinking of special switc...

Visual Studio Debugging/Building

I have a solution that has a plain old asp.net website and a winforms app. I have the winforms app set as my startup application. When I press (CTRL+)F5, it just runs the app without building. So, my changes aren't built into the program. What should I do to fix this? EDIT I don't want to have to go to the build menu and then debug....