deployment

What if setuptools isn't installed?

I'm just learning the art of writing a setup.py file for my project. I see there's lots of talk about setuptools, which is supposed to be superior to distutils. There's one thing though that I fail to understand, and I didn't see it addressed in any tutorial I've read about this: What if setuptools isn't installed? I understand it's not ...

How to inhibit start of WAR file within EAR file configuratively?

I have an ear file which contains 4 war files. The main reason we put those together is, that the order of startup is important, and it is easier from a deployment perspective (the customer only gets one file and does not have to worry about which versions works together). The ear files are going to be deployed on 4 different systems, w...

Why aren't my users seeing the latest updates when I release a new version of our website?

Last Thursday we just released a new version of our website. The big change was we converted from Prototype to jQuery. This of course included lots of changes to referenced javascript files. There were new css file changes as well. Unfortunately, many of our customers aren't seeing the changes. I even had one customer clear their browser...

Liferay: When to go for multiple war files

Hi I have a requirement where there are few scenarios. User registration(There are different types of users say buyer, seller, moderator etc) search feature where a seller/buyer could be searched with few keywords user dashboards search functionality can be exposed as webservice in future. I identified that first 3 can go as separa...

What's the right way to manage a release with SVN?

My last employer had developed an elaborate system which sat on top of SVN to deal with ongoing development: (change management) look at bugs/issues and associate them with commits when making the commit by tagging the bug id number and (release management) tag items in SVN as part of a specific release based on the bug/issue tracking sy...

Deploying a Django Opensource Application with dependencies

I'm working with a friend on a web application we'd like to distribute and we're working in Django. I'd like to make sure deployment is as easy as possible for potential users. It seems that Django uses shared installed libraries alot and I'd like for folks to just need to download our latest version, unzip, edit a config file or two a...

Upgrades to Drupal in production

Does anyone have a good Drupal upgrade strategy for an install that is in production? No one talks about this in books and it's hard to find a definitive answer in forums and email lists. Ex: Lock down prod, don't allow updates to data copy prod copy prod database to dev turn off all modules in dev upgrade core Drupal in dev (update ...

Help with Application Licensing/Protection Solutions

I have up until recently developed only in-house custom applications and I have never had a need to protect this software with any type of licensing/protection mechanisms. I’m now working on a new project for a software app that I plan on distributing to a relatively small number of clients (1000 or so) and I need to consider some type...

C# console app deployment

I have a simple C# console application developed on my local machine using VS2008 Pro. I want to know how to deploy this solution onto a network share folder? A similar Java console program is already placed (as a JAR file) in the same network share folder. Users simply open command prompt, navigate to shared folder and type "java -jar ...

Making .NET configuration environment-neutral

I want to get some thoughts on best practices around making .NET app configuration environment-neutral. Background. Some background first. I come from the Java world, not the .NET world, and in Java there are certain things that we can do to build packages that are environment-neutral. They are generally based on abstracting the configu...

Override session management via deployment descriptor

We have a WebSphere Application Server 6.1. Session management is configured with replication and timeout etc... (the obvious). An new project needs some other settings for session management (longer timeout, no replication necessary). There is a check box in the WebSphere Admin Console: Enterprise Application > appname > Session manag...

Do you develop your Perl applications as CPAN modules?

Recently I read a blog post saying that it is a good practice to develop Perl applications just as you would develop a CPAN module. (Here it is – thanks David!) One of the reasons given was that you could simply run cpan . in the project dir to install all the dependencies. This sounds reasonable, and I also like the “uniform interface” ...

Force rules for build and deployment

Our web project is source-controlled with SVN. It contains MSBuild file to build local, test and production builds. We also use CruiseControl.NET to deploy production and test versions to servers manually (not after every commit). The question is how to check that if production deployment is being done using CC.NET web project is built ...

Deploying with a folder structure.

Good day all, I have written an application that i require to have a certain directory structure/. Nothing complex but it will need an "Images" Folder which contains two other folders "Temp" and "Complete". These folders are in my solution however upon publishing all the folders are gone and i can not find any way in which to cause the...

ClickOnce Icon when updating the app doesn't use my default application icon

I am deploying with ClickOnce. My app has a default icon, which is used fine. When updating (via clickonce) the update window does not use my application icon (it uses the default no icon). I can't find a way to change this to use my application icon. Does anyone know? Thanks! ...

Automatic Deployment to Multiple Production Environments

I want to update an ASP .NET web application (including web.config file changes and database scripts) to multiple production environments - ideally with the click of a button. I do not have direct network connectivity to any of them. I think this means the application servers will have to "pull" the information required for updating the ...

Deploying website with cookie-free domain path update for images and other resources.

I'm working on as asp.net application. The application is reasonably large and involves lot of pages with many reference images and scripts. I have hosted such content on a cookie-free sub-domain. My problem is - I have to manually update the path for all images and scripts upon deployment, by making them absolute-references to cookie-f...

Automatic Deployment of Webservice

We've been using Visual Studio 2008 to deploy/publish our webservices for a while now and we'd like to automate the build (get code from sourcesafe, build, label the code, copy files to test pc,...). For our other projects we use Kinooks Visual Build but I can't get it to deploy as Visual Studio does. As the developers at Kinook advised...

loading from JAR files during deployment vs development

hi when i am loading some data into my java program, i usually use FileInputStream. however i deploy the program as a jar file and webstart, so i have to use getRessource() or getRessourceAsStream() to load the data directly from the jar file. now it is quite annoying to always switch this code between development and deployment? is t...

Deploy Crystal Report dlls only using ClickOnce without using prerequisite .msi

Hi, I believe the conventional way to deploy Crystal Report with a .NET program is to set it as a prerequisite in the publish settings and then a .msi will be packaged with the ClickOnce files on the web/network/CD/wtv. When the user runs setup.exe, it will check whether Crystal Report is on the client computer. If not, it runs the Cry...