View Full Version : Creating .deb package for a Java app

November 29th, 2005, 02:25 AM

I'm trying to create .deb packages for Project Looking Glass ( http://lg3d.dev.java.net ) and it's dependencies. This is mostly a java project so uses ant rather than make for build and deployment. I've updated the ant script to create the DEBIAN/control file and to run dpkg -b which all works fine, but I need to do more and I'm hoping someone here can offer guidance becuase thus far I've failed to find any documentation.

Firstly my shell scripts which are executable in the directory structure from which dpkg created the packages are being unpacked without being marked as executable. Is this expected, should I use postinst to fix this ?

How do I interact with the user during install time ?

I'm sure I'll think of other stuff later, but help with these issues would be a great start ;-)



December 22nd, 2009, 05:05 PM
check out this page


Hope it will help you.....

December 25th, 2009, 01:32 AM
I have compiled stuff from source before with the