[jitsi-dev] windows installer instructions up to date?


#1

Hello,

Are the build instructions for windows installers in build.xml up to date?

I've been trying to build one without any success, and I see they mention
installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could follow? I
feel like I'm wasting time following out dated instructions but I'd like to
be sure.

Thank you


#2

Hi Janus,

I'm also stuck at building the windows installer after following a tutorial
on the internet (check the archives from March for my message and link to
the tut).
I believe that Izpack is indeed deprecated so you should ignore the related
instructions in build.xml, but hopefully a dev will be able to confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't being
built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

···

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com> wrote:

Hello,

Are the build instructions for windows installers in build.xml up to date?

I've been trying to build one without any success, and I see they mention
installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could follow? I
feel like I'm wasting time following out dated instructions but I'd like to
be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

Dear All,

I faced the same issues as you all mentioned. I finally tried myself, and
built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of wix
installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe" >>
$(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the location
where IzPack is installed, and gave location for zip files of JRE. When I
used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:

···

-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*
-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That can be
done by downloading Bzip2 source and compile it through mingw. Was an easy
task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore the
related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't being
built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com> wrote:

Hello,

Are the build instructions for windows installers in build.xml up to date?

I've been trying to build one without any success, and I see they mention
installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could follow? I
feel like I'm wasting time following out dated instructions but I'd like to
be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4

Hi Parameswaran,

Thanks for the detailed response.
Looking at what you wrote, I'm pretty sure that I did the exact same
changes you mentioned, except that I still get a make error which is
related to a missing config.h (I also broke the echo commands into multiple
lines just like you). This indeed (and removing the " in TARGET_DIR) made
the annoying *** target pattern contains no '%'. Stop. errors go away.
Unfortunately I'm still getting the config.h error mentioned previously.

The only thing different from your setup appears to be cygwin. I'm going to
try and use only mingw and see if that resolves it.

Thanks again for your help. For awhile there I thought we were all alone in
this since there doesn't seem to be much enthusiasm to respond in the lists.

Cheers,
Peter

···

On Tue, Apr 1, 2014 at 5:38 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Dear All,

I faced the same issues as you all mentioned. I finally tried myself, and
built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of wix
installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe" >>
$(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the location
where IzPack is installed, and gave location for zip files of JRE. When I
used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:
-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*
-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That can be
done by downloading Bzip2 source and compile it through mingw. Was an easy
task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore the
related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't being
built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com> wrote:

Hello,

Are the build instructions for windows installers in build.xml up to
date?

I've been trying to build one without any success, and I see they
mention installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could follow?
I feel like I'm wasting time following out dated instructions but I'd like
to be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

Hi Parameswaran,

I think I've made some progress but I'm still getting the error when trying
to build config.h, specifically this line: Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed

At least now the build continues and doesn't fail right away. It manages to
reach the jre inclusion part before failing again with the dreaded: ***
target pattern contains no '%'. Stop.

In your tutorial you mention changes to the makefile. I removed the " from
the target.dir and put the echo command into different lines in the
makefiles located at C:\jitsi\jitsi-master\src\native\windows\run and also
the makefile at C:\jitsi\jitsi-master\src\native\windows\setup (this second
one seems to have the same issues as the one in the run directory). Are
there any other makefiles I need to change that you can think of or any
other clues why it's failing?

Thanks,

Peter

Logs:

build-installation-wix-base:
[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define PRODUCTBUILDVERSION "2.5.0.build.by.SVN" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME "Jitsi" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME_EXE "Jitsi.exe" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/mingw32-windres.exe
-I../../../../resources/install/windows
-Ic:\jitsi\jitsi-master/release/windows/tmp/light run.rc -O coff -o
c:\jitsi\jitsi-master/release/windows/tmp/light/run.res
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

keeps going without error until

unzip-windows-jre:
    [unzip] Expanding: C:\Install\jre-7u51-windows-i586.zip into
c:\jitsi\jitsi-master\release\windows\tmp\light
     [copy] Copying 1 file to
c:\jitsi\jitsi-master\release\windows\tmp\light
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\component-defines.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-defines.xsl
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\component-refs.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-refs.xsl
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\lib-dir-id.properties
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-libsearch.xsl
     [copy] Copying 1 file to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] Makefile:44: *** target pattern contains no '%'. Stop.

···

On Tue, Apr 1, 2014 at 6:11 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

Thanks for the detailed response.
Looking at what you wrote, I'm pretty sure that I did the exact same
changes you mentioned, except that I still get a make error which is
related to a missing config.h (I also broke the echo commands into multiple
lines just like you). This indeed (and removing the " in TARGET_DIR) made
the annoying *** target pattern contains no '%'. Stop. errors go away.
Unfortunately I'm still getting the config.h error mentioned previously.

The only thing different from your setup appears to be cygwin. I'm going
to try and use only mingw and see if that resolves it.

Thanks again for your help. For awhile there I thought we were all alone
in this since there doesn't seem to be much enthusiasm to respond in the
lists.

Cheers,
Peter

On Tue, Apr 1, 2014 at 5:38 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Dear All,

I faced the same issues as you all mentioned. I finally tried myself, and
built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of wix
installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe" >>
$(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the
location where IzPack is installed, and gave location for zip files of JRE.
When I used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:
-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*
-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That can be
done by downloading Bzip2 source and compile it through mingw. Was an easy
task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore the
related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't
being built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com> wrote:

Hello,

Are the build instructions for windows installers in build.xml up to
date?

I've been trying to build one without any success, and I see they
mention installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could follow?
I feel like I'm wasting time following out dated instructions but I'd like
to be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#6

Hi Peter,

Did you change the Makefile in src/native/windows/setup/cleansweep? I guess
that should be the problem as per your log sequence, just checked the ANT
build xml.

Thanks,
Paramesh

···

On Wed, Apr 2, 2014 at 10:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I think I've made some progress but I'm still getting the error when
trying to build config.h, specifically this line: Makefile:48: recipe for
target 'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed

At least now the build continues and doesn't fail right away. It manages
to reach the jre inclusion part before failing again with the dreaded: ***
target pattern contains no '%'. Stop.

In your tutorial you mention changes to the makefile. I removed the " from
the target.dir and put the echo command into different lines in the
makefiles located at C:\jitsi\jitsi-master\src\native\windows\run and also
the makefile at C:\jitsi\jitsi-master\src\native\windows\setup (this second
one seems to have the same issues as the one in the run directory). Are
there any other makefiles I need to change that you can think of or any
other clues why it's failing?

Thanks,

Peter

Logs:

build-installation-wix-base:
[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define PRODUCTBUILDVERSION "2.5.0.build.by.SVN" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME "Jitsi" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME_EXE "Jitsi.exe" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/mingw32-windres.exe
-I../../../../resources/install/windows
-Ic:\jitsi\jitsi-master/release/windows/tmp/light run.rc -O coff -o
c:\jitsi\jitsi-master/release/windows/tmp/light/run.res
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

keeps going without error until

unzip-windows-jre:
    [unzip] Expanding: C:\Install\jre-7u51-windows-i586.zip into
c:\jitsi\jitsi-master\release\windows\tmp\light
     [copy] Copying 1 file to
c:\jitsi\jitsi-master\release\windows\tmp\light
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\component-defines.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-defines.xsl
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\component-refs.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-refs.xsl
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\lib-dir-id.properties
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-libsearch.xsl
     [copy] Copying 1 file to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] Makefile:44: *** target pattern contains no '%'. Stop.

On Tue, Apr 1, 2014 at 6:11 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

Thanks for the detailed response.
Looking at what you wrote, I'm pretty sure that I did the exact same
changes you mentioned, except that I still get a make error which is
related to a missing config.h (I also broke the echo commands into multiple
lines just like you). This indeed (and removing the " in TARGET_DIR) made
the annoying *** target pattern contains no '%'. Stop. errors go away.
Unfortunately I'm still getting the config.h error mentioned previously.

The only thing different from your setup appears to be cygwin. I'm going
to try and use only mingw and see if that resolves it.

Thanks again for your help. For awhile there I thought we were all alone
in this since there doesn't seem to be much enthusiasm to respond in the
lists.

Cheers,
Peter

On Tue, Apr 1, 2014 at 5:38 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Dear All,

I faced the same issues as you all mentioned. I finally tried myself,
and built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of wix
installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe" >>
$(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the
location where IzPack is installed, and gave location for zip files of JRE.
When I used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:
-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*
-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That can be
done by downloading Bzip2 source and compile it through mingw. Was an easy
task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore the
related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't
being built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com> wrote:

Hello,

Are the build instructions for windows installers in build.xml up to
date?

I've been trying to build one without any success, and I see they
mention installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could
follow? I feel like I'm wasting time following out dated instructions but
I'd like to be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#7

Hi Parameswaran,

I thought I had changed cleansweep makefile too but apparently not.
Now with those changes the build almost completes, but still not quite
there yet.

I see the config.h error continues although it is ignored. And indeed
looking in the tmp/light directory no config.h file seems to be created.

build-installation-wix-base:

[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

The same error occurs when running the unzip-jre target later on:

unzip-windows-jre:

[exec] rm.exe -f ../../../../../resources/install/windows/config.h
     [exec] Makefile:51: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #undef PACKAGECODE >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

And it finally fails because it doesn't like the version code

build-installation-wix-msi:

     [copy] Copying 5 files to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] installer-windows.wxs
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0108 : The Product/@Version attribute's value, '2.5.0.build.by.SVN', is
not a valid version. Legal version values should look like 'x.x.x.x' where
x is an integer from 0 to 65534.
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0010 : The Product/@Version attribute was not found; it is required.

This last error should be fairly easy to fix, but the errors with config.h
are more puzzling.
Could there still be a syntax problem in the make file?

Thanks

···

On Wed, Apr 2, 2014 at 8:49 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Hi Peter,

Did you change the Makefile in src/native/windows/setup/cleansweep? I
guess that should be the problem as per your log sequence, just checked the
ANT build xml.

Thanks,
Paramesh

On Wed, Apr 2, 2014 at 10:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I think I've made some progress but I'm still getting the error when
trying to build config.h, specifically this line: Makefile:48: recipe for
target 'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed

At least now the build continues and doesn't fail right away. It manages
to reach the jre inclusion part before failing again with the dreaded: ***
target pattern contains no '%'. Stop.

In your tutorial you mention changes to the makefile. I removed the "
from the target.dir and put the echo command into different lines in the
makefiles located at C:\jitsi\jitsi-master\src\native\windows\run and also
the makefile at C:\jitsi\jitsi-master\src\native\windows\setup (this second
one seems to have the same issues as the one in the run directory). Are
there any other makefiles I need to change that you can think of or any
other clues why it's failing?

Thanks,

Peter

Logs:

build-installation-wix-base:
[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define PRODUCTBUILDVERSION "2.5.0.build.by.SVN" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME "Jitsi" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME_EXE "Jitsi.exe" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/mingw32-windres.exe
-I../../../../resources/install/windows
-Ic:\jitsi\jitsi-master/release/windows/tmp/light run.rc -O coff -o
c:\jitsi\jitsi-master/release/windows/tmp/light/run.res
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

keeps going without error until

unzip-windows-jre:
    [unzip] Expanding: C:\Install\jre-7u51-windows-i586.zip into
c:\jitsi\jitsi-master\release\windows\tmp\light
     [copy] Copying 1 file to
c:\jitsi\jitsi-master\release\windows\tmp\light
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\component-defines.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-defines.xsl
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\component-refs.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-refs.xsl
     [xslt] Processing c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs
to c:\jitsi\jitsi-master\release\windows\tmp\lib-dir-id.properties
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-libsearch.xsl
     [copy] Copying 1 file to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] Makefile:44: *** target pattern contains no '%'. Stop.

On Tue, Apr 1, 2014 at 6:11 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

Thanks for the detailed response.
Looking at what you wrote, I'm pretty sure that I did the exact same
changes you mentioned, except that I still get a make error which is
related to a missing config.h (I also broke the echo commands into multiple
lines just like you). This indeed (and removing the " in TARGET_DIR) made
the annoying *** target pattern contains no '%'. Stop. errors go away.
Unfortunately I'm still getting the config.h error mentioned previously.

The only thing different from your setup appears to be cygwin. I'm going
to try and use only mingw and see if that resolves it.

Thanks again for your help. For awhile there I thought we were all alone
in this since there doesn't seem to be much enthusiasm to respond in the
lists.

Cheers,
Peter

On Tue, Apr 1, 2014 at 5:38 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Dear All,

I faced the same issues as you all mentioned. I finally tried myself,
and built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of wix
installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe" >>
$(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the
location where IzPack is installed, and gave location for zip files of JRE.
When I used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:

-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*

-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That can be
done by downloading Bzip2 source and compile it through mingw. Was an easy
task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore the
related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't
being built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com> wrote:

Hello,

Are the build instructions for windows installers in build.xml up to
date?

I've been trying to build one without any success, and I see they
mention installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could
follow? I feel like I'm wasting time following out dated instructions but
I'd like to be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#8

Hi Peter,

I faced the same problem as you. Gosh. I missed mentioning it.
Looks like in Jitsi, they have some kind of Continuous integration, and
they replace the "build.by.SVN" value with the actual revision number.
But I use git, and probably you too, and we don't have any value set.

So to make it work, I modified build.xml , but I am not sure what I
modified exactly. Try adding a "label" property with value 0.0:
<property name="label" value="0"/>
<property name="build-label" value="0"/>

I think the property was picked up from NightlyBuildID and its VersionImpl.
Please check the code there too. Try finding if you have a build.by.SVN
value somewhere in there.
I'm sorry as I have changed the code now, and couldn't find where I
changed! If this still didn't work, I'll take a look by downloading a fresh
copy.

Thanks,
Paramesh

···

On Thu, Apr 3, 2014 at 6:07 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I thought I had changed cleansweep makefile too but apparently not.
Now with those changes the build almost completes, but still not quite
there yet.

I see the config.h error continues although it is ignored. And indeed
looking in the tmp/light directory no config.h file seems to be created.

build-installation-wix-base:

[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

The same error occurs when running the unzip-jre target later on:

unzip-windows-jre:

[exec] rm.exe -f ../../../../../resources/install/windows/config.h
     [exec] Makefile:51: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #undef PACKAGECODE >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../../resources/install/windows/config.h, ...) failed.
      [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

And it finally fails because it doesn't like the version code

build-installation-wix-msi:

     [copy] Copying 5 files to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] installer-windows.wxs
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0108 : The Product/@Version attribute's value, '2.5.0.build.by.SVN', is
not a valid version. Legal version values should look like 'x.x.x.x' where
x is an integer from 0 to 65534.
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0010 : The Product/@Version attribute was not found; it is required.

This last error should be fairly easy to fix, but the errors with config.h
are more puzzling.
Could there still be a syntax problem in the make file?

Thanks

On Wed, Apr 2, 2014 at 8:49 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Hi Peter,

Did you change the Makefile in src/native/windows/setup/cleansweep? I
guess that should be the problem as per your log sequence, just checked the
ANT build xml.

Thanks,
Paramesh

On Wed, Apr 2, 2014 at 10:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I think I've made some progress but I'm still getting the error when
trying to build config.h, specifically this line: Makefile:48: recipe for
target 'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed

At least now the build continues and doesn't fail right away. It manages
to reach the jre inclusion part before failing again with the dreaded: ***
target pattern contains no '%'. Stop.

In your tutorial you mention changes to the makefile. I removed the "
from the target.dir and put the echo command into different lines in the
makefiles located at C:\jitsi\jitsi-master\src\native\windows\run and also
the makefile at C:\jitsi\jitsi-master\src\native\windows\setup (this second
one seems to have the same issues as the one in the run directory). Are
there any other makefiles I need to change that you can think of or any
other clues why it's failing?

Thanks,

Peter

Logs:

build-installation-wix-base:
[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define PRODUCTBUILDVERSION "2.5.0.build.by.SVN" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME "Jitsi" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME_EXE "Jitsi.exe" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/mingw32-windres.exe
-I../../../../resources/install/windows
-Ic:\jitsi\jitsi-master/release/windows/tmp/light run.rc -O coff -o
c:\jitsi\jitsi-master/release/windows/tmp/light/run.res
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

keeps going without error until

unzip-windows-jre:
    [unzip] Expanding: C:\Install\jre-7u51-windows-i586.zip into
c:\jitsi\jitsi-master\release\windows\tmp\light
     [copy] Copying 1 file to
c:\jitsi\jitsi-master\release\windows\tmp\light
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\component-defines.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-defines.xsl
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\component-refs.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-refs.xsl
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\lib-dir-id.properties
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-libsearch.xsl
     [copy] Copying 1 file to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] Makefile:44: *** target pattern contains no '%'. Stop.

On Tue, Apr 1, 2014 at 6:11 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

Thanks for the detailed response.
Looking at what you wrote, I'm pretty sure that I did the exact same
changes you mentioned, except that I still get a make error which is
related to a missing config.h (I also broke the echo commands into multiple
lines just like you). This indeed (and removing the " in TARGET_DIR) made
the annoying *** target pattern contains no '%'. Stop. errors go away.
Unfortunately I'm still getting the config.h error mentioned previously.

The only thing different from your setup appears to be cygwin. I'm
going to try and use only mingw and see if that resolves it.

Thanks again for your help. For awhile there I thought we were all
alone in this since there doesn't seem to be much enthusiasm to respond in
the lists.

Cheers,
Peter

On Tue, Apr 1, 2014 at 5:38 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Dear All,

I faced the same issues as you all mentioned. I finally tried myself,
and built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of wix
installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe" >>
$(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the
location where IzPack is installed, and gave location for zip files of JRE.
When I used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:

-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*

-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That can
be done by downloading Bzip2 source and compile it through mingw. Was an
easy task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore the
related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't
being built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com> wrote:

Hello,

Are the build instructions for windows installers in build.xml up to
date?

I've been trying to build one without any success, and I see they
mention installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could
follow? I feel like I'm wasting time following out dated instructions but
I'd like to be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#9

Hi Parameswaran,

Just wanted to thank you for your help and to let you know that I finally
managed somewhat to get a working installer.
I had to hack at the source code some but it finally builds. The
instructions definitely need to be updated. What a nightmare.

Thanks again for all your help

···

On Thu, Apr 3, 2014 at 2:34 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Hi Peter,

I faced the same problem as you. Gosh. I missed mentioning it.
Looks like in Jitsi, they have some kind of Continuous integration, and
they replace the "build.by.SVN" value with the actual revision number.
But I use git, and probably you too, and we don't have any value set.

So to make it work, I modified build.xml , but I am not sure what I
modified exactly. Try adding a "label" property with value 0.0:
<property name="label" value="0"/>
<property name="build-label" value="0"/>

I think the property was picked up from NightlyBuildID and its
VersionImpl. Please check the code there too. Try finding if you have a
build.by.SVN value somewhere in there.
I'm sorry as I have changed the code now, and couldn't find where I
changed! If this still didn't work, I'll take a look by downloading a fresh
copy.

Thanks,
Paramesh

On Thu, Apr 3, 2014 at 6:07 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I thought I had changed cleansweep makefile too but apparently not.
Now with those changes the build almost completes, but still not quite
there yet.

I see the config.h error continues although it is ignored. And indeed
looking in the tmp/light directory no config.h file seems to be created.

build-installation-wix-base:

[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

The same error occurs when running the unzip-jre target later on:

unzip-windows-jre:

[exec] rm.exe -f ../../../../../resources/install/windows/config.h
     [exec] Makefile:51: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #undef PACKAGECODE >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../../resources/install/windows/config.h, ...) failed.
      [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

And it finally fails because it doesn't like the version code

build-installation-wix-msi:

     [copy] Copying 5 files to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] installer-windows.wxs
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0108 : The Product/@Version attribute's value, '2.5.0.build.by.SVN', is
not a valid version. Legal version values should look like 'x.x.x.x' where
x is an integer from 0 to 65534.
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0010 : The Product/@Version attribute was not found; it is required.

This last error should be fairly easy to fix, but the errors with
config.h are more puzzling.
Could there still be a syntax problem in the make file?

Thanks

On Wed, Apr 2, 2014 at 8:49 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Hi Peter,

Did you change the Makefile in src/native/windows/setup/cleansweep? I
guess that should be the problem as per your log sequence, just checked the
ANT build xml.

Thanks,
Paramesh

On Wed, Apr 2, 2014 at 10:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I think I've made some progress but I'm still getting the error when
trying to build config.h, specifically this line: Makefile:48: recipe for
target 'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed

At least now the build continues and doesn't fail right away. It
manages to reach the jre inclusion part before failing again with the
dreaded: *** target pattern contains no '%'. Stop.

In your tutorial you mention changes to the makefile. I removed the "
from the target.dir and put the echo command into different lines in the
makefiles located at C:\jitsi\jitsi-master\src\native\windows\run and also
the makefile at C:\jitsi\jitsi-master\src\native\windows\setup (this second
one seems to have the same issues as the one in the run directory). Are
there any other makefiles I need to change that you can think of or any
other clues why it's failing?

Thanks,

Peter

Logs:

build-installation-wix-base:
[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define PRODUCTBUILDVERSION "2.5.0.build.by.SVN" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME "Jitsi" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME_EXE "Jitsi.exe" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/mingw32-windres.exe
-I../../../../resources/install/windows
-Ic:\jitsi\jitsi-master/release/windows/tmp/light run.rc -O coff -o
c:\jitsi\jitsi-master/release/windows/tmp/light/run.res
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

keeps going without error until

unzip-windows-jre:
    [unzip] Expanding: C:\Install\jre-7u51-windows-i586.zip into
c:\jitsi\jitsi-master\release\windows\tmp\light
     [copy] Copying 1 file to
c:\jitsi\jitsi-master\release\windows\tmp\light
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\component-defines.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-defines.xsl
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\component-refs.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-refs.xsl
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\lib-dir-id.properties
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-libsearch.xsl
     [copy] Copying 1 file to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] Makefile:44: *** target pattern contains no '%'. Stop.

On Tue, Apr 1, 2014 at 6:11 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

Thanks for the detailed response.
Looking at what you wrote, I'm pretty sure that I did the exact same
changes you mentioned, except that I still get a make error which is
related to a missing config.h (I also broke the echo commands into multiple
lines just like you). This indeed (and removing the " in TARGET_DIR) made
the annoying *** target pattern contains no '%'. Stop. errors go away.
Unfortunately I'm still getting the config.h error mentioned
previously.

The only thing different from your setup appears to be cygwin. I'm
going to try and use only mingw and see if that resolves it.

Thanks again for your help. For awhile there I thought we were all
alone in this since there doesn't seem to be much enthusiasm to respond in
the lists.

Cheers,
Peter

On Tue, Apr 1, 2014 at 5:38 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Dear All,

I faced the same issues as you all mentioned. I finally tried myself,
and built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of wix
installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe" >>
$(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the
location where IzPack is installed, and gave location for zip files of JRE.
When I used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:

-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*

-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That can
be done by downloading Bzip2 source and compile it through mingw. Was an
easy task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve <petervnv1@gmail.com >>>>>> > wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore the
related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't
being built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com>wrote:

Hello,

Are the build instructions for windows installers in build.xml up
to date?

I've been trying to build one without any success, and I see they
mention installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could
follow? I feel like I'm wasting time following out dated instructions but
I'd like to be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#10

Much good that did!

I had problems with Windows Installer a while ago, and was unable to easy
solution.

What I did was, I downloaded the installer "Jitsi" on the site, installed on
my computer, I went into the installation directory and got the files.

I compiled my modifications in the source code and replace the files in the
"Bundles" folder that the installer generated.

Finally, I created a new installer with these files in "InnoSetup".

It was my "desperate" solution.

Now that you have discovered the mystery, could create a tutorial of steps
performed, it can help many others here.

Thanks in advance.

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> [image:
https://bitbucket.org/douglasjunior] <http://bitbucket.org/douglasjunior>

···

2014-04-04 12:55 GMT-03:00 Peter Villeneuve <petervnv1@gmail.com>:

Hi Parameswaran,

Just wanted to thank you for your help and to let you know that I finally
managed somewhat to get a working installer.
I had to hack at the source code some but it finally builds. The
instructions definitely need to be updated. What a nightmare.

Thanks again for all your help

On Thu, Apr 3, 2014 at 2:34 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Hi Peter,

I faced the same problem as you. Gosh. I missed mentioning it.
Looks like in Jitsi, they have some kind of Continuous integration, and
they replace the "build.by.SVN" value with the actual revision number.
But I use git, and probably you too, and we don't have any value set.

So to make it work, I modified build.xml , but I am not sure what I
modified exactly. Try adding a "label" property with value 0.0:
<property name="label" value="0"/>
<property name="build-label" value="0"/>

I think the property was picked up from NightlyBuildID and its
VersionImpl. Please check the code there too. Try finding if you have a
build.by.SVN value somewhere in there.
I'm sorry as I have changed the code now, and couldn't find where I
changed! If this still didn't work, I'll take a look by downloading a fresh
copy.

Thanks,
Paramesh

On Thu, Apr 3, 2014 at 6:07 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I thought I had changed cleansweep makefile too but apparently not.
Now with those changes the build almost completes, but still not quite
there yet.

I see the config.h error continues although it is ignored. And indeed
looking in the tmp/light directory no config.h file seems to be created.

build-installation-wix-base:

[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

The same error occurs when running the unzip-jre target later on:

unzip-windows-jre:

[exec] rm.exe -f ../../../../../resources/install/windows/config.h
     [exec] Makefile:51: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #undef PACKAGECODE >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../../resources/install/windows/config.h, ...) failed.
      [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

And it finally fails because it doesn't like the version code

build-installation-wix-msi:

     [copy] Copying 5 files to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] installer-windows.wxs
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0108 : The Product/@Version attribute's value, '2.5.0.build.by.SVN', is
not a valid version. Legal version values should look like 'x.x.x.x' where
x is an integer from 0 to 65534.
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0010 : The Product/@Version attribute was not found; it is required.

This last error should be fairly easy to fix, but the errors with
config.h are more puzzling.
Could there still be a syntax problem in the make file?

Thanks

On Wed, Apr 2, 2014 at 8:49 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Hi Peter,

Did you change the Makefile in src/native/windows/setup/cleansweep? I
guess that should be the problem as per your log sequence, just checked the
ANT build xml.

Thanks,
Paramesh

On Wed, Apr 2, 2014 at 10:42 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I think I've made some progress but I'm still getting the error when
trying to build config.h, specifically this line: Makefile:48: recipe for
target 'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed

At least now the build continues and doesn't fail right away. It
manages to reach the jre inclusion part before failing again with the
dreaded: *** target pattern contains no '%'. Stop.

In your tutorial you mention changes to the makefile. I removed the "
from the target.dir and put the echo command into different lines in the
makefiles located at C:\jitsi\jitsi-master\src\native\windows\run and also
the makefile at C:\jitsi\jitsi-master\src\native\windows\setup (this second
one seems to have the same issues as the one in the run directory). Are
there any other makefiles I need to change that you can think of or any
other clues why it's failing?

Thanks,

Peter

Logs:

build-installation-wix-base:
[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir:
c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define PRODUCTBUILDVERSION "2.5.0.build.by.SVN" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME "Jitsi" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME_EXE "Jitsi.exe" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/mingw32-windres.exe
-I../../../../resources/install/windows
-Ic:\jitsi\jitsi-master/release/windows/tmp/light run.rc -O coff -o
c:\jitsi\jitsi-master/release/windows/tmp/light/run.res
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

keeps going without error until

unzip-windows-jre:
    [unzip] Expanding: C:\Install\jre-7u51-windows-i586.zip into
c:\jitsi\jitsi-master\release\windows\tmp\light
     [copy] Copying 1 file to
c:\jitsi\jitsi-master\release\windows\tmp\light
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\component-defines.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-defines.xsl
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\component-refs.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-refs.xsl
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\lib-dir-id.properties
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-libsearch.xsl
     [copy] Copying 1 file to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] Makefile:44: *** target pattern contains no '%'. Stop.

On Tue, Apr 1, 2014 at 6:11 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

Thanks for the detailed response.
Looking at what you wrote, I'm pretty sure that I did the exact same
changes you mentioned, except that I still get a make error which is
related to a missing config.h (I also broke the echo commands into multiple
lines just like you). This indeed (and removing the " in TARGET_DIR) made
the annoying *** target pattern contains no '%'. Stop. errors go away.
Unfortunately I'm still getting the config.h error mentioned
previously.

The only thing different from your setup appears to be cygwin. I'm
going to try and use only mingw and see if that resolves it.

Thanks again for your help. For awhile there I thought we were all
alone in this since there doesn't seem to be much enthusiasm to respond in
the lists.

Cheers,
Peter

On Tue, Apr 1, 2014 at 5:38 PM, Parameswaran M <cegparamesh@gmail.com >>>>>> > wrote:

Dear All,

I faced the same issues as you all mentioned. I finally tried
myself, and built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of wix
installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"
>> $(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe"
>> $(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the
location where IzPack is installed, and gave location for zip files of JRE.
When I used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:

-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*

-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That can
be done by downloading Bzip2 source and compile it through mingw. Was an
easy task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve < >>>>>>> petervnv1@gmail.com> wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore the
related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h isn't
being built correctly) but no one on this list has responded yet so I can't
really help you much.

If I manage to successfully build the win installer I'll update you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com>wrote:

Hello,

Are the build instructions for windows installers in build.xml up
to date?

I've been trying to build one without any success, and I see they
mention installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could
follow? I feel like I'm wasting time following out dated instructions but
I'd like to be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#11

Hi Douglas,

I'm not really sure I can help much since my solution was more of a hack
than a real solution.
In fact I still get the error messages I mentioned above. I just ignore
them since the setup.msi still gets created despite the errors. (config.h,
missing setup.msi and unable to execute lzma)
You have to mess around with the source as Parameswaran said above in order
to hardcode a version number to get around that particular problem.

Now I've noticed another strange issue. Basically the jitsi.exe that gets
compiled into the light directory is flagged by Avira as a trojan.

In fact uploading it to virustotal shows it being flagged by 3 different
vendors. Weird, huh? Virustotal also shows a udp connection to
64.4.10.33:123, which apparently is a hotmail IP. I'd like to know where in
the code this udp call is coded so I can turn it off.

https://www.virustotal.com/en/file/7e083aff724fd7cc931ba086db7ad58fc545ece34b13aebb0d2e3375fe1b5e80/analysis/1396895556/

Has anyone else experienced this?

···

On Fri, Apr 4, 2014 at 6:17 PM, dglas89 <dglas89@yahoo.com.br> wrote:

Much good that did!

I had problems with Windows Installer a while ago, and was unable to easy
solution.

What I did was, I downloaded the installer "Jitsi" on the site, installed on
my computer, I went into the installation directory and got the files.

I compiled my modifications in the source code and replace the files in
the "Bundles" folder that the installer generated.

Finally, I created a new installer with these files in "InnoSetup".

It was my "desperate" solution.

Now that you have discovered the mystery, could create a tutorial of steps
performed, it can help many others here.

Thanks in advance.

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> [image:
https://bitbucket.org/douglasjunior] <http://bitbucket.org/douglasjunior>

2014-04-04 12:55 GMT-03:00 Peter Villeneuve <petervnv1@gmail.com>:

Hi Parameswaran,

Just wanted to thank you for your help and to let you know that I finally
managed somewhat to get a working installer.
I had to hack at the source code some but it finally builds. The
instructions definitely need to be updated. What a nightmare.

Thanks again for all your help

On Thu, Apr 3, 2014 at 2:34 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Hi Peter,

I faced the same problem as you. Gosh. I missed mentioning it.
Looks like in Jitsi, they have some kind of Continuous integration, and
they replace the "build.by.SVN" value with the actual revision number.
But I use git, and probably you too, and we don't have any value set.

So to make it work, I modified build.xml , but I am not sure what I
modified exactly. Try adding a "label" property with value 0.0:
<property name="label" value="0"/>
<property name="build-label" value="0"/>

I think the property was picked up from NightlyBuildID and its
VersionImpl. Please check the code there too. Try finding if you have a
build.by.SVN value somewhere in there.
I'm sorry as I have changed the code now, and couldn't find where I
changed! If this still didn't work, I'll take a look by downloading a fresh
copy.

Thanks,
Paramesh

On Thu, Apr 3, 2014 at 6:07 PM, Peter Villeneuve <petervnv1@gmail.com>wrote:

Hi Parameswaran,

I thought I had changed cleansweep makefile too but apparently not.
Now with those changes the build almost completes, but still not quite
there yet.

I see the config.h error continues although it is ignored. And indeed
looking in the tmp/light directory no config.h file seems to be created.

build-installation-wix-base:

[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir: c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

The same error occurs when running the unzip-jre target later on:

unzip-windows-jre:

[exec] rm.exe -f ../../../../../resources/install/windows/config.h
     [exec] Makefile:51: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #undef PACKAGECODE >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../../resources/install/windows/config.h, ...) failed.
      [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

And it finally fails because it doesn't like the version code

build-installation-wix-msi:

     [copy] Copying 5 files to c:\jitsi\jitsi-master\release\windows\tmp
     [exec] installer-windows.wxs
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0108 : The Product/@Version attribute's value, '2.5.0.build.by.SVN', is
not a valid version. Legal version values should look like 'x.x.x.x' where
x is an integer from 0 to 65534.
     [exec]
c:\jitsi\jitsi-master\release\windows\tmp\installer-windows.wxs(9) : error
CNDL0010 : The Product/@Version attribute was not found; it is required.

This last error should be fairly easy to fix, but the errors with
config.h are more puzzling.
Could there still be a syntax problem in the make file?

Thanks

On Wed, Apr 2, 2014 at 8:49 PM, Parameswaran M <cegparamesh@gmail.com>wrote:

Hi Peter,

Did you change the Makefile in src/native/windows/setup/cleansweep? I
guess that should be the problem as per your log sequence, just checked the
ANT build xml.

Thanks,
Paramesh

On Wed, Apr 2, 2014 at 10:42 PM, Peter Villeneuve <petervnv1@gmail.com >>>>> > wrote:

Hi Parameswaran,

I think I've made some progress but I'm still getting the error when
trying to build config.h, specifically this line: Makefile:48: recipe for
target 'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed

At least now the build continues and doesn't fail right away. It
manages to reach the jre inclusion part before failing again with the
dreaded: *** target pattern contains no '%'. Stop.

In your tutorial you mention changes to the makefile. I removed the "
from the target.dir and put the echo command into different lines in the
makefiles located at C:\jitsi\jitsi-master\src\native\windows\run and also
the makefile at C:\jitsi\jitsi-master\src\native\windows\setup (this second
one seems to have the same issues as the one in the run directory). Are
there any other makefiles I need to change that you can think of or any
other clues why it's failing?

Thanks,

Peter

Logs:

build-installation-wix-base:
[propertyfile] Creating new property file:
c:\jitsi\jitsi-master\release\windows\versionupdate.properties
    [mkdir] Created dir:
c:\jitsi\jitsi-master\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] Makefile:48: recipe for target
'c:\jitsi\jitsi-master/release/windows/tmp/light/config.h' failed
     [exec] echo #define PRODUCTNAME "Jitsi" >
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define PRODUCTBUILDVERSION "2.5.0.build.by.SVN" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME "Jitsi" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] echo #define TARGET_BASENAME_EXE "Jitsi.exe" >>
c:\jitsi\jitsi-master/release/windows/tmp/light/config.h
     [exec] C:/mingw/x86/bin/mingw32-windres.exe
-I../../../../resources/install/windows
-Ic:\jitsi\jitsi-master/release/windows/tmp/light run.rc -O coff -o
c:\jitsi\jitsi-master/release/windows/tmp/light/run.res
     [exec] process_begin: CreateProcess(NULL, rm.exe -f
../../../../resources/install/windows/config.h, ...) failed.
     [exec] make (e=2): The system cannot find the file specified.
     [exec] make.exe:
[c:\jitsi\jitsi-master/release/windows/tmp/light/config.h] Error 2 (ignored)

keeps going without error until

unzip-windows-jre:
    [unzip] Expanding: C:\Install\jre-7u51-windows-i586.zip into
c:\jitsi\jitsi-master\release\windows\tmp\light
     [copy] Copying 1 file to
c:\jitsi\jitsi-master\release\windows\tmp\light
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\component-defines.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-defines.xsl
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\component-refs.wxi
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-refs.xsl
     [xslt] Processing
c:\jitsi\jitsi-master\release\windows\tmp\heat.wxs to
c:\jitsi\jitsi-master\release\windows\tmp\lib-dir-id.properties
     [xslt] Loading stylesheet
c:\jitsi\jitsi-master\resources\install\windows\heat-component-libsearch.xsl
     [copy] Copying 1 file to
c:\jitsi\jitsi-master\release\windows\tmp
     [exec] Makefile:44: *** target pattern contains no '%'. Stop.

On Tue, Apr 1, 2014 at 6:11 PM, Peter Villeneuve <petervnv1@gmail.com >>>>>> > wrote:

Hi Parameswaran,

Thanks for the detailed response.
Looking at what you wrote, I'm pretty sure that I did the exact same
changes you mentioned, except that I still get a make error which is
related to a missing config.h (I also broke the echo commands into multiple
lines just like you). This indeed (and removing the " in TARGET_DIR) made
the annoying *** target pattern contains no '%'. Stop. errors go away.
Unfortunately I'm still getting the config.h error mentioned
previously.

The only thing different from your setup appears to be cygwin. I'm
going to try and use only mingw and see if that resolves it.

Thanks again for your help. For awhile there I thought we were all
alone in this since there doesn't seem to be much enthusiasm to respond in
the lists.

Cheers,
Peter

On Tue, Apr 1, 2014 at 5:38 PM, Parameswaran M < >>>>>>> cegparamesh@gmail.com> wrote:

Dear All,

I faced the same issues as you all mentioned. I finally tried
myself, and built Jitsi in Windows, both 32 bit and 64 bit versions.

I didn't use Cygwin, but just used Mingw+Msys.

Here is what I did:

1) Install Mingw + Msys in C:/mingw/x86 folder
2) Install ANT
3) Install BZip2 in c:/mingw/bzip2
4) Install xz in c:/mingw/xz
5) Install Wix , I installed in C:/win35. Change the location of
wix installation path in resources/install/build.xml

I had to change the Makefiles a little, here are the changes I made:

1) Removed quotes in Target directory initialization:

*- target.dir := "$(TARGET_DIR)"*
*- cygwin.target.dir := "$(TARGET_DIR)"*
*+ target.dir := $(TARGET_DIR)*
*+ cygwin.target.dir := $(TARGET_DIR)*

2) Changed single line echo into multiline:
*- echo.exe -e '#define PRODUCTNAME "$(PRODUCTNAME)"\n#define
PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"\n#define*
*+ echo #define PRODUCTNAME "$(PRODUCTNAME)" >
$(cygwin.target.dir)/config.h*
*+ echo #define PRODUCTBUILDVERSION "$(PRODUCTBUILDVERSION)"
>> $(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME "$(TARGET_BASENAME)" >>
$(cygwin.target.dir)/config.h*
*+ echo #define TARGET_BASENAME_EXE "$(TARGET_BASENAME).exe"
>> $(cygwin.target.dir)/config.h*

3) In the resources/install/installers/properties - Specified the
location where IzPack is installed, and gave location for zip files of JRE.
When I used the setup file of JRE, the build didn't bundle the JRE along"

*+windows.jre.zip=C:\\JavaInstallers\\jre32.zip*
*+windows.jre64.zip=C:\\JavaInstallers\\jre64.zip*

Finally, I wrote a simple batch script to build the installer:

-------------------------------------------------------------------------
*set
PATH=C:\apps\apache-ant-1.9.1\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\wix35*

*set ANT_HOME=C:\apps\apache-ant-1.9.1*
*set JAVA_HOME=C:/Program Files (x86)\Java\jdk1.7.0_17*
*set BZ2_HOME=c:/mingw/bzip2_x86*
*set LZMA_HOME=C:/mingw/xz*
*set MINGW_HOME=C:/mingw*

*start /B /LOW /WAIT ant build-installation-wix*

-------------------------------------------------------------------------

This is for the 32 bit version.

For 64 bit though, I had to build bzip2 from source myself. That
can be done by downloading Bzip2 source and compile it through mingw. Was
an easy task. Rest of the steps are all the same.

Please try this out and let me know if this worked for you.

On Tue, Apr 1, 2014 at 8:42 PM, Peter Villeneuve < >>>>>>>> petervnv1@gmail.com> wrote:

Hi Janus,

I'm also stuck at building the windows installer after following a
tutorial on the internet (check the archives from March for my message and
link to the tut).
I believe that Izpack is indeed deprecated so you should ignore
the related instructions in build.xml, but hopefully a dev will be able to
confirm this.

I'm stuck at an annoying make file error (apparently config.h
isn't being built correctly) but no one on this list has responded yet so I
can't really help you much.

If I manage to successfully build the win installer I'll update
you.

Cheers

On Tue, Apr 1, 2014 at 3:27 PM, JJ Janus <janus5005@gmail.com>wrote:

Hello,

Are the build instructions for windows installers in build.xml up
to date?

I've been trying to build one without any success, and I see they
mention installing 7zip and Izpack, which I had thought were no longer used.

So are there any working up to date guides or tutorials I could
follow? I feel like I'm wasting time following out dated instructions but
I'd like to be sure.

Thank you

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#12

Now I've noticed another strange issue. Basically the jitsi.exe that gets
compiled into the light directory is flagged by Avira as a trojan.

We had that before with other files, these are false alarms.

In fact uploading it to virustotal shows it being flagged by 3 different
vendors. Weird, huh? Virustotal also shows a udp connection to

64.4.10.33:123

<http://64.4.10.33:123> , which apparently is a hotmail IP. I'd like to

know

where in the code this udp call is coded so I can turn it off.

Two of them call it "suspicious" which is probably based on their
heuristics. The IP connection is definitely not something that Jitsi is
doing. My guessings:
- the sandbox is doing some time sync (port 123 is NTP) and mistakenly
assigns it to Jitsi
- the channel for the crash handler is somehow acting weird.
- the process for locating a Java runtime finds something and Windows
validates java.exe's signature

There's definitely nothing in the code that connects to that IP and you
could "turn off".

https://www.virustotal.com/en/file/7e083aff724fd7cc931ba086db7ad58fc545ec
e34b 13aebb0d2e3375fe1b5e80/analysis/1396895556/

Has anyone else experienced this?

Adding a trusted digital signature to a binary often helps avoiding false AV
alarms.

Ingo