packaging

Best location for database file in Mac OSX

I'm working on an installer for an application that I have ported to OSX, but I don't have much experience with this OS so I want to know where is the most appropriate location to install a database file that will be used by my app. The database file is relatively small, and will be updated by a daemon process but must be accessible to...

How does the binary DAT from Maxmind work?

Maxmind offers a binary DAT file format for downloading their GeoIP database. http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz Does anyone know how this has been packaged? Also, is there any kind of copy protection on the data? I'd like to offer up a set of data in a similar way. Anyone with any knowledge of thi...

Reproducible custom distribution build system for Linux

The Problem I have a big infrastructure consisting of several kinds of servers running Linux. For instance, database servers, load balancers, application-specific servers. There are many instances of every kind of server, and all of them need to be reproducible. Every kind of server is basically a custom distribution. Customisations in...

Is there a way to package more than one .NET assembly in a dll?

I'd like to keep my components/assemblies clearly separated from a source code point of view but I also need in some circumstances (probably not relevant to expand) to package them in the same dll. Is it possible to package a number of .NET assemblies in a single dll? If so, How? IF possible, do you think it is a good idea? Why? Any ...

What is a good way to package django apps?

I have a django project which is installed by customers on their servers. I've got a few more apps which are optional plugins of functionality that can be installed/uninstalled. I'd like a simple way to package these plugin apps to make the install/uninstall painless. I dont want them to copy the template files to one directory, app to...

Netbeans: Creating custom build target to let sources be packaged to JAR...?

Hello! I ask the question more specific: Using Netbeans, is there a possibility to create an additional custom build target, which would: either package all project sources along with the binaries into a singe JAR, or package all project sources without the binaries into an additional JAR? Notes: It's not an option for me to mod...

Packaging Code + property file

I have packages.. a, b and c in my java application. I have a resources folder set for my application and it contains packages x, y, z. I need to package files in a,b and property file in x as a jar. I am using net beans 6.5. How do I achieve this! ...

Django package multiple files in a single download

In Django I'm looking for a way to serve several different files at once. I can't use static archives (.zip, .tar, etc.) because I don't have enough storage to cache these files and it will take far too long to generate them on the fly (each could be in the 100s of megabytes). Is there a way I can indicate to the browser that several fi...

Problem in Ruby Shoes packaging?

The (Ruby Shoes) packaging solution from Hacketyhack.net doesnt work. Can anyone point me to an alternative? ...

Packaging all libraries and resorces into 1 exe file

How can package a bounce of files into 1 single exe file? ...

Fix permissions for rpm/setuptools packaging

I have a project that requires post-install hooks for deployment. My method is to use setuptools to generate the skeleton rpm spec file and tar the source files. The problem is that I don't know how to control permissions with this method. The spec file looks like: %install python setup.py install --single-version-externally-managed ...

Creating a packed Binary Representation of a Set of Files?

So i am trying to work on my own little 3d game. Now i am more or less doing this to learn C#. I was wondering, what is the best methodology for packaging assets such as textures/scripts? Generally what i was thinking of doing was this: [header] [number of records] [Offset to Record 1 from End of header] [Offset to Record 2 from end of...

Order of JAR loading inside EAR's APP-INF/lib

Will adding a MANIFEST.MF file with Class-Path attribute to META-INF directory inside EAR influence the order of loading of JARs located in APP-INF/lib under WebLogic 8.1? ...

What is the prefered way to publish a binary-only application for multiple Linux distributions?

I have a closed-source Linux application that I want to distribute. This application is using wxWidgets/GTK so there is a huge list of shared libraries (60+) that this application depends on. What is the prefered way to publish the application and support the maximum number of distros? Is it to build the application for each supported...

Linux packaging abstraction layer written in Python?

I'm looking for a way to generate .deb and .rpm packages from my build scripts, containing the resulting products. Since everything is written in Python, I'm wondering if anyone knows of an abstraction layer that would allow me to drive both RPM and Deb construction from the same code? ...

Reasons to use distutils when packaging C/Python project

I have an open source project containing both Python and C code. I'm wondering that is there any use for distutils for me, because I'm planning to do a ubuntu/debian package. The C code is not something that I could or want to use as Python extension. C and Python programs communicate with TCP/IP through localhost. So the bottom line he...

How to merge wars into one?

In our company, we have a number different modules constructed as separate wars. Each client can pick and choose module he wishes to buy. Since all modules share same session, security context etc, it makes sense to merge them into a single war. Is it possible to automate this process? For example, it should merge web.xml, calculate e...

"setup.py upload" is failing with "Upload failed (401): You must be identified to edit package information"

When running.. python setup.py sdist register upload ..I get the following output: running register We need to know who you are, so please choose either: 1. use your existing login, 2. register as a new user, 3. have the server generate a new password for you (and email it to you), or 4. quit Your selection [default 1]: 1 Userna...

Creating .deb packages from prebuilt binaries?

I would like to create a Debian/Ubuntu .deb package from a set of prebuilt binaries. I don't have any access to the source code. The only tutorials I've found on creating debs require source code access, and so do all the convenient and easy tools for creating Debian packages. So how can I create a deb from a folder of binaries? ...

how to make a jar file that include dll files

hi all, i bought a third-party java library which include a jar file and two dll files. i wrote my own java program which invoke the third-party jar file. now my question is how can i package all my code into a single jar file which include all my code and the third-party jar and dlls? great thanks. ps: i know swt is such a case. the s...