Error while creating windows installer
Shruti Mehta
shruti.mehta at idainfront.se
Wed Mar 13 06:50:50 UTC 2019
Hello,
Yes I tried with 1.7.2pre it worked for me.
Thanks,
Shruti Mehta
-----Original Message-----
From: Jiri Vanek <jvanek at redhat.com>
Sent: Monday, March 11, 2019 19:38
To: Shruti Mehta <shruti.mehta at idainfront.se>; distro-pkg-dev at openjdk.java.net
Subject: Re: Error while creating windows installer
Hi!
Had the 1.8pre and 1.7.2pre tarballs worked for you?
J.
On 3/8/19 1:56 PM, Jiri Vanek wrote:
> On 3/8/19 1:15 PM, Shruti Mehta wrote:
>> Hello,
>>
>> I realized that the tar at http://icedtea.wildebeest.org/download/source/icedtea-web-1.7.1.tar.gz does not have the win-installer folder. Hence there is no json file.
>> When I copied the folder from the hg clone http://icedtea.classpath.org/hg/release/icedtea-web-1.7 It worked for me.
>
> Great!
>
> Then please, continue with all your attempts in 1.8:) as 1.7 will be clsoed.
>
> HTH
> J.
>>
>> Thanks,
>> Shruti Mehta
>>
>>
>> -----Original Message-----
>> From: Jiri Vanek <jvanek at redhat.com>
>> Sent: Friday, March 8, 2019 17:04
>> To: Shruti Mehta <shruti.mehta at idainfront.se>;
>> distro-pkg-dev at openjdk.java.net
>> Subject: Re: Error while creating windows installer
>>
>> On 1/31/19 11:39 AM, Shruti Mehta wrote:
>>> Hello,
>>>
>>>
>>>
>>> I configured the IcedTea with Wix Tool and want to generate an msi
>>> installer with openjdk and with
>>> --disable-native-plugin flag.
>>>
>>> The build was successful.
>>>
>>> When I am trying to execute make win-installer , I am getting an error as follows:
>>>
>>>
>>>
>>> sed: can't read
>>> C:/IceTea/icedtea-web-1.7.1/win-installer/installer.json.in: No such
>>> file or directory
>>>
>>> make: *** [Makefile:1013:
>>> C:/IceTea/icedtea-web-1.7.1/win-installer.build/itw-installer.json]
>>> Error 2
>>>
>>>
>> Looking to my windows build logs, it looks complety same:
>>
>> sed \
>> -e "s|../win-installer|R:/itw-test/icedtea-web/win-installer|g" \ -e
>> s/[@]PACKAGE_VERSION[@]/1.8pre/g
>> R:/itw-test/icedtea-web/win-installer/installer.json.in >
>> R:/itw-test/icedtea-web/win-installer.build/itw-installer.json
>> "C:/cygwin64/home/tester/bootjdk/jre/bin/java" -jar
>> "C:/msi-deps/wixgen.jar" "R:/itw-test/image" -c
>> R:/itw-test/icedtea-web/win-installer.build/itw-installer.json -o
>> R:/itw-test/icedtea-web/win-installer.build/itw-installer.wxs
>> cd R:/itw-test/icedtea-web/win-installer.build &&
>> "/cygdrive/c/msi-deps/wix311-binaries/"/candle.exe
>> /nologo itw-installer.wxs
>> itw-installer.wxs
>>
>> or
>>
>>
>> if [ ! -e R:/itw-test/image/bin/itw-modularjdk.args ] ; then cp
>> R:/itw-test/image/bin/itw-modularjdk.args
>> R:/itw-test/image/bin/itw-modularjdk.args ; fi cp -r
>> R:/itw-test/icedtea-web/icedtea-web-docs/1.7.2pre+rb2c7ba07a660/html
>> R:/itw-test/image/icedtea-web-docs
>> cp R:/itw-test/icedtea-web/netx.build/lib/src.zip
>> R:/itw-test/image/netx.src.zip cp
>> R:/itw-test/icedtea-web/liveconnect/lib/src.zip
>> R:/itw-test/image/plugin.src.zip rm -rf
>> R:/itw-test/icedtea-web/win-installer.build
>> mkdir R:/itw-test/icedtea-web/win-installer.build
>> sed \
>> -e "s|../win-installer|R:/itw-test/icedtea-web/win-installer|g" \ -e
>> s/[@]PACKAGE_VERSION[@]/1.7.2pre/g
>> R:/itw-test/icedtea-web/win-installer/installer.json.in >
>> R:/itw-test/icedtea-web/win-installer.build/itw-installer.json
>> "C:/cygwin64/home/tester/bootjdk/jre/bin/java" -jar
>> "C:/msi-deps/wixgen.jar" "R:/itw-test/image" -c
>> R:/itw-test/icedtea-web/win-installer.build/itw-installer.json -o
>> R:/itw-test/icedtea-web/win-installer.build/itw-installer.wxs
>> cd R:/itw-test/icedtea-web/win-installer.build &&
>> "/cygdrive/c/msi-deps/wix311-binaries/"/candle.exe
>> /nologo itw-installer.wxs
>> itw-installer.wxs
>> cd R:/itw-test/icedtea-web/win-installer.build &&
>> "/cygdrive/c/msi-deps/wix311-binaries/"/light.exe
>> /nologo -ext WixUIExtension itw-installer.wixobj
>> R:\itw-test\icedtea-web\win-installer.build\itw-installer.wxs(3004) :
>> warning LGHT1076 : ICE61: This product should remove only older
>> versions of itself. The Maximum version is not less than the current
>> product. (1.7.0.0 1.7.0.0)
>>
>> Only it is passing....:(
>>
>> MAybe try our prerelease?
>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2019-March/0412
>> 92.html
>>
>>>
>>> There is an empty installer.json file in the location.
>>
>>
>>>
>>> I have attached the complete log.
>>>
>>>
>>>
>>> Kindly let me know how to I resolve the error.
>>>
>>>
>>>
>>> Thanks,
>>>
>>> Shruti Mehta
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Jiri Vanek
>> Senior QE engineer, OpenJDK QE lead, Mgr.
>> Red Hat Czech
>> jvanek at redhat.com M: +420775390109
>>
>
>
--
Jiri Vanek
Senior QE engineer, OpenJDK QE lead, Mgr.
Red Hat Czech
jvanek at redhat.com M: +420775390109
More information about the distro-pkg-dev
mailing list