You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Emilian Bold <em...@gmail.com> on 2017/04/09 20:10:05 UTC

How to build the NetBeans installers?

Hello,

I'm working on reproducible builds and I want to see how deterministic the
installers are.

But... I can't seem to manage building the NetBeans installers.

nbbuild/newbuild/build-nbi.sh fails with:

> java.net.UnknownHostException: jre.us.oracle.com

build-mac-nbi.sh (after I've tweaked it to add a $BUILD_NBJDK8 parameter)
fails with:

>
http://jre.us.oracle.com/java/re/glassfish/4.1.1/promoted/latest/archive/release
doesn't exist

--emi

Re: How to build the NetBeans installers?

Posted by Emilian Bold <em...@gmail.com>.
Signing is the last step of the installers build scripts and I see the
scripts explicitly allow an empty SIGNING_PASSWORD which
sets SIGNING_IDENTITY=0 and they also have the DONT_SIGN_INSTALLER flag.

So I should be able to build unsigned installers (or even sign them with my
own keys).

I expect that under Apache also we will have (un)signed installers.



--emi

On Mon, Apr 10, 2017 at 12:17 AM, Vladimir Voskresensky <
vladimir.voskresensky@oracle.com> wrote:

> Hi,
>
> I'm afraid you can not currently build installers yourself, because they
> have to be signed and keys are available only for dedicated engineers.
>
> Vladimir.
>
>
> On 09.04.2017 23:10, Emilian Bold wrote:
>
>> Hello,
>>
>> I'm working on reproducible builds and I want to see how deterministic the
>> installers are.
>>
>> But... I can't seem to manage building the NetBeans installers.
>>
>> nbbuild/newbuild/build-nbi.sh fails with:
>>
>> java.net.UnknownHostException: jre.us.oracle.com
>>>
>> build-mac-nbi.sh (after I've tweaked it to add a $BUILD_NBJDK8 parameter)
>> fails with:
>>
>> http://jre.us.oracle.com/java/re/glassfish/4.1.1/promoted/la
>> test/archive/release
>> doesn't exist
>>
>> --emi
>>
>>
>

Re: How to build the NetBeans installers?

Posted by Vladimir Voskresensky <vl...@oracle.com>.
Hi,

I'm afraid you can not currently build installers yourself, because they 
have to be signed and keys are available only for dedicated engineers.

Vladimir.

On 09.04.2017 23:10, Emilian Bold wrote:
> Hello,
>
> I'm working on reproducible builds and I want to see how deterministic the
> installers are.
>
> But... I can't seem to manage building the NetBeans installers.
>
> nbbuild/newbuild/build-nbi.sh fails with:
>
>> java.net.UnknownHostException: jre.us.oracle.com
> build-mac-nbi.sh (after I've tweaked it to add a $BUILD_NBJDK8 parameter)
> fails with:
>
> http://jre.us.oracle.com/java/re/glassfish/4.1.1/promoted/latest/archive/release
> doesn't exist
>
> --emi
>


Re: How to build the NetBeans installers?

Posted by Emilian Bold <em...@gmail.com>.
Could we work on this so it's possible to build them externally? At
least for macOS I don't need any JRE to embed.

The scripts also assume a remote macOS build slave, while I have a
macOS machine running the script, it could build locally the dmg.

--emi


On Tue, Apr 11, 2017 at 10:55 AM, Martin Balin <Ma...@oracle.com> wrote:
> It is/was being built behind firewall thus references to internal machines.
> There is also Mac machine involved in installers building.
> Martin
>
>
> On 9.4.2017 22:10, Emilian Bold wrote:
>>
>> Hello,
>>
>> I'm working on reproducible builds and I want to see how deterministic the
>> installers are.
>>
>> But... I can't seem to manage building the NetBeans installers.
>>
>> nbbuild/newbuild/build-nbi.sh fails with:
>>
>>> java.net.UnknownHostException: jre.us.oracle.com
>>
>> build-mac-nbi.sh (after I've tweaked it to add a $BUILD_NBJDK8 parameter)
>> fails with:
>>
>>
>> http://jre.us.oracle.com/java/re/glassfish/4.1.1/promoted/latest/archive/release
>> doesn't exist
>>
>> --emi
>>
>

Re: How to build the NetBeans installers?

Posted by Martin Balin <Ma...@Oracle.COM>.
It is/was being built behind firewall thus references to internal machines.
There is also Mac machine involved in installers building.
Martin

On 9.4.2017 22:10, Emilian Bold wrote:
> Hello,
>
> I'm working on reproducible builds and I want to see how deterministic the
> installers are.
>
> But... I can't seem to manage building the NetBeans installers.
>
> nbbuild/newbuild/build-nbi.sh fails with:
>
>> java.net.UnknownHostException: jre.us.oracle.com
> build-mac-nbi.sh (after I've tweaked it to add a $BUILD_NBJDK8 parameter)
> fails with:
>
> http://jre.us.oracle.com/java/re/glassfish/4.1.1/promoted/latest/archive/release
> doesn't exist
>
> --emi
>