packaging

VB6 P&D Installations, "The destination file is in use..."

I am maintaining an application written in VB6 and we currently use package and deployment wizard to create installations for our project. When most users try to install this software they get the error message: "C:\WINDOWS\system32\vbajet32.dll The destination file in in-use. Please ensure that all other applications are closed." Can...

Questions about Setuptools and alternatives

I've seen a good bit of setuptools bashing on the internets lately. Most recently, I read James Bennett's On packaging post on why no one should be using setuptools. From my time in #python on Freenode, I know that there are a few souls there who absolutely detest it. I would count myself among them, but I do actually use it. I've used ...

How to structure a Java EE system? How is the term application and thus the content of an EAR defined?

I am in the process of designing a build system and the directory structure for a large software system developed with JEE 5. The build system will be implemented using ant. We have multiple different services, which are grouped thematically. Each service offers either a web service or EJBs. Each service runs on a dedicated application ...

Gnome, Python, and distutils (setuptools)?

Currently I'm using the auto-tools to build/install and package a project of mine, but I would really like to move to something that feels more "pythonic". My project consists of two scripts, one module, two glade GUI descriptions, and two .desktop files. It's currently a pure python project, though that's likely to change soon-ish. L...

What is the best way to group individual autotools projects into another "project"?

I am going to be creating a "library of libraries" and would like each individual project to be managed using autotoolset. In addition, I would like to be able to build the whole set of libraries at the same time. Individual libraries: libyarconveniencezzz libyarfoo libyarbar libyarbaz I suspect that I might need to just have a top ...

Package and run a Java application with spring dependencies

I built a stand-alone Java application that has a bunch of dependencies (Apache Commons libs, etc) as well as a dependency on the Spring framework, which in turn has a bunch of dependencies. I built this in Eclipse, where it runs fine. Now I need to deploy it to production and so I'm trying to figure out the best way to package it with ...

Python Daemon Packaging Best Practices

I have a tool which I have written in python and generally should be run as a daemon. What are the best practices for packaging this tool for distribution, particularly how should settings files and the daemon executable/script be handled? Relatedly are there any common tools for setting up the daemon for running on boot as appropriate...

When is it (not) appropriate to bundle dependencies with an application?

Summary I recently had a conversation with the creator of a framework that one of my applications depends on. During that conversation he mentioned as a sort of aside that it would make my life simpler if I just bundled his framework with my application and delivered to the end user a version that I knew was consistent with my code. I...

Multiple Java projects and refactoring

I have recently joined a project that is usiing multiple different projects. A lot of these projects are depending on each other, using JAR files of the other project included in a library, so anytime you change one project, you have to then know which other projest use it and update them too. I would like to make this much easier, and w...

Packaging to use to deploy cross-platform?

On windows applications are typically packaged as MSI, on Redhat Linux as RPM, what would be a best open source packaging method that could be used to deploy applications to all platforms including different flavors of unix and windows? Contents would include exes, unix binaries, java jar files, user data, even database scripts to be ru...

figure out whether python module is installed or in develop mode programmatically

I tend to develop my apps in 'setup.py develop' -mode. I'd want the configuration to switch automagically on production mode when the program gets 'setup.py install'ed. This can be done by poor hacks, like checking whether installation directory contains 'setup.py', but I wonder whether pkg_resources can do this for me somehow. ...

File location of compiled iPhone app?

Hi, I'm writing an iPhone app in simulator/debug mode at the moment. I'd like to know, after I build it, where does the binary go? I want to send this file to my friend to show him what I'm doing so far. Also, how do I package apps into .dmg files? That seems to be the better format to send app to other people? ...

Is including system test cases into the final packaged product of your application contributing to bloat or increasing risk?

I am packaging up an rpm file which has a %postinstall section that detects certain conditions and runs a suite of unit, function, and system tests. I am getting some push back that it exposes some of the internal structure as I use some of the same environment variables the code itself uses for diagnostics. Thoughts? UPDATE: I am no...

Packaging a vb6 project with multiple files with the same name

I'm using Package & Deployment Wizard to package a VB6 project. However, I recently have added a third party library that depends on a directory of XML data files. These files are split into sub directorys and some of the sub directories contain files with the same name as files in other sub directories but they are different files. I ca...

How to upload a pristine Python package to PyPI?

What's the magic "python setup.py some_incantation_here" command to upload a package to PyPI, in a form that can be downloaded to get the original package in its original form? I have a package with some source and a few image files (as package_data). If I do "setup.py sdist register upload", the .tar.gz has the image files excluded. ...

How to sort associated classes from different projects

I have a situation where I'm refactoring old code, taking apart an old monster project and splitting it (for various reasons) into smaller sub projects. One project is going to end up containing mostly interfaces while their associated implementations are in another project, and I'm not sure about the best way of setting up the package s...

Building Linux packages for multiple distributions and versions

My company has a software product that's written in C for a Linux platform, built with autotools and distributed via binary packages. To make the binaries, we first produce a source RPM and then compile the source from the SRPM. Currently we only provide RPM packages for 64-bit Fedora 10, but we want to start providing packages for mul...

What is the correct directory layout for a web server under Mac OS X?

I'm packing the Cherokee Web Server, a very very fast webserver with a nice web-based GUI for configuration written by the spanish hacker Alvaro Lopez Herrera and available from http://www.cherokee-project.com. So far, I've managed to create a .pkg installer using Apple's PackageMaker.app that comes with Xcode but i'm installing everyth...

define ant property from environment with default value

Hello Friends, I would like my build script to act property for release and development environments. For this I would like to defined a property in ant, call it (for ex.) fileTargetName fileTargetName will get it's value from the environment variable RELEASE_VER if it's available, if it is not available it will get the default value ...

How do you implement the "one step build" for a LAMP project?

Having the "one push build" to take your changes from development environment to live server is one thing that is very nice to have and often advocated. I came on board with a small team running in a LAMP stack and use SVN for version control, currently deployed on a single production server (another server for development and soon to...