packaging

packaging jruby script into jar with all dependencies ?

is there any way to make my currently jruby script into a standalone single executable like jar or exe ? ...

Packaging an application that uses the ImageMagick C API

I've created a little Windows app that uses the ImageMagick C API but have run into a bit of a brick wall. The app works fine and I'm ready to share it with a few others in our organisation but I can't find documentation on distributing such an app without installing ImageMagick on the target machine. Does anyone here have information, ...

Tarballing without git metadata

My source tree contains several directories which are using git source control and I need to tarball the whole tree excluding any references to the git metadata or custom log files. I thought I'd have a go using a combo of find/egrep/xargs/tar but somehow the tar file contains the .git directories and the *.log files. This is what I ha...

How to override the version of a .deb subpackage?

I need to make a .deb for our software, that includes a copy of Drupal. I've had to patch Drupal, so I can't use the stock Drupal from the distro. I want the outcome to be a file named drupal6-rs_6.16_all.deb, but because in my control file it's a subpackage, it's "inheriting" the version of my main package, so I end up with a package ...

Packaging an exe to have one file, similar to on mac with .app

Hello, I am trying to create a standalone app with a resources folder that is writable. I would like to include this in the exe, similar as to how it is done on OSX with an .app. Is this possible? Thanks! ...

maven package a jboss service and its service descriptor

We have a maven project that creates a common service used on jboss. This service also has a service descriptor (xml file). When I deploy, only the jar is created and deployed. The xml needs to be copied to its destination. How can I deploy the jar and its xml? How do I bring them to jboss and split them up again (jar to lib folder, xm...

Build Linux Packages on Cygwin

Is it a good idea to build RPMs and Debian packages on Cygwin? Our release server is windows, so our options are either that or start up VMs with linux to handle the task. I'm just not sure if VMs are taking a nuclear bomb to an ant. Is there a way to do the building in Cygwin? If so, how? So far I've found some clues...apparently Cygwi...

Exclude folder from WAR file in Netbeans 6+

Guys, I have I think simple problem, but somehow it's causing some trouble. I have WAR project in Netbeans, and the contents look like this: WEB-INF images lib src stylesheets Now, folder 'src' contains some other folders with javascript code, that is minified during build process and placed in 'lib' directory. Oviously as js is ...

package error in as3

package { import flash.display.Sprite; import flash.utils.*; public class SetTimeoutExample extends Sprite { private var delay:Number = 1000; // delay before calling myDelayedFunction public function SetTimeoutExample() { var intervalId:uint = setTimeout(myDelayedFunction, delay, "Hello", "World"); } public fun...

session beans belong to an application?

I have a newbie question as it relates to EJBs. When we compose a web application, all the jsp's/servlets etc are organized/packed into a war file which is deployed on to the server, when it comes to session beans and their deployment, are they treated as container level components that dont belong to any individual application? ...

Debian packaging: deploying files to the user home directory

I use Debhelper to create Debian packages. To deploy files and directories, I use the debian/install and debian/dirs files. Now I would like my package to deploy the default user configuration file to $HOME/.mypackagerc (just like .bashrc and friends). Does Debhelper provide a way to do this, or should I just: Do it in postinst scrip...

Ruby Shoes __FILE__ for application exe

Hi there, I created a Shoes application that reads some data from a YAML file on APP_PATH/data folder. The application works so well that I decided to package and send to a friend. I created an Windows executable with Shoes inside. When I run the executable, the relative path ./data does not point to the data folder inside the executa...

What parameters is Visual Studio running msdeploy with when executing "Build Deployment Package"?

I would like to execute msdeploy from a powershell script to create a deployment package, but i can't find out what parameters Visual studio is actually calling msdeploy with. ...

Packaging C# Applications with third party libraries?

New to C# here. So I have an application that utilises the BouncyCastle framework, how can I package this application so that I dont have to manually put BouncyCastle's .dll on others computers? I'm assuming that this can be done with an install or something? And where do applications look for referenced third party libraries by default?...

Shareware vb.net application packed using innosetup, installed in different directories creates 2 different set of application.

I have created an shareware application using vb.net visual studio 2008 for windows desktop, and packaged it using innosetup 5.3.8. The problem is when i have installed the application in C:\Program Files\Application and it runs successfully(use trial period of the application), Im also able to install the application once again freshly ...

Managing Ruby dependencies for a project

Hi all, I'm switching to Ruby for a project due to its excellent meta-programming support. As a Scala guy, I'd use buildr or Maven to manage my project. I could have it generate a skeleton directory structure, add my dependencies, then when I build, the dependencies are downloaded automagically. How would I use this workflow in Ruby? T...

Reliable approach for loading resources in Java / JNLP

I'm writing a Java application that needs to access several resources in a .jar file that is run over JNLP. While the application works fine in my development environment (Eclipse) it doesn't work when executed through JNLP, apparently because it can't find the resource file in the jar. I've checked the resource file and the resources a...

Packaging java web application as exe

Are there any free tools using which I can package my war (java web app) and tomcat as exe ...

Bug in third-party dependency creates python packaging dilemma

Hi everyone, I'm a developer on a software project for Linux that uses Python and PyGTK. The program we are writing depends on a number of third-party packages that are available through all mayor distro repositories. One of these is a python binding (written in C) that allows our program to chat with a common C library. Unfortunately, t...

Automatically bump versions when building a Debian package

I have a set of Debian packaging scripts and I would like the version number of the package to be incremented each time it is built. (i.e. debian_revision as specified in the Debian Policy Manual) That is, the first build should be PACKAGE-1.0-0, then PACKAGE-1.0-0, and so on (where 1.0 is the upstream_version). Is there an easy way to s...