[jitsi-dev] Create a Jar or Windows Installer


#1

Hi,

I am trying to export the changes I made in the "Jitsi" to distribute to other
computers, but I'm having various problems.

I tried to follow this tutorial:
https://jitsi.org/Documentation/HowToBuildAnInstaller
But I have problems running the command line, I get the error: *"Unable to
create cache directory: sip-communicator.bin" *

Also tried this tutorial:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
But I get the following error:
$ ant build-installation-wix-64
cygwin warning:
  MS-DOS style path detected: C:\apache-ant-1.9.3
  Preferred POSIX equivalent is: /cygdrive/c/apache-ant-1.9.3
  CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Buildfile: D:\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to D:\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.5.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: D:\jitsi\release\windows
    [mkdir] Created dir: D:\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
D:\jitsi\release\windows\versionupdat
e.properties
    [mkdir] Created dir: D:\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe
-dumpmac hine, ...) failed.
     [exec] makefile:41: *** target pattern contains no `%'. Stop.

BUILD FAILED
D:\jitsi\resources\install\build.xml:298: The following error occurred
while exe cuting this line:
D:\jitsi\resources\install\build.xml:411: exec returned: 2

Total time: 2 seconds

All the ways that I have found on the internet are related to these above
steps, but none of them fit me, I need to create a "Jar" to distribute the
application to other machines.

Does anyone know any efficient way to do this?

*I'm try using Windows 8 64bits, Eclipse and Netbeans.*

Thank you!

Att
Douglas N Roma Jr
Analista de Sistemas - A.J. Rorato & Cia. LTDA
Tecnologia em Sistemas para Internet - UTFPR

<http://www.facebook.com/douglasnassif> <http://twitter.com/douglasjunior__>
<http://linkedin.com/in/douglasjunior>
<http://plus.google.com/+DouglasNassifRomaJunior>
<http://github.com/douglasjunior>


#2

As no one responded and found nothing on the Internet, I had to adopt a
palliative solution.

I installed "Jitsi 32bits" on a Windows computer, it replaces the "sc
-bundles" folder with the files I modified.

If anyone knows another solution, I'm interested.

Att
Douglas N Roma Jr
Analista de Sistemas - A.J. Rorato & Cia. LTDA
Tecnologia em Sistemas para Internet - UTFPR

<http://www.facebook.com/douglasnassif> <http://twitter.com/douglasjunior__>
<http://linkedin.com/in/douglasjunior>
<http://plus.google.com/+DouglasNassifRomaJunior>
<http://github.com/douglasjunior>

···

2014-02-14 13:29 GMT-02:00 dglas89 <dglas89@yahoo.com.br>:

Hi,

I am trying to export the changes I made in the "Jitsi" to distribute to other
computers, but I'm having various problems.

I tried to follow this tutorial:
https://jitsi.org/Documentation/HowToBuildAnInstaller
But I have problems running the command line, I get the error: *"Unable
to create cache directory: sip-communicator.bin" *

Also tried this tutorial:
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31
But I get the following error:
$ ant build-installation-wix-64
cygwin warning:
  MS-DOS style path detected: C:\apache-ant-1.9.3
  Preferred POSIX equivalent is: /cygdrive/c/apache-ant-1.9.3
  CYGWIN environment variable option "nodosfilewarning" turns off this
warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Buildfile: D:\jitsi\build.xml

-pre-version:

version:
    [javac] Compiling 3 source files to D:\jitsi\classes
    [javac] warning: [options] bootstrap class path not set in conjunction
with -source 1.6
    [javac] 1 warning
     [echo] Jitsi version 2.5.0.build.by.SVN

load-properties:

build-installation-wix-64:

clean-install-windows:
    [mkdir] Created dir: D:\jitsi\release\windows
    [mkdir] Created dir: D:\jitsi\release\windows\tmp

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
D:\jitsi\release\windows\versionupdat
e.properties
    [mkdir] Created dir: D:\jitsi\release\windows\tmp\light
     [exec] process_begin: CreateProcess(NULL, C:/mingw/x64/bin/gcc.exe
-dumpmac hine, ...) failed.
     [exec] makefile:41: *** target pattern contains no `%'. Stop.

BUILD FAILED
D:\jitsi\resources\install\build.xml:298: The following error occurred
while exe cuting this line:
D:\jitsi\resources\install\build.xml:411: exec returned: 2

Total time: 2 seconds

All the ways that I have found on the internet are related to these above
steps, but none of them fit me, I need to create a "Jar" to distribute the
application to other machines.

Does anyone know any efficient way to do this?

*I'm try using Windows 8 64bits, Eclipse and Netbeans.*

Thank you!

Att
Douglas N Roma Jr
Analista de Sistemas - A.J. Rorato & Cia. LTDA
Tecnologia em Sistemas para Internet - UTFPR

<http://www.facebook.com/douglasnassif>
<http://twitter.com/douglasjunior__>
<http://linkedin.com/in/douglasjunior>
<http://plus.google.com/+DouglasNassifRomaJunior>
<http://github.com/douglasjunior>


#3

As no one responded and found nothing on the Internet, I had to adopt a
palliative solution.

I installed "Jitsi 32bits" on a Windows computer, it replaces the "sc-
bundles" folder with the files I modified.

If anyone knows another solution, I'm interested.

Look in the mailing list archive, there are various threads about creating
the msi-package, including some step-by-step instructions.

Att
Douglas N Roma Jr

Ingo