deployment

File Packager instead of installer?

I have a problem and what I think is the solution. I feel that my solution is not new but don't know of any that have solved the problem the way I would like to. I write custom websites that integrate with an off the shelf cross media platform. We have three installs of this platform. Dev, staging and production. Nothing surprising here...

Using ClickOnce (or similar) for ASP.NET application

I'm looking for a way to providing users (administrators) of a web application to automatically (meaning it's opt-in to update, but the installation should be automatic when started) update said web application when new versions are released. The reason why I want an automatic approach is that I want the users to be able to update the ...

WEB-INF content access in another war..

Hi All, I have three war files (War-Common, War-Physical, War-Derivatives) and we are packaging them in an EAR file. I am able to access content (Images, CSS, JavaScripts etc.) of War-Common in War-Physical and War-Derivatives but I am not able to access content of WEB-INF folder of War-Common War. We are acutally placing jsp custom tag...

How should I handle Sphinx configuration in version control?

I have a problem with my development workflow and Sphinx. I want to keep configuration file for Sphinx in version control so it's easier to manage. This means it's easier to link the file to code updates, etc ... However, the configuration file is stored in /usr/local/etc. There are two solutions I can think of. Store the file in the r...

VSTO Deployment not working on Computer without Visual Studio

I have written a Outlook 2007 Add-In. I added a Setup Project to it, and it built the dependencies itself. When installed on a computer without visual studio, I get the following error message in the "Trust Center COM Add-in Manager": "Load Behavior: Not Loaded. The Managed Add-In Loader Failed to Initialize" Detected Dependencies ...

HRESULT = '80004005' in Visual Studio 2008 Setup Project

When I try to build my setup project, I get the following error: "An error occurred while validating. HRESULT = '80004005'" (And Microsoft wins an award to clarity.) I Google to find that a small army of developers have had the same problem. Really the error should read: "Could not find a reference in one of your projects." Everyone...

Is there a way to make the VS2010 publish wizard to copy App_offline.htm while it is publishing the site?

After seeing the Hanselman "You are doing it wrong" video I start to use the Web Publish feature of VS2010. What I'm really missing is that the websites sometimes gives errors while the site is publishing because the feature does not copy the app_offline.htm file to the server. I do not want to start using MSDeploy scripts, because I ...

Deploying rake task to server

I have a couple simple rake tasks hosted at github that I would like to push to a remote server. It's essentially just a directory with a few classes and a Rakefile. What would be the best and/or simplest approach for deployment? I'm thinking the simplest might be just to clone the repo on my server and do a git pull whenever there's an...

Rails Deployment FASTCGI

I am currently using hostmonster.com for hosting rails application. Does anyone use them? I notice that they are a bit slow with rails applications. Why is that? Does rails really use that much in terms of system resources? Has anyone deployed using scripts, capistrano on hostmonster.com? This is my current .htaccess script. Could writi...

one XCode Project multiple iPhone apps

Hi, I tried to create multiple iPhone apps using same XCode project and that worked ok, but when I want to install all of them into my iPhone, iTunes instead of adding the second app as new, it want to replace the existing one(the first one installed) with the second one. I used for each application a different target and made a script...

ant check internet connection

Is there a way to check in ant if an internet connection is available. ...

Thin(ner) standalone client for Enterprise Application

First a little background: I'm working on an enterprise application (ear) with an EJB module & an Application Client module. I also use hibernate JPA for persistence, and swingx for GUI. Those are the only third parties atm. This application is deployed on Glassfish. Everything was going well until I deployed my application for the fir...

global.asax works on local computer but not after i publish to server

i think this has been asked before but i just cannot figure this one out. I have added a global.asax file to my project (using asp.net with c# from vs2010) and works great on my local machine. then when i publish to our site (i publish to ftp site and then copy from the ftp folder into the site folder overwriting old files) and it doesn'...

Android: Set Shared Preferences during Installation?

Does Android provide smth. like that OR do I have to check every time during start of my app "Oh, am I freshly installed? Do I have to initialize the Shared Preferences now?" ...

What are reasons for Outlook 2007 to not load CLR 4 with installed VSTO 2010 and a registered managed application level add-in targeting .net 4?

Hi! I have developed an application level add-in for Outlook targeting Outlook 2010 and .NET 4 and I want to run it on Outlook 2007, which should not be a problem due to the new "no pia" feature of .NET 4 (see this blog post). However, after deploying the add-in with my Windows Installer package (the same package works for Outlook 2010...

Reboot on installation of .CAB WM

On a windows mobile 6 or CE5 device, I need to install a CAB file then initiate a reboot. I am aware of custom actions, you need to create a setup.dll for the CAB file in native C++. So I have the following code already made codeINSTALL_EXIT Install_Exit(HWND hwndParent, LPCTSTR pszInstallDir, WORD cFailedDirs, WORD cFailedFiles, WORD...

deployment problem - files point to dev version

Hi, I just published a website in vs2008 and FTP it to the live site and there is an error where some of the files are pointing to the dev server?? Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: An unhandled exception was generated during the execution of the cur...

Weblogic EJB deployement: classes in jar inside ear are not accessible

I'm trying to deploy an ear containing an ejb application into a weblogic 9.2 server. This ear is created using maven (itself using the ear ant task). Maven produces the following structure: myApp.ear - META-INF - application - MANIFEST.MF - dependency-1.jar - dependency-2.jar - ... - dependency-n.jar - myEjb.jar The mani...

URISyntaxException Illegal character when deploying WAR file in Weblogic

We're deploying the same web application multiple times on the same weblogic domain, for multiple test environments. Even though we use different servers and ports, we find it convenient to use different names to easily identify the deployed application. So far, we've put the environment name in the application name, between brackets, ...

Deploying a Rails app: Uninitialized constant Haml::Filters::Markdown

I am in the process of deploying a Rails application (that works fine in development) to a new production server running Apache and Passenger. When I navigate to the main page, I get the following in my production.log (along with a 500 Internal Server Error from Apache): ActionView::TemplateError (uninitialized constant Haml::Filters::M...