How to build for Windows and debian pakage?

Hi All,

I am using src code of 3.5.0 and i m not able to build debian pakag by ant task in build.xml. Any one sugggest me about this I am getting following error:


Copying 3229 files to /media/sda5/Workspaces/Workspace3.2/Openfire/work/debian/openfire-3.5.0

Copied 541 empty directories to 7 empty directories under /media/sda5/Workspaces/Workspace3.2/Openfire/work/debian/openfire-3.5.0

Copying 13 files to /media/sda5/Workspaces/Workspace3.2/Openfire/work/debian/openfire-3.5.0/debian

dpkg-buildpackage: source package is openfire

dpkg-buildpackage: source version is 3.5.0

dpkg-buildpackage: source changed by Jive Software <>

dpkg-buildpackage: host architecture i386

dpkg-buildpackage: source version without epoch 3.5.0

dpkg-checkbuilddeps: Unmet build dependencies: cdbs patchutils

dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.

dpkg-buildpackage: (Use -d flag to override.)


/media/sda5/Workspaces/Workspace3.2/Openfire/build/build.xml:1785: exec returned: 3

My second problem is how to build for windows intaller.

Thanks in advance.

When I building with ant installer task, After intalling install4j in my ubuntu system I am getting following errors:

install4j: compilation failed. Reason: Could not find JRE bundle. Neither /home/vishawjeet/install4j/jres/windows-x86-1.6.0_03_server.tar.gz nor /home/vishawjeet/.install4j4/jres/windows-x86-1.6.0_03_server.tar.gz nor /media/sda5/Workspaces/Workspace3.2/Openfire/build/installer/windows-x86-1.6.0_ 03_server.tar.gz exist.