[jitsi-dev] Error when building Windows installer


#1

After following instructions at
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31

and other previous posts, I'm getting the following error when trying to
build Windows installer:

$ ant build-installation-wix-64
Buildfile: C:\projects\jitsi\build.xml

-pre-version:

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

load-properties:

build-installation-wix-64:

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

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\projects\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\projects\jitsi\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo.exe -e '#define PRODUCTNAME "Jitsi"\n#define COMPANYNAME "
jitsi.org"\n#define PRODUCTBUILDVERSION "2.9.0.bu
ld.by.SVN"\n#define PRODUCTBUILDVERSION_COMMA 2,9,0,build,by,SVN,0\n#define
TARGET_BASENAME "Jitsi"\n#define TARGET_BASENAME
EXE "Jitsi.exe"' >
/cygdrive/c/projects/jitsi/release/windows/tmp/light/config.h
     [exec] C:/mingw/x64/bin/windres.exe
-I../../../../resources/install/windows
-IC:/projects/jitsi/release/windows/tmp/lig
t run.rc -O coff -o C:/projects/jitsi/release/windows/tmp/light/run.res
     [exec] C:\mingw\x64\bin\windres.exe: run.rc:24: syntax
errorMakefile:54: recipe for target '/cygdrive/c/projects/jitsi/
elease/windows/tmp/light/run.res' failed
     [exec]
     [exec] make: ***
[/cygdrive/c/projects/jitsi/release/windows/tmp/light/run.res] Error 1

BUILD FAILED
C:\projects\jitsi\resources\install\build.xml:304: The following error
occurred while executing this line:
C:\projects\jitsi\resources\install\build.xml:457: exec returned: 2

Total time: 2 seconds

···

--------------------------------------------
here is my path in Cygwin

PATH='/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Intel/iCLS
Client:/cygdrive/c/Program Files/Intel/iCLS Client:/
cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerSh
ell/v1.0:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine
Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Inte
l(R) Management Engine Components/DAL:/cygdrive/c/Program
Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/P
rogram Files (x86)/Intel/Intel(R) Management Engine
Components/IPT:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Progr
am Files/Common
Files/Intel/WirelessCommon:/cygdrive/c/tools/apache-ant-1.9.3/bin:/cygdrive/c/tools/Java/jdk1.7.0_75/bin:C/MinGW/x64/bin:C/MinGW/x64/mysys/1.0:/cygdrive/c/Program
Files/WiX:/cygdrive/c/tools/Make/bin'

PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PIPESTATUS=([0]="1")
--------------------------------------------------

Thanks in advance


#2

Hi,

you can try $ant build-installation-wix-64 -Dlabel=5434

Regards
damencho

···

On Fri, Mar 27, 2015 at 9:10 PM, C M <cmregister@gmail.com> wrote:

After following instructions at
https://java.net/projects/jitsi/lists/users/archive/2012-03/message/31

and other previous posts, I'm getting the following error when trying to
build Windows installer:

$ ant build-installation-wix-64
Buildfile: C:\projects\jitsi\build.xml

-pre-version:

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

load-properties:

build-installation-wix-64:

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

define-ant-contrib-task:

build-installation-wix-base:
[propertyfile] Creating new property file:
C:\projects\jitsi\release\windows\versionupdate.properties
    [mkdir] Created dir: C:\projects\jitsi\release\windows\tmp\light
     [exec] rm.exe -f ../../../../resources/install/windows/config.h
     [exec] echo.exe -e '#define PRODUCTNAME "Jitsi"\n#define COMPANYNAME
"jitsi.org"\n#define PRODUCTBUILDVERSION "2.9.0.bu
ld.by.SVN"\n#define PRODUCTBUILDVERSION_COMMA 2,9,0,build,by,SVN,0\n#define
TARGET_BASENAME "Jitsi"\n#define TARGET_BASENAME
EXE "Jitsi.exe"' >
/cygdrive/c/projects/jitsi/release/windows/tmp/light/config.h
     [exec] C:/mingw/x64/bin/windres.exe
-I../../../../resources/install/windows
-IC:/projects/jitsi/release/windows/tmp/lig
t run.rc -O coff -o C:/projects/jitsi/release/windows/tmp/light/run.res
     [exec] C:\mingw\x64\bin\windres.exe: run.rc:24: syntax
errorMakefile:54: recipe for target '/cygdrive/c/projects/jitsi/
elease/windows/tmp/light/run.res' failed
     [exec]
     [exec] make: ***
[/cygdrive/c/projects/jitsi/release/windows/tmp/light/run.res] Error 1

BUILD FAILED
C:\projects\jitsi\resources\install\build.xml:304: The following error
occurred while executing this line:
C:\projects\jitsi\resources\install\build.xml:457: exec returned: 2

Total time: 2 seconds
--------------------------------------------
here is my path in Cygwin

PATH='/usr/local/bin:/usr/bin:/cygdrive/c/Program Files (x86)/Intel/iCLS
Client:/cygdrive/c/Program Files/Intel/iCLS Client:/
cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerSh
ell/v1.0:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine
Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Inte
l(R) Management Engine Components/DAL:/cygdrive/c/Program
Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/P
rogram Files (x86)/Intel/Intel(R) Management Engine
Components/IPT:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Progr
am Files/Common
Files/Intel/WirelessCommon:/cygdrive/c/tools/apache-ant-1.9.3/bin:/cygdrive/c/tools/Java/jdk1.7.0_75/bin:C/MinGW/x64/bin:C/MinGW/x64/mysys/1.0:/cygdrive/c/Program
Files/WiX:/cygdrive/c/tools/Make/bin'

PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
PIPESTATUS=([0]="1")
--------------------------------------------------

Thanks in advance

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