Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Geertjan Wielenga
Yes and the difference there is that the Snap package is officially
supported by Apache NetBeans. Maybe if that screenshot of Apache NetBeans
10 can be changed to 11.0, then we should definitely add it to the
Downloads page.

Again great work by Laszlo by the way. :-)

Gj


On Fri, Apr 5, 2019 at 5:47 PM John Neffenger  wrote:

> On 4/5/19 7:51 AM, Geertjan Wielenga wrote:
> > OK, added info about the installers as a tip on the Download page:
> >
> > https://netbeans.apache.org/download/nb110/nb110.html
>
> Should we also mention the Snap package for Linux users?
>
> Apache NetBeans (incubating)
> https://snapcraft.io/netbeans
>
> It was really nice to find my snap install of NetBeans 10.0 already
> upgraded to NetBeans 11.0 when I woke up this morning. It also has the
> comforting green check mark on the publisher name showing that it's a
> "verified account."
>
> name:  netbeans
> summary:   Apache NetBeans IDE (incubating)
> publisher: Apache NetBeans (incubating) (apache-netbeans✓)
> contact:   https://lists.apache.org/list.html?us...@netbeans.apache.org
> license:   unset
>
> Thanks,
> John
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread John Neffenger

On 4/5/19 7:51 AM, Geertjan Wielenga wrote:

OK, added info about the installers as a tip on the Download page:

https://netbeans.apache.org/download/nb110/nb110.html


Should we also mention the Snap package for Linux users?

Apache NetBeans (incubating)
https://snapcraft.io/netbeans

It was really nice to find my snap install of NetBeans 10.0 already 
upgraded to NetBeans 11.0 when I woke up this morning. It also has the 
comforting green check mark on the publisher name showing that it's a 
"verified account."


name:  netbeans
summary:   Apache NetBeans IDE (incubating)
publisher: Apache NetBeans (incubating) (apache-netbeans✓)
contact:   https://lists.apache.org/list.html?us...@netbeans.apache.org
license:   unset

Thanks,
John

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread reema . taneja
Hi,  I will not be merging this branch to master, it is pushed to my 
fork only for hosting the binaries temporarily.


Thanks,

Reema


On 05/04/19 3:28 PM, Tushar Joshi wrote:

I can see the binary files are committed and pushed to a code branch on
github fork of NetBeans.
In my opinion this is an anti-pattern and binary files shall not be
committed to code repository (they add to the size of the repository).
Ideally all binaries coming out of build process shall be part of the
release (separate functionality  tab) created on Github.

I believe when the installer creation code is pushed to the repository as
Geertjan mentions, then all these binary files will be available to be
added to the release section of NetBeans.

with regards
 Tushar

Tushar Joshi, Nagpur: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tusharjoshi.com=DwIFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0=oEcFqq0J0RBRe11dpitSUEtJ6BFdtGDWnMRoX-JB_mg=LWIwiyJ66DCmVEzClLgf0JE3GY3XqfSUDBCwUe-lYRg=

* MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2

* Senior Architect @ Persistent Systems 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.persistent.com=DwIFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0=oEcFqq0J0RBRe11dpitSUEtJ6BFdtGDWnMRoX-JB_mg=cZZSndo6gLHyD4OpmoZNIx_C-p-1G7L0nLh6I2xFbVE=
* LinkedIn: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_tusharvjoshi=DwIFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0=oEcFqq0J0RBRe11dpitSUEtJ6BFdtGDWnMRoX-JB_mg=bReg2Ns0SUJybcSZSh5Ufg1nrMNqGNGDFGiYhXzO8KQ=



On Fri, Apr 5, 2019 at 2:38 PM Christian Lenz 
wrote:


Yes sure, I only wanted to say, that smth changed/smth is missing from
using NetBeans > 9. So there where no problems with the old oracle NetBeans
until 8.2 (Maybe they where signed correctly) and no problems with NetBeans
9. It started happening with NetBeans 10. But to end my discussion, I will
create a ticket or a new thread about that problem.


Cheers

Chris



Von: Pete Whelpton
Gesendet: Freitag, 5. April 2019 11:05
An: dev@netbeans.incubator.apache.org
Betreff: Re: [DISCUSS] Experimental installers for 11.0

No worries :)   My understanding (I'm 100% sure that this my understanding
is correct) is that digital signing weights the algorithm more in favour of
not displaying a warning, but the early adopters (first few people to
download) may still get the warning until a sufficient level of "trust" has
been built up.

All the best,

P

On Fri, Apr 5, 2019 at 10:01 AM Christian Lenz 
wrote:


So signing is missing here, if I understand it correctly. Thx for the

link

Pete.


Cheers

Chris



Von: Pete Whelpton
Gesendet: Freitag, 5. April 2019 10:29
An: dev@netbeans.incubator.apache.org
Betreff: Re: [DISCUSS] Experimental installers for 11.0

The smartscreen warning is mentioned in the Smartscreen wikipedia page,
under criticism:  
https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikipedia.org_wiki_Microsoft-5FSmartScreen=DwIFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0=oEcFqq0J0RBRe11dpitSUEtJ6BFdtGDWnMRoX-JB_mg=o5yargrRqPHPRiMpiV4zB8vTPiFFnnkkgSsSvRXcNUA=

*SmartScreen Filter creates a problem for small software vendors when

they

distribute an updated version of installation or binary files over the
internet. Whenever an updated version is released, SmartScreen responds

by

stating that the file is not commonly downloaded and can therefore

install

harmful files on your system. This can be fixed by the author digitally
signing the distributed software. Reputation is then based not only on a
file's hash but on the signing certificate as well. A common distribution
method for authors to bypass SmartScreen warnings is to pack their
installation program (for example Setup.exe) into a Z
<https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikipedia.org_wiki_Zip-5F-28file-5Fformat-29=DwIFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0=oEcFqq0J0RBRe11dpitSUEtJ6BFdtGDWnMRoX-JB_mg=VUBTL_tboI-QXfVwyop7feza-DTeoRaWFgK0suEh-a8=>ip-Archive
 and

distribute

it that way, though this can confuse non-expert users.  *



On Fri, Apr 5, 2019 at 9:24 AM Christian Lenz 
wrote:


Hi,

I’m fine with adding this with a comment that those installer are not
official.

One Issue here is, when I wanted to start the installer, Windows says
again this message: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__ibb.co_2Nr8Q43=DwIFaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0=oEcFqq0J0RBRe11dpitSUEtJ6BFdtGDWnMRoX-JB_mg=D90WfYDjxYKC1SLLapbvOtmdbxSw7KspPsU6_UKwNjg=.
 This happened also for
NetBeans > 9. Until NetBeans 9, I didn’t have this Problem. So smth

changed

in the behaviour of the NetBeans executables/binaries that Windows will
show this message. I 

Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Tushar Joshi
>
> explicitly linking to the above on the page below so long as we clear
> state that these are not official Apache NetBeans installers, though that
> they should be seen as experimental installers for the next release:
>
> https://netbeans.apache.org/download/nb110/nb110.html
>
> Do we agree with this? Interested in responses and if everything is
> favorable and no objections, will add the info as described above to the
> page above in 24 hours.


+1 for this.

with regards
Tushar




On Fri, Apr 5, 2019 at 1:24 PM Geertjan Wielenga
 wrote:

> Hi all,
>
> Reema has put the installers created from the installer sources in her pull
> request on Apache NetBeans GitHub in her repo:
>
>
> https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries
>
> She also has a process whereby the installers can be generated as part of
> the build.
>
> However, since we have not checked in the sources of the installer into
> Apache NetBeans GitHub and we have not included these convenience binaries
> as part of the vote threads, the installers above can not be seen as
> official Apache NetBeans installers -- though that should be the aim for
> the next releases.
>
> However, as discussed in other threads some time ago, there's nothing wrong
> with explicitly linking to the above on the page below so long as we clear
> state that these are not official Apache NetBeans installers, though that
> they should be seen as experimental installers for the next release:
>
> https://netbeans.apache.org/download/nb110/nb110.html
>
> Do we agree with this? Interested in responses and if everything is
> favorable and no objections, will add the info as described above to the
> page above in 24 hours.
>
> Thanks,
>
> Gj
>


Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Wade Chandler
+1 link for now. Users! Users everywhere!

:-)

Wade

On Fri, Apr 5, 2019, 03:54 Geertjan Wielenga
 wrote:

> Hi all,
>
> Reema has put the installers created from the installer sources in her pull
> request on Apache NetBeans GitHub in her repo:
>
>
> https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries
>
> She also has a process whereby the installers can be generated as part of
> the build.
>
> However, since we have not checked in the sources of the installer into
> Apache NetBeans GitHub and we have not included these convenience binaries
> as part of the vote threads, the installers above can not be seen as
> official Apache NetBeans installers -- though that should be the aim for
> the next releases.
>
> However, as discussed in other threads some time ago, there's nothing wrong
> with explicitly linking to the above on the page below so long as we clear
> state that these are not official Apache NetBeans installers, though that
> they should be seen as experimental installers for the next release:
>
> https://netbeans.apache.org/download/nb110/nb110.html
>
> Do we agree with this? Interested in responses and if everything is
> favorable and no objections, will add the info as described above to the
> page above in 24 hours.
>
> Thanks,
>
> Gj
>


Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Tushar Joshi
I can see the binary files are committed and pushed to a code branch on
github fork of NetBeans.
In my opinion this is an anti-pattern and binary files shall not be
committed to code repository (they add to the size of the repository).
Ideally all binaries coming out of build process shall be part of the
release (separate functionality  tab) created on Github.

I believe when the installer creation code is pushed to the repository as
Geertjan mentions, then all these binary files will be available to be
added to the release section of NetBeans.

with regards
Tushar

Tushar Joshi, Nagpur: http://www.tusharjoshi.com

* MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2

* Senior Architect @ Persistent Systems http://www.persistent.com
* LinkedIn: http://www.linkedin.com/in/tusharvjoshi



On Fri, Apr 5, 2019 at 2:38 PM Christian Lenz 
wrote:

> Yes sure, I only wanted to say, that smth changed/smth is missing from
> using NetBeans > 9. So there where no problems with the old oracle NetBeans
> until 8.2 (Maybe they where signed correctly) and no problems with NetBeans
> 9. It started happening with NetBeans 10. But to end my discussion, I will
> create a ticket or a new thread about that problem.
>
>
> Cheers
>
> Chris
>
>
>
> Von: Pete Whelpton
> Gesendet: Freitag, 5. April 2019 11:05
> An: dev@netbeans.incubator.apache.org
> Betreff: Re: [DISCUSS] Experimental installers for 11.0
>
> No worries :)   My understanding (I'm 100% sure that this my understanding
> is correct) is that digital signing weights the algorithm more in favour of
> not displaying a warning, but the early adopters (first few people to
> download) may still get the warning until a sufficient level of "trust" has
> been built up.
>
> All the best,
>
> P
>
> On Fri, Apr 5, 2019 at 10:01 AM Christian Lenz 
> wrote:
>
> > So signing is missing here, if I understand it correctly. Thx for the
> link
> > Pete.
> >
> >
> > Cheers
> >
> > Chris
> >
> >
> >
> > Von: Pete Whelpton
> > Gesendet: Freitag, 5. April 2019 10:29
> > An: dev@netbeans.incubator.apache.org
> > Betreff: Re: [DISCUSS] Experimental installers for 11.0
> >
> > The smartscreen warning is mentioned in the Smartscreen wikipedia page,
> > under criticism:  https://en.wikipedia.org/wiki/Microsoft_SmartScreen
> >
> > *SmartScreen Filter creates a problem for small software vendors when
> they
> > distribute an updated version of installation or binary files over the
> > internet. Whenever an updated version is released, SmartScreen responds
> by
> > stating that the file is not commonly downloaded and can therefore
> install
> > harmful files on your system. This can be fixed by the author digitally
> > signing the distributed software. Reputation is then based not only on a
> > file's hash but on the signing certificate as well. A common distribution
> > method for authors to bypass SmartScreen warnings is to pack their
> > installation program (for example Setup.exe) into a Z
> > <https://en.wikipedia.org/wiki/Zip_(file_format)>ip-Archive and
> distribute
> > it that way, though this can confuse non-expert users.  *
> >
> >
> >
> > On Fri, Apr 5, 2019 at 9:24 AM Christian Lenz 
> > wrote:
> >
> > > Hi,
> > >
> > > I’m fine with adding this with a comment that those installer are not
> > > official.
> > >
> > > One Issue here is, when I wanted to start the installer, Windows says
> > > again this message: https://ibb.co/2Nr8Q43. This happened also for
> > > NetBeans > 9. Until NetBeans 9, I didn’t have this Problem. So smth
> > changed
> > > in the behaviour of the NetBeans executables/binaries that Windows will
> > > show this message. I already gave this info in another thread. This
> will
> > > only happen, when I download NetBeans, fresh and new. But when I delete
> > the
> > > whole folder and the whole dependent directories (userdir, cache), it
> > will
> > > show the message again.
> > >
> > > Should I create a new thread?
> > >
> > >
> > > Cheers
> > >
> > > Chris
> > >
> > >
> > >
> > > Von: Geertjan Wielenga
> > > Gesendet: Freitag, 5. April 2019 09:54
> > > An: dev
> > > Betreff: [DISCUSS] Experimental installers for 11.0
> > >
> > > Hi all,
> > >
> > > Reema has put the installers created from the installer sources in her
> > pull
> > > request on Apache NetBeans GitHub in her repo:
> > >
> > >
> &

Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Geertjan Wielenga
NetBeans 9 did not have installers at all...

Gj

On Fri, 5 Apr 2019 at 11:08, Christian Lenz  wrote:

> Yes sure, I only wanted to say, that smth changed/smth is missing from
> using NetBeans > 9. So there where no problems with the old oracle NetBeans
> until 8.2 (Maybe they where signed correctly) and no problems with NetBeans
> 9. It started happening with NetBeans 10. But to end my discussion, I will
> create a ticket or a new thread about that problem.
>
>
> Cheers
>
> Chris
>
>
>
> Von: Pete Whelpton
> Gesendet: Freitag, 5. April 2019 11:05
> An: dev@netbeans.incubator.apache.org
> Betreff: Re: [DISCUSS] Experimental installers for 11.0
>
> No worries :)   My understanding (I'm 100% sure that this my understanding
> is correct) is that digital signing weights the algorithm more in favour of
> not displaying a warning, but the early adopters (first few people to
> download) may still get the warning until a sufficient level of "trust" has
> been built up.
>
> All the best,
>
> P
>
> On Fri, Apr 5, 2019 at 10:01 AM Christian Lenz 
> wrote:
>
> > So signing is missing here, if I understand it correctly. Thx for the
> link
> > Pete.
> >
> >
> > Cheers
> >
> > Chris
> >
> >
> >
> > Von: Pete Whelpton
> > Gesendet: Freitag, 5. April 2019 10:29
> > An: dev@netbeans.incubator.apache.org
> > Betreff: Re: [DISCUSS] Experimental installers for 11.0
> >
> > The smartscreen warning is mentioned in the Smartscreen wikipedia page,
> > under criticism:  https://en.wikipedia.org/wiki/Microsoft_SmartScreen
> >
> > *SmartScreen Filter creates a problem for small software vendors when
> they
> > distribute an updated version of installation or binary files over the
> > internet. Whenever an updated version is released, SmartScreen responds
> by
> > stating that the file is not commonly downloaded and can therefore
> install
> > harmful files on your system. This can be fixed by the author digitally
> > signing the distributed software. Reputation is then based not only on a
> > file's hash but on the signing certificate as well. A common distribution
> > method for authors to bypass SmartScreen warnings is to pack their
> > installation program (for example Setup.exe) into a Z
> > <https://en.wikipedia.org/wiki/Zip_(file_format)>ip-Archive and
> distribute
> > it that way, though this can confuse non-expert users.  *
> >
> >
> >
> > On Fri, Apr 5, 2019 at 9:24 AM Christian Lenz 
> > wrote:
> >
> > > Hi,
> > >
> > > I’m fine with adding this with a comment that those installer are not
> > > official.
> > >
> > > One Issue here is, when I wanted to start the installer, Windows says
> > > again this message: https://ibb.co/2Nr8Q43. This happened also for
> > > NetBeans > 9. Until NetBeans 9, I didn’t have this Problem. So smth
> > changed
> > > in the behaviour of the NetBeans executables/binaries that Windows will
> > > show this message. I already gave this info in another thread. This
> will
> > > only happen, when I download NetBeans, fresh and new. But when I delete
> > the
> > > whole folder and the whole dependent directories (userdir, cache), it
> > will
> > > show the message again.
> > >
> > > Should I create a new thread?
> > >
> > >
> > > Cheers
> > >
> > > Chris
> > >
> > >
> > >
> > > Von: Geertjan Wielenga
> > > Gesendet: Freitag, 5. April 2019 09:54
> > > An: dev
> > > Betreff: [DISCUSS] Experimental installers for 11.0
> > >
> > > Hi all,
> > >
> > > Reema has put the installers created from the installer sources in her
> > pull
> > > request on Apache NetBeans GitHub in her repo:
> > >
> > >
> > >
> >
> https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries
> > >
> > > She also has a process whereby the installers can be generated as part
> of
> > > the build.
> > >
> > > However, since we have not checked in the sources of the installer into
> > > Apache NetBeans GitHub and we have not included these convenience
> > binaries
> > > as part of the vote threads, the installers above can not be seen as
> > > official Apache NetBeans installers -- though that should be the aim
> for
> > > the next releases.
> > >
> > > However, as discussed in other threads some time ago, there's nothing
> > wrong
> > > with explicitly linking to the above on the page below so long as we
> > clear
> > > state that these are not official Apache NetBeans installers, though
> that
> > > they should be seen as experimental installers for the next release:
> > >
> > > https://netbeans.apache.org/download/nb110/nb110.html
> > >
> > > Do we agree with this? Interested in responses and if everything is
> > > favorable and no objections, will add the info as described above to
> the
> > > page above in 24 hours.
> > >
> > > Thanks,
> > >
> > > Gj
> > >
> > >
> >
> >
>
>


AW: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Christian Lenz
Yes sure, I only wanted to say, that smth changed/smth is missing from using 
NetBeans > 9. So there where no problems with the old oracle NetBeans until 8.2 
(Maybe they where signed correctly) and no problems with NetBeans 9. It started 
happening with NetBeans 10. But to end my discussion, I will create a ticket or 
a new thread about that problem.


Cheers

Chris



Von: Pete Whelpton
Gesendet: Freitag, 5. April 2019 11:05
An: dev@netbeans.incubator.apache.org
Betreff: Re: [DISCUSS] Experimental installers for 11.0

No worries :)   My understanding (I'm 100% sure that this my understanding
is correct) is that digital signing weights the algorithm more in favour of
not displaying a warning, but the early adopters (first few people to
download) may still get the warning until a sufficient level of "trust" has
been built up.

All the best,

P

On Fri, Apr 5, 2019 at 10:01 AM Christian Lenz 
wrote:

> So signing is missing here, if I understand it correctly. Thx for the link
> Pete.
>
>
> Cheers
>
> Chris
>
>
>
> Von: Pete Whelpton
> Gesendet: Freitag, 5. April 2019 10:29
> An: dev@netbeans.incubator.apache.org
> Betreff: Re: [DISCUSS] Experimental installers for 11.0
>
> The smartscreen warning is mentioned in the Smartscreen wikipedia page,
> under criticism:  https://en.wikipedia.org/wiki/Microsoft_SmartScreen
>
> *SmartScreen Filter creates a problem for small software vendors when they
> distribute an updated version of installation or binary files over the
> internet. Whenever an updated version is released, SmartScreen responds by
> stating that the file is not commonly downloaded and can therefore install
> harmful files on your system. This can be fixed by the author digitally
> signing the distributed software. Reputation is then based not only on a
> file's hash but on the signing certificate as well. A common distribution
> method for authors to bypass SmartScreen warnings is to pack their
> installation program (for example Setup.exe) into a Z
> <https://en.wikipedia.org/wiki/Zip_(file_format)>ip-Archive and distribute
> it that way, though this can confuse non-expert users.  *
>
>
>
> On Fri, Apr 5, 2019 at 9:24 AM Christian Lenz 
> wrote:
>
> > Hi,
> >
> > I’m fine with adding this with a comment that those installer are not
> > official.
> >
> > One Issue here is, when I wanted to start the installer, Windows says
> > again this message: https://ibb.co/2Nr8Q43. This happened also for
> > NetBeans > 9. Until NetBeans 9, I didn’t have this Problem. So smth
> changed
> > in the behaviour of the NetBeans executables/binaries that Windows will
> > show this message. I already gave this info in another thread. This will
> > only happen, when I download NetBeans, fresh and new. But when I delete
> the
> > whole folder and the whole dependent directories (userdir, cache), it
> will
> > show the message again.
> >
> > Should I create a new thread?
> >
> >
> > Cheers
> >
> > Chris
> >
> >
> >
> > Von: Geertjan Wielenga
> > Gesendet: Freitag, 5. April 2019 09:54
> > An: dev
> > Betreff: [DISCUSS] Experimental installers for 11.0
> >
> > Hi all,
> >
> > Reema has put the installers created from the installer sources in her
> pull
> > request on Apache NetBeans GitHub in her repo:
> >
> >
> >
> https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries
> >
> > She also has a process whereby the installers can be generated as part of
> > the build.
> >
> > However, since we have not checked in the sources of the installer into
> > Apache NetBeans GitHub and we have not included these convenience
> binaries
> > as part of the vote threads, the installers above can not be seen as
> > official Apache NetBeans installers -- though that should be the aim for
> > the next releases.
> >
> > However, as discussed in other threads some time ago, there's nothing
> wrong
> > with explicitly linking to the above on the page below so long as we
> clear
> > state that these are not official Apache NetBeans installers, though that
> > they should be seen as experimental installers for the next release:
> >
> > https://netbeans.apache.org/download/nb110/nb110.html
> >
> > Do we agree with this? Interested in responses and if everything is
> > favorable and no objections, will add the info as described above to the
> > page above in 24 hours.
> >
> > Thanks,
> >
> > Gj
> >
> >
>
>



Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Pete Whelpton
No worries :)   My understanding (I'm 100% sure that this my understanding
is correct) is that digital signing weights the algorithm more in favour of
not displaying a warning, but the early adopters (first few people to
download) may still get the warning until a sufficient level of "trust" has
been built up.

All the best,

P

On Fri, Apr 5, 2019 at 10:01 AM Christian Lenz 
wrote:

> So signing is missing here, if I understand it correctly. Thx for the link
> Pete.
>
>
> Cheers
>
> Chris
>
>
>
> Von: Pete Whelpton
> Gesendet: Freitag, 5. April 2019 10:29
> An: dev@netbeans.incubator.apache.org
> Betreff: Re: [DISCUSS] Experimental installers for 11.0
>
> The smartscreen warning is mentioned in the Smartscreen wikipedia page,
> under criticism:  https://en.wikipedia.org/wiki/Microsoft_SmartScreen
>
> *SmartScreen Filter creates a problem for small software vendors when they
> distribute an updated version of installation or binary files over the
> internet. Whenever an updated version is released, SmartScreen responds by
> stating that the file is not commonly downloaded and can therefore install
> harmful files on your system. This can be fixed by the author digitally
> signing the distributed software. Reputation is then based not only on a
> file's hash but on the signing certificate as well. A common distribution
> method for authors to bypass SmartScreen warnings is to pack their
> installation program (for example Setup.exe) into a Z
> <https://en.wikipedia.org/wiki/Zip_(file_format)>ip-Archive and distribute
> it that way, though this can confuse non-expert users.  *
>
>
>
> On Fri, Apr 5, 2019 at 9:24 AM Christian Lenz 
> wrote:
>
> > Hi,
> >
> > I’m fine with adding this with a comment that those installer are not
> > official.
> >
> > One Issue here is, when I wanted to start the installer, Windows says
> > again this message: https://ibb.co/2Nr8Q43. This happened also for
> > NetBeans > 9. Until NetBeans 9, I didn’t have this Problem. So smth
> changed
> > in the behaviour of the NetBeans executables/binaries that Windows will
> > show this message. I already gave this info in another thread. This will
> > only happen, when I download NetBeans, fresh and new. But when I delete
> the
> > whole folder and the whole dependent directories (userdir, cache), it
> will
> > show the message again.
> >
> > Should I create a new thread?
> >
> >
> > Cheers
> >
> > Chris
> >
> >
> >
> > Von: Geertjan Wielenga
> > Gesendet: Freitag, 5. April 2019 09:54
> > An: dev
> > Betreff: [DISCUSS] Experimental installers for 11.0
> >
> > Hi all,
> >
> > Reema has put the installers created from the installer sources in her
> pull
> > request on Apache NetBeans GitHub in her repo:
> >
> >
> >
> https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries
> >
> > She also has a process whereby the installers can be generated as part of
> > the build.
> >
> > However, since we have not checked in the sources of the installer into
> > Apache NetBeans GitHub and we have not included these convenience
> binaries
> > as part of the vote threads, the installers above can not be seen as
> > official Apache NetBeans installers -- though that should be the aim for
> > the next releases.
> >
> > However, as discussed in other threads some time ago, there's nothing
> wrong
> > with explicitly linking to the above on the page below so long as we
> clear
> > state that these are not official Apache NetBeans installers, though that
> > they should be seen as experimental installers for the next release:
> >
> > https://netbeans.apache.org/download/nb110/nb110.html
> >
> > Do we agree with this? Interested in responses and if everything is
> > favorable and no objections, will add the info as described above to the
> > page above in 24 hours.
> >
> > Thanks,
> >
> > Gj
> >
> >
>
>


AW: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Christian Lenz
So signing is missing here, if I understand it correctly. Thx for the link Pete.


Cheers

Chris



Von: Pete Whelpton
Gesendet: Freitag, 5. April 2019 10:29
An: dev@netbeans.incubator.apache.org
Betreff: Re: [DISCUSS] Experimental installers for 11.0

The smartscreen warning is mentioned in the Smartscreen wikipedia page,
under criticism:  https://en.wikipedia.org/wiki/Microsoft_SmartScreen

*SmartScreen Filter creates a problem for small software vendors when they
distribute an updated version of installation or binary files over the
internet. Whenever an updated version is released, SmartScreen responds by
stating that the file is not commonly downloaded and can therefore install
harmful files on your system. This can be fixed by the author digitally
signing the distributed software. Reputation is then based not only on a
file's hash but on the signing certificate as well. A common distribution
method for authors to bypass SmartScreen warnings is to pack their
installation program (for example Setup.exe) into a Z
<https://en.wikipedia.org/wiki/Zip_(file_format)>ip-Archive and distribute
it that way, though this can confuse non-expert users.  *



On Fri, Apr 5, 2019 at 9:24 AM Christian Lenz 
wrote:

> Hi,
>
> I’m fine with adding this with a comment that those installer are not
> official.
>
> One Issue here is, when I wanted to start the installer, Windows says
> again this message: https://ibb.co/2Nr8Q43. This happened also for
> NetBeans > 9. Until NetBeans 9, I didn’t have this Problem. So smth changed
> in the behaviour of the NetBeans executables/binaries that Windows will
> show this message. I already gave this info in another thread. This will
> only happen, when I download NetBeans, fresh and new. But when I delete the
> whole folder and the whole dependent directories (userdir, cache), it will
> show the message again.
>
> Should I create a new thread?
>
>
> Cheers
>
> Chris
>
>
>
> Von: Geertjan Wielenga
> Gesendet: Freitag, 5. April 2019 09:54
> An: dev
> Betreff: [DISCUSS] Experimental installers for 11.0
>
> Hi all,
>
> Reema has put the installers created from the installer sources in her pull
> request on Apache NetBeans GitHub in her repo:
>
>
> https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries
>
> She also has a process whereby the installers can be generated as part of
> the build.
>
> However, since we have not checked in the sources of the installer into
> Apache NetBeans GitHub and we have not included these convenience binaries
> as part of the vote threads, the installers above can not be seen as
> official Apache NetBeans installers -- though that should be the aim for
> the next releases.
>
> However, as discussed in other threads some time ago, there's nothing wrong
> with explicitly linking to the above on the page below so long as we clear
> state that these are not official Apache NetBeans installers, though that
> they should be seen as experimental installers for the next release:
>
> https://netbeans.apache.org/download/nb110/nb110.html
>
> Do we agree with this? Interested in responses and if everything is
> favorable and no objections, will add the info as described above to the
> page above in 24 hours.
>
> Thanks,
>
> Gj
>
>



Re: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Pete Whelpton
The smartscreen warning is mentioned in the Smartscreen wikipedia page,
under criticism:  https://en.wikipedia.org/wiki/Microsoft_SmartScreen

*SmartScreen Filter creates a problem for small software vendors when they
distribute an updated version of installation or binary files over the
internet. Whenever an updated version is released, SmartScreen responds by
stating that the file is not commonly downloaded and can therefore install
harmful files on your system. This can be fixed by the author digitally
signing the distributed software. Reputation is then based not only on a
file's hash but on the signing certificate as well. A common distribution
method for authors to bypass SmartScreen warnings is to pack their
installation program (for example Setup.exe) into a Z
<https://en.wikipedia.org/wiki/Zip_(file_format)>ip-Archive and distribute
it that way, though this can confuse non-expert users.  *



On Fri, Apr 5, 2019 at 9:24 AM Christian Lenz 
wrote:

> Hi,
>
> I’m fine with adding this with a comment that those installer are not
> official.
>
> One Issue here is, when I wanted to start the installer, Windows says
> again this message: https://ibb.co/2Nr8Q43. This happened also for
> NetBeans > 9. Until NetBeans 9, I didn’t have this Problem. So smth changed
> in the behaviour of the NetBeans executables/binaries that Windows will
> show this message. I already gave this info in another thread. This will
> only happen, when I download NetBeans, fresh and new. But when I delete the
> whole folder and the whole dependent directories (userdir, cache), it will
> show the message again.
>
> Should I create a new thread?
>
>
> Cheers
>
> Chris
>
>
>
> Von: Geertjan Wielenga
> Gesendet: Freitag, 5. April 2019 09:54
> An: dev
> Betreff: [DISCUSS] Experimental installers for 11.0
>
> Hi all,
>
> Reema has put the installers created from the installer sources in her pull
> request on Apache NetBeans GitHub in her repo:
>
>
> https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries
>
> She also has a process whereby the installers can be generated as part of
> the build.
>
> However, since we have not checked in the sources of the installer into
> Apache NetBeans GitHub and we have not included these convenience binaries
> as part of the vote threads, the installers above can not be seen as
> official Apache NetBeans installers -- though that should be the aim for
> the next releases.
>
> However, as discussed in other threads some time ago, there's nothing wrong
> with explicitly linking to the above on the page below so long as we clear
> state that these are not official Apache NetBeans installers, though that
> they should be seen as experimental installers for the next release:
>
> https://netbeans.apache.org/download/nb110/nb110.html
>
> Do we agree with this? Interested in responses and if everything is
> favorable and no objections, will add the info as described above to the
> page above in 24 hours.
>
> Thanks,
>
> Gj
>
>


AW: [DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Christian Lenz
Hi,

I’m fine with adding this with a comment that those installer are not official.

One Issue here is, when I wanted to start the installer, Windows says again 
this message: https://ibb.co/2Nr8Q43. This happened also for NetBeans > 9. 
Until NetBeans 9, I didn’t have this Problem. So smth changed in the behaviour 
of the NetBeans executables/binaries that Windows will show this message. I 
already gave this info in another thread. This will only happen, when I 
download NetBeans, fresh and new. But when I delete the whole folder and the 
whole dependent directories (userdir, cache), it will show the message again.

Should I create a new thread?


Cheers

Chris



Von: Geertjan Wielenga
Gesendet: Freitag, 5. April 2019 09:54
An: dev
Betreff: [DISCUSS] Experimental installers for 11.0

Hi all,

Reema has put the installers created from the installer sources in her pull
request on Apache NetBeans GitHub in her repo:

https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries

She also has a process whereby the installers can be generated as part of
the build.

However, since we have not checked in the sources of the installer into
Apache NetBeans GitHub and we have not included these convenience binaries
as part of the vote threads, the installers above can not be seen as
official Apache NetBeans installers -- though that should be the aim for
the next releases.

However, as discussed in other threads some time ago, there's nothing wrong
with explicitly linking to the above on the page below so long as we clear
state that these are not official Apache NetBeans installers, though that
they should be seen as experimental installers for the next release:

https://netbeans.apache.org/download/nb110/nb110.html

Do we agree with this? Interested in responses and if everything is
favorable and no objections, will add the info as described above to the
page above in 24 hours.

Thanks,

Gj



[DISCUSS] Experimental installers for 11.0

2019-04-05 Thread Geertjan Wielenga
Hi all,

Reema has put the installers created from the installer sources in her pull
request on Apache NetBeans GitHub in her repo:

https://github.com/rtaneja1/incubator-netbeans/tree/installer-bin-11vc4/nbbuild/installer/binaries

She also has a process whereby the installers can be generated as part of
the build.

However, since we have not checked in the sources of the installer into
Apache NetBeans GitHub and we have not included these convenience binaries
as part of the vote threads, the installers above can not be seen as
official Apache NetBeans installers -- though that should be the aim for
the next releases.

However, as discussed in other threads some time ago, there's nothing wrong
with explicitly linking to the above on the page below so long as we clear
state that these are not official Apache NetBeans installers, though that
they should be seen as experimental installers for the next release:

https://netbeans.apache.org/download/nb110/nb110.html

Do we agree with this? Interested in responses and if everything is
favorable and no objections, will add the info as described above to the
page above in 24 hours.

Thanks,

Gj


Re: Re: Installers for Apache NetBeans 11

2019-03-20 Thread Eric Bresie
Came in late in the discussion so not sure what is presently in use for 
Netbeans but figured I’d mention.

Looking at the Tomcat BUILDING.txt, the ant build script (see release target 
for dependencies) it appears to use an open source installer (see
https://nsis.sourceforge.io/Main_Page ) as part of its build process.

On none Windows environments it also uses Wine to build with.

Eric Bresie
ebre...@gmail.com
> On March 19, 2019 at 7:25:45 AM CDT, Geertjan Wielenga 
>  wrote:
> Hey all,
>
> https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M1/bin/
>
> Tomcat releases installers for Windows, somehow, let's follow however they
> do that in terms of how to release it.
>
> Gj
>
> On Tue, Mar 19, 2019 at 12:33 PM Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
> > Yes, how do we get this resolved, ask our mentors or open a legal issue or
> > what do you suggest?
> >
> > Gj
> >
> > On Tue, 19 Mar 2019 at 12:31, Neil C Smith  wrote:
> >
> > > On Tue, 19 Mar 2019 at 11:18, Geertjan Wielenga
> > >  wrote:
> > > > Surely
> > > > the sources of that installer themselves are not required to be part of
> > > the
> > > > release too?
> > >
> > > That (or a separately voted on source release / third-party
> > > dependency) would exactly be my expectation, yes. IMO it should
> > > always be possible for anyone to take the source release and build the
> > > installers entirely from source without relying on anything that
> > > hasn't been released. That's my interpretation from both the Apache
> > > guidelines and how other FLOSS projects work, but the easiest thing
> > > would surely be just to get clarification one way or another whether
> > > this would be breaking Apache policy so merging can be considered if
> > > required?
> > >
> > > Best wishes,
> > >
> > > Neil
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> > > For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> > >
> > >


Re: Installers for Apache NetBeans 11

2019-03-19 Thread Timon Veenstra
>
>
> Do the sources of the installers matter, at all? What they are is a
> convenience binary, which is outside the scope of what Apache releases in
> the same way as a ZIP file.
>
>
For RCP based applications it sure does.


Re: Installers for Apache NetBeans 11

2019-03-19 Thread Geertjan Wielenga
Hey all,

https://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M1/bin/

Tomcat releases installers for Windows, somehow, let's follow however they
do that in terms of how to release it.

Gj

On Tue, Mar 19, 2019 at 12:33 PM Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Yes, how do we get this resolved, ask our mentors or open a legal issue or
> what do you suggest?
>
> Gj
>
> On Tue, 19 Mar 2019 at 12:31, Neil C Smith  wrote:
>
>> On Tue, 19 Mar 2019 at 11:18, Geertjan Wielenga
>>  wrote:
>> >Surely
>> > the sources of that installer themselves are not required to be part of
>> the
>> > release too?
>>
>> That (or a separately voted on source release / third-party
>> dependency) would exactly be my expectation, yes.  IMO it should
>> always be possible for anyone to take the source release and build the
>> installers entirely from source without relying on anything that
>> hasn't been released.  That's my interpretation from both the Apache
>> guidelines and how other FLOSS projects work, but the easiest thing
>> would surely be just to get clarification one way or another whether
>> this would be breaking Apache policy so merging can be considered if
>> required?
>>
>> Best wishes,
>>
>> Neil
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>


Re: Installers for Apache NetBeans 11

2019-03-19 Thread Geertjan Wielenga
Yes, how do we get this resolved, ask our mentors or open a legal issue or
what do you suggest?

Gj

On Tue, 19 Mar 2019 at 12:31, Neil C Smith  wrote:

> On Tue, 19 Mar 2019 at 11:18, Geertjan Wielenga
>  wrote:
> >Surely
> > the sources of that installer themselves are not required to be part of
> the
> > release too?
>
> That (or a separately voted on source release / third-party
> dependency) would exactly be my expectation, yes.  IMO it should
> always be possible for anyone to take the source release and build the
> installers entirely from source without relying on anything that
> hasn't been released.  That's my interpretation from both the Apache
> guidelines and how other FLOSS projects work, but the easiest thing
> would surely be just to get clarification one way or another whether
> this would be breaking Apache policy so merging can be considered if
> required?
>
> Best wishes,
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Installers for Apache NetBeans 11

2019-03-19 Thread Neil C Smith
On Tue, 19 Mar 2019 at 11:18, Geertjan Wielenga
 wrote:
>Surely
> the sources of that installer themselves are not required to be part of the
> release too?

That (or a separately voted on source release / third-party
dependency) would exactly be my expectation, yes.  IMO it should
always be possible for anyone to take the source release and build the
installers entirely from source without relying on anything that
hasn't been released.  That's my interpretation from both the Apache
guidelines and how other FLOSS projects work, but the easiest thing
would surely be just to get clarification one way or another whether
this would be breaking Apache policy so merging can be considered if
required?

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers for Apache NetBeans 11

2019-03-19 Thread Geertjan Wielenga
The key problem here is that there's nothing comparable in any other Apache
projects -- we can't refer to anything else and need to decide amongst
ourselves what to do here. The installer exists for no other purpose than
to install the binary of the sources that define the Apache release. Surely
the sources of that installer themselves are not required to be part of the
release too?

Gj

On Tue, Mar 19, 2019 at 12:14 PM Neil C Smith  wrote:

> On Tue, 19 Mar 2019 at 10:28, Geertjan Wielenga
>  wrote:
> > Do the sources of the installers matter, at all? What they are is a
> > convenience binary, which is outside the scope of what Apache releases in
> > the same way as a ZIP file.
>
> Not trying to be awkward, but really don't see that parallel.  An
> installer, particularly on Windows, is a binary executable not an
> archive surely?!  I don't think it squares with "MUST only add
> binary/bytecode files that are the result of compiling that version of
> the source code release and its dependencies."  I'd be interested in
> other opinions, particularly from mentors, on that.
>
> Best wishes,
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Installers for Apache NetBeans 11

2019-03-19 Thread Neil C Smith
On Tue, 19 Mar 2019 at 10:28, Geertjan Wielenga
 wrote:
> Do the sources of the installers matter, at all? What they are is a
> convenience binary, which is outside the scope of what Apache releases in
> the same way as a ZIP file.

Not trying to be awkward, but really don't see that parallel.  An
installer, particularly on Windows, is a binary executable not an
archive surely?!  I don't think it squares with "MUST only add
binary/bytecode files that are the result of compiling that version of
the source code release and its dependencies."  I'd be interested in
other opinions, particularly from mentors, on that.

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers for Apache NetBeans 11

2019-03-19 Thread Geertjan Wielenga
Do the sources of the installers matter, at all? What they are is a
convenience binary, which is outside the scope of what Apache releases in
the same way as a ZIP file.

Gj

On Tue, Mar 19, 2019 at 9:57 AM Neil C Smith  wrote:

> On Tue, 19 Mar 2019 at 08:38, Timon Veenstra  wrote:
> > I would say use the code to generate binaries from the voted release
> > sources.
> > Merge the PR after the release so the source code of the installer
> > generation is included in the next release.
>
> -1
>
> I don't personally see how that meets the requirements outlined at
> http://www.apache.org/legal/release-policy.html#compiled-packages
>
> I think if we're going to make "official" installers, this needs to be
> cherry picked and included in the voted sources.
>
> Best wishes,
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Installers for Apache NetBeans 11

2019-03-19 Thread Neil C Smith
On Tue, 19 Mar 2019 at 08:38, Timon Veenstra  wrote:
> I would say use the code to generate binaries from the voted release
> sources.
> Merge the PR after the release so the source code of the installer
> generation is included in the next release.

-1

I don't personally see how that meets the requirements outlined at
http://www.apache.org/legal/release-policy.html#compiled-packages

I think if we're going to make "official" installers, this needs to be
cherry picked and included in the voted sources.

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers for Apache NetBeans 11

2019-03-19 Thread Geertjan Wielenga
+1

Gj

On Tue, Mar 19, 2019 at 9:38 AM Timon Veenstra  wrote:

> >
> > 1. Is this too late for inclusion in our official release? They haven't
> > been tried out as part of the NetCAT process, so should we wait to
> include
> > these not in the upcoming release, but in the release afterwards?
> >
>
> As the PR has not been merged, this piece of code hasn't been voted on yet.
> I don't see why it would stop us from using the code to publish the code
> that has been approved in binary form.
>
>
> >
> > 2. Voting on releases is on source code only -- this would be a binary
> > release like a ZIP file, would it even need to be voted on? And how would
> > that vote be done?
> >
>
> I would say use the code to generate binaries from the voted release
> sources.
> Merge the PR after the release so the source code of the installer
> generation is included in the next release.
>


Re: Installers for Apache NetBeans 11

2019-03-19 Thread Timon Veenstra
>
> 1. Is this too late for inclusion in our official release? They haven't
> been tried out as part of the NetCAT process, so should we wait to include
> these not in the upcoming release, but in the release afterwards?
>

As the PR has not been merged, this piece of code hasn't been voted on yet.
I don't see why it would stop us from using the code to publish the code
that has been approved in binary form.


>
> 2. Voting on releases is on source code only -- this would be a binary
> release like a ZIP file, would it even need to be voted on? And how would
> that vote be done?
>

I would say use the code to generate binaries from the voted release
sources.
Merge the PR after the release so the source code of the installer
generation is included in the next release.


Re: Installers for Apache NetBeans 11

2019-03-12 Thread Neil C Smith
On Tue, 12 Mar 2019 at 12:36, Geertjan Wielenga
 wrote:
> 2. Voting on releases is on source code only -- this would be a binary
> release like a ZIP file, would it even need to be voted on? And how would
> that vote be done?

As you say, voting is on source only.  Are all the sources required to
do this in the NB11 branch for voting on?  And could anyone with the
source bundle (and right OS) replicate the process?

> 4. Mac OSX -- https://issues.apache.org/jira/browse/INFRA-17961.

Could consider the app bundle approach available in the platform as an
OSX option for this release too?

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers for Apache NetBeans 11

2019-03-12 Thread Laszlo Kishalmi



On 3/12/19 5:35 AM, Geertjan Wielenga wrote:

Hi all,

Reema and others have put together installers for Windows and Linux:

https://builds.apache.org/job/netbeans-installer-test/

The questions are:

1. Is this too late for inclusion in our official release? They haven't
been tried out as part of the NetCAT process, so should we wait to include
these not in the upcoming release, but in the release afterwards?


Well, I see this one is coming from a forked branch, that branch shall 
be merged into master then into release110.


Depending on the code in the PR, I think it might be possible to add 
these installers into the current release.




2. Voting on releases is on source code only -- this would be a binary
release like a ZIP file, would it even need to be voted on? And how would
that vote be done?
We vote on the code only, so if we reach the point when the installer 
actually build-able from the code, I do not see any reason why we can't 
add them to our list of convenience binaries.


3. They need to be signed -- Laszlo, do you know how to do this (as
volunteer release manager)?
I guess this is something additional to our PGP signature. I do not know 
about that, but if we have some docs on it (maybe on our Wiki), I could 
follow that one.


4. Mac OSX -- https://issues.apache.org/jira/browse/INFRA-17961.

Thanks,

Gj



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Installers for Apache NetBeans 11

2019-03-12 Thread Geertjan Wielenga
Hi all,

Reema and others have put together installers for Windows and Linux:

https://builds.apache.org/job/netbeans-installer-test/

The questions are:

1. Is this too late for inclusion in our official release? They haven't
been tried out as part of the NetCAT process, so should we wait to include
these not in the upcoming release, but in the release afterwards?

2. Voting on releases is on source code only -- this would be a binary
release like a ZIP file, would it even need to be voted on? And how would
that vote be done?

3. They need to be signed -- Laszlo, do you know how to do this (as
volunteer release manager)?

4. Mac OSX -- https://issues.apache.org/jira/browse/INFRA-17961.

Thanks,

Gj


Re: Re: State of the Apache NetBeans installers

2019-02-05 Thread Eric Bresie
Regarding JRE/JDK...

I thought one of the driving things about “modules” in new java release (I 
believe Java 11ish) was to make it so that a modularize jre could be created 
with only elements needed being included and the. That “custom” JRE would be 
embedded with the product. So would linking based on needs be viable.

Or is inclusion of that counter to accepted practices here?

Or am I going in a completely different tangent topic here?

Eric Bresie
ebre...@gmail.com
> On February 5, 2019 at 6:02:43 AM CST, Neil C Smith  
> wrote:
> On Tue, 5 Feb 2019 at 11:46, Emilian Bold  wrote:
> > Did you manage to digitally sign the EXE on Linux?
>
> No, that's one thing I haven't looked at yet. As far as I know it's
> feasible though. Did a fair bit of reading around Electron packaging
> when making a choice of what to go with - various discussion of
> options for signing .exe on Linux/Mac there.
>
> Best wishes,
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>


Re: State of the Apache NetBeans installers

2019-02-05 Thread Neil C Smith
On Tue, 5 Feb 2019 at 11:46, Emilian Bold  wrote:
> Did you manage to digitally sign the EXE on Linux?

No, that's one thing I haven't looked at yet.  As far as I know it's
feasible though.  Did a fair bit of reading around Electron packaging
when making a choice of what to go with - various discussion of
options for signing .exe on Linux/Mac there.

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: State of the Apache NetBeans installers

2019-02-05 Thread Emilian Bold
Did you manage to digitally sign the EXE on Linux?

On Tue, 5 Feb 2019 at 13:13, Neil C Smith  wrote:

> On Tue, 5 Feb 2019 at 10:17, Mark Phipps  wrote:
> > It is NBI for several reasons:
>
> Thanks.  Some thoughts inline.
>
> > 1. afaik it's the way that NetBeans IDE up to 8.2 was installed - why
> > can't it be used for 10.0, 11.0 ?
>
> It relies on the user already having a JRE/JDK installed, or bundling
> one inside.  As an Apache project, as things currently stand, we can't
> bundle the JDK.  We could potentially provide a more user-friendly
> installer that provides an optional step to download a JRE/JDK to run
> against, but at least that part of the installer can't be in Java for
> obvious reasons.
>
> > 2. part of the NB code base
>
> Personally I think there are pros and cons to that.  I'm shipping an
> application that is still NB8.2 based at the moment, but already moved
> away from NBI for other reasons.  There are currently better featured
> alternatives around, so another question is whether improving
> NetBean's own solution or improving integration with third-party
> solutions is a better use of our resources?
>
> > 3. baked into Ant - right click on an Ant-based NB Platform project and
> > choose "Generate installers"
> > 4. baked into the nbm-maven plugin. I have invested a huge amount of
> > time and effort working out how to tune the generation of installers
> > from our maven/ant build system.
> > 5. therefore all runs on linux, don't need Windows to generate a Windows
> > (or Mac) installer.
>
> Your requirements are very similar to my own there.  It's certainly
> feasible to use InnoSetup on Linux and integrate into an automated
> build pipeline.  It does require executing via the Wine libraries, but
> it's fairly easy to set up in Ant, can be run as part of Travis, etc.
>
> This is not specifically an argument in favour of InnoSetup - there
> are other options that work cross-platform too, and may remove Wine
> requirements, but it's the one that met my own RCP needs the best.
>
> > I don't want to use yet another technology like Innosetup (good as it
> > may be), because I don't run any of my build pipeline on Windows. I
> > don't want to learn Pascal scripting either.
>
> Neither do I, and haven't needed to resort to Pascal scripting as yet!
> :-)  I think we could even manage the JDK download and integration
> without scripting it, but need to read up more on that.  Certainly a
> standard RCP with straight bundling can be done without any Pascal.
>
> Best wishes,
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> --
--emi


Re: State of the Apache NetBeans installers

2019-02-05 Thread Neil C Smith
On Tue, 5 Feb 2019 at 10:17, Mark Phipps  wrote:
> It is NBI for several reasons:

Thanks.  Some thoughts inline.

> 1. afaik it's the way that NetBeans IDE up to 8.2 was installed - why
> can't it be used for 10.0, 11.0 ?

It relies on the user already having a JRE/JDK installed, or bundling
one inside.  As an Apache project, as things currently stand, we can't
bundle the JDK.  We could potentially provide a more user-friendly
installer that provides an optional step to download a JRE/JDK to run
against, but at least that part of the installer can't be in Java for
obvious reasons.

> 2. part of the NB code base

Personally I think there are pros and cons to that.  I'm shipping an
application that is still NB8.2 based at the moment, but already moved
away from NBI for other reasons.  There are currently better featured
alternatives around, so another question is whether improving
NetBean's own solution or improving integration with third-party
solutions is a better use of our resources?

> 3. baked into Ant - right click on an Ant-based NB Platform project and
> choose "Generate installers"
> 4. baked into the nbm-maven plugin. I have invested a huge amount of
> time and effort working out how to tune the generation of installers
> from our maven/ant build system.
> 5. therefore all runs on linux, don't need Windows to generate a Windows
> (or Mac) installer.

Your requirements are very similar to my own there.  It's certainly
feasible to use InnoSetup on Linux and integrate into an automated
build pipeline.  It does require executing via the Wine libraries, but
it's fairly easy to set up in Ant, can be run as part of Travis, etc.

This is not specifically an argument in favour of InnoSetup - there
are other options that work cross-platform too, and may remove Wine
requirements, but it's the one that met my own RCP needs the best.

> I don't want to use yet another technology like Innosetup (good as it
> may be), because I don't run any of my build pipeline on Windows. I
> don't want to learn Pascal scripting either.

Neither do I, and haven't needed to resort to Pascal scripting as yet!
:-)  I think we could even manage the JDK download and integration
without scripting it, but need to read up more on that.  Certainly a
standard RCP with straight bundling can be done without any Pascal.

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: State of the Apache NetBeans installers

2019-02-05 Thread Emilian Bold
> I believe that NBI has legs, at least as a way for NB Platform
applications to fill the gap left by the demise of Java Web Start. As I
have said before, I don't understand well how the NBI system works (yet
- I am trying), but I can't see any good reason why it should be abandoned.

I suspect very few people know how NBI works, it was always a bit magic.

If we can’t support it it might be simpler in time to just abandon it.

I also have a Platform project where the customer went the InnoSetup route.

I guess it’s a pain not to have everything cross-platform but you still
have to replace the launcher icon somehow and you have to sign the
installer (both of which I’ve always done on windows although in theory
doable anywhere)

On Tue, 5 Feb 2019 at 12:17, Mark Phipps  wrote:

> Hi Neil,
>
> It is NBI for several reasons:
>
> 1. afaik it's the way that NetBeans IDE up to 8.2 was installed - why
> can't it be used for 10.0, 11.0 ?
> 2. part of the NB code base
> 3. baked into Ant - right click on an Ant-based NB Platform project and
> choose "Generate installers"
> 4. baked into the nbm-maven plugin. I have invested a huge amount of
> time and effort working out how to tune the generation of installers
> from our maven/ant build system.
> 5. therefore all runs on linux, don't need Windows to generate a Windows
> (or Mac) installer.
>
> I don't want to use yet another technology like Innosetup (good as it
> may be), because I don't run any of my build pipeline on Windows. I
> don't want to learn Pascal scripting either.
>
> I believe that NBI has legs, at least as a way for NB Platform
> applications to fill the gap left by the demise of Java Web Start. As I
> have said before, I don't understand well how the NBI system works (yet
> - I am trying), but I can't see any good reason why it should be abandoned.
>
> Regards
> Mark
>
> On 05/02/2019 08:38, Neil C Smith wrote:
> > On Mon, 4 Feb 2019, 16:15 Mark Phipps  >
> >> Whatever solutions you decide are best for installing NetBeans IDE
> >> itself, application providers need a way to bundle a JRE within the
> >> installer. I presume that everyone is still minded to use the NBI
> >> framework to accomplish this?
> >>
> > Personally, not in the slightest! I made a move on Linux to .deb (soon to
> > be AppImage or Snap), then on macOS to app bundle, and most recently
> > InnoSetup on Windows about a year ago. Bundling is a lot easier when the
> > installation process itself doesn't require the JRE. And I've barely
> > scratched the surface of InnoSetup's features but already got numerous
> > things that were more difficult to achieve via NBI.
> >
> > A question back would actually be, for you why NBI?
> >
> > Best wishes,
> >
> > Neil
> >
>
> www.sucdenfinancial.com
>
> Sucden Financial Limited, Plantation Place South, 60 Gre
> <https://maps.google.com/?q=imited,+Plantation+Place+South,+60+Gre=gmail=g>at
> Tower Street, London EC3R 5AZ
> Telephone +44 203 207 5000
>
> Registered in England no. 1095841
> VAT registration no. GB 446 9061 33
>
> Authorised and Regulated by the Financial Conduct Authority (FCA) and
> entered in the FCA register under no. 114239
>
> This email, including any files transmitted with it, is confidential and
> may be privileged. It may be read, copied and used only by the intended
> recipient.
> If you are not the intended recipient of this message, please notify
> postmas...@sucfin.com immediately and delete it from your computer system.
>
> We believe, but do not warrant, that this email and its attachments are
> virus-free, but you should check.
>
> Sucden Financial Limited may monitor traffic data of both business and
> personal emails. By replying to this email, you consent to Sucden Financial
> 's monitoring
> the content of any emails you send to or receive from Sucden Financial .
> Sucden Financial is not liable for any opinions expressed by the sender
> where this is a
> non-business email.
>
> The contents of this e-mail do not constitute advice and should not be
> regarded as a recommendation to buy, sell or otherwise deal with any
> particular investment.
> Where any trade ideas are made by an employee of Sucden Financial in an
> electronic communication, these are made incidentally to your dealing
> relationship with
> us and are provided solely to enable you to make your own investment
> decisions and do not amount to advice. Please note that the employee may
> have had many, varied
> trade ideas over the past 12 months, including contrary ideas. Any trade
> ideas are solely based on the employee’s market knowledge and experience
> and may not be
> t

Re: State of the Apache NetBeans installers

2019-02-05 Thread Neil C Smith
On Sat, 2 Feb 2019 at 22:57, Wade Chandler  wrote:
> Too, it seems we could provide an installer that downloads the JDK for the
> end user, but that also can create and output a bundled installer for that
> end user; they would be building and distributing it. They could then place
> that on any server they wish, that isn't Apache's, and share that; even use
> it to create their Enterprise installers.

That's a really interesting idea!  Obviously other people can already
build bundled installers, but as an Apache project we can't do so
directly.  But we should be OK with an installer that can do this as
an optional step on the user side.  Now if that (or related code)
could also create bundles itself, that sounds really useful.  If it
could keep intact a reproducible and/or Apache-signed NetBeans binary
in the process, with some verification, maybe that is at least one
good criteria for allowing bundles to carry the Apache NetBeans + ...
name?

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: State of the Apache NetBeans installers

2019-02-05 Thread Mark Phipps

Hi Neil,

It is NBI for several reasons:

1. afaik it's the way that NetBeans IDE up to 8.2 was installed - why 
can't it be used for 10.0, 11.0 ?

2. part of the NB code base
3. baked into Ant - right click on an Ant-based NB Platform project and 
choose "Generate installers"
4. baked into the nbm-maven plugin. I have invested a huge amount of 
time and effort working out how to tune the generation of installers 
from our maven/ant build system.
5. therefore all runs on linux, don't need Windows to generate a Windows 
(or Mac) installer.


I don't want to use yet another technology like Innosetup (good as it 
may be), because I don't run any of my build pipeline on Windows. I 
don't want to learn Pascal scripting either.


I believe that NBI has legs, at least as a way for NB Platform 
applications to fill the gap left by the demise of Java Web Start. As I 
have said before, I don't understand well how the NBI system works (yet 
- I am trying), but I can't see any good reason why it should be abandoned.


Regards
Mark

On 05/02/2019 08:38, Neil C Smith wrote:

On Mon, 4 Feb 2019, 16:15 Mark Phipps 
Whatever solutions you decide are best for installing NetBeans IDE
itself, application providers need a way to bundle a JRE within the
installer. I presume that everyone is still minded to use the NBI
framework to accomplish this?


Personally, not in the slightest! I made a move on Linux to .deb (soon to
be AppImage or Snap), then on macOS to app bundle, and most recently
InnoSetup on Windows about a year ago. Bundling is a lot easier when the
installation process itself doesn't require the JRE. And I've barely
scratched the surface of InnoSetup's features but already got numerous
things that were more difficult to achieve via NBI.

A question back would actually be, for you why NBI?

Best wishes,

Neil



www.sucdenfinancial.com

Sucden Financial Limited, Plantation Place South, 60 Great Tower Street, London 
EC3R 5AZ
Telephone +44 203 207 5000

Registered in England no. 1095841
VAT registration no. GB 446 9061 33

Authorised and Regulated by the Financial Conduct Authority (FCA) and entered 
in the FCA register under no. 114239

This email, including any files transmitted with it, is confidential and may be privileged. It may be read, copied and used only by the intended recipient. 
If you are not the intended recipient of this message, please notify postmas...@sucfin.com immediately and delete it from your computer system.


We believe, but do not warrant, that this email and its attachments are 
virus-free, but you should check.

Sucden Financial Limited may monitor traffic data of both business and personal emails. By replying to this email, you consent to Sucden Financial 's monitoring 
the content of any emails you send to or receive from Sucden Financial . Sucden Financial is not liable for any opinions expressed by the sender where this is a 
non-business email.


The contents of this e-mail do not constitute advice and should not be regarded as a recommendation to buy, sell or otherwise deal with any particular investment. 
Where any trade ideas are made by an employee of Sucden Financial in an electronic communication, these are made incidentally to your dealing relationship with 
us and are provided solely to enable you to make your own investment decisions and do not amount to advice. Please note that the employee may have had many, varied 
trade ideas over the past 12 months, including contrary ideas. Any trade ideas are solely based on the employee’s market knowledge and experience and may not be 
tailored to your specific circumstances or investment objectives. Please contact the employee who made the trade idea if you would like to see any of his/her trade 
ideas made in the previous 12 months for comparative purposes. Please visit our website to view our full risk warnings and disclaimers: www.sucdenfinancial.com.  


This message has been scanned for viruses by Mimecast.


Re: State of the Apache NetBeans installers

2019-02-05 Thread Neil C Smith
On Mon, 4 Feb 2019, 16:15 Mark Phipps  Whatever solutions you decide are best for installing NetBeans IDE
> itself, application providers need a way to bundle a JRE within the
> installer. I presume that everyone is still minded to use the NBI
> framework to accomplish this?
>

Personally, not in the slightest! I made a move on Linux to .deb (soon to
be AppImage or Snap), then on macOS to app bundle, and most recently
InnoSetup on Windows about a year ago. Bundling is a lot easier when the
installation process itself doesn't require the JRE. And I've barely
scratched the surface of InnoSetup's features but already got numerous
things that were more difficult to achieve via NBI.

A question back would actually be, for you why NBI?

Best wishes,

Neil

>


Re: State of the Apache NetBeans installers

2019-02-04 Thread Mark Phipps

Hello,

My priority (and I am sure that of many others) is to be able to provide 
an installer for a NetBeans Platform application on Windows, Mac and 
Linux. By destroying Java Web Start, Oracle has decreed that 
applications should be delivered with their own bundled JRE.


Whatever solutions you decide are best for installing NetBeans IDE 
itself, application providers need a way to bundle a JRE within the 
installer. I presume that everyone is still minded to use the NBI 
framework to accomplish this?


I refer to this thread, where I think updates still need to be rebuilt 
to get NBI working with JDK 11: 
https://lists.apache.org/thread.html/a75960078f8bfcd0151ad3efd87ce5d9715ed6dc751deeea71de179a@%3Cdev.netbeans.apache.org%3E


Regards
Mark

On 02/02/2019 15:06, Geertjan Wielenga wrote:

Hi all,

Tried to gather different threads together in the below to get a thorough
overview of where and why we are where we are:

https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers

Thanks,

Gj



www.sucdenfinancial.com

Sucden Financial Limited, Plantation Place South, 60 Great Tower Street, London 
EC3R 5AZ
Telephone +44 203 207 5000

Registered in England no. 1095841
VAT registration no. GB 446 9061 33

Authorised and Regulated by the Financial Conduct Authority (FCA) and entered 
in the FCA register under no. 114239

This email, including any files transmitted with it, is confidential and may be privileged. It may be read, copied and used only by the intended recipient. 
If you are not the intended recipient of this message, please notify postmas...@sucfin.com immediately and delete it from your computer system.


We believe, but do not warrant, that this email and its attachments are 
virus-free, but you should check.

Sucden Financial Limited may monitor traffic data of both business and personal emails. By replying to this email, you consent to Sucden Financial 's monitoring 
the content of any emails you send to or receive from Sucden Financial . Sucden Financial is not liable for any opinions expressed by the sender where this is a 
non-business email.


The contents of this e-mail do not constitute advice and should not be regarded as a recommendation to buy, sell or otherwise deal with any particular investment. 
Where any trade ideas are made by an employee of Sucden Financial in an electronic communication, these are made incidentally to your dealing relationship with 
us and are provided solely to enable you to make your own investment decisions and do not amount to advice. Please note that the employee may have had many, varied 
trade ideas over the past 12 months, including contrary ideas. Any trade ideas are solely based on the employee’s market knowledge and experience and may not be 
tailored to your specific circumstances or investment objectives. Please contact the employee who made the trade idea if you would like to see any of his/her trade 
ideas made in the previous 12 months for comparative purposes. Please visit our website to view our full risk warnings and disclaimers: www.sucdenfinancial.com.  


This message has been scanned for viruses by Mimecast.


Re: State of the Apache NetBeans installers

2019-02-03 Thread Emilian Bold
What I generally avoid on macOS are .pkg installers. I prefer apps that run
from the start and don't need installing. DMG is perfect for that. A ZIP
would also do I guess although it doesn't feel macOS-native.

In 14 years Macs CPUs have gotten much better and NetBeans has stagnated in
terms of system demands. So I doubt the impact is that much even if the IDE
was executed straight from the DMG.

--emi


On Sun, Feb 3, 2019 at 2:06 AM Scott Palmer  wrote:

> Use a .zip and the run from DMG problem goes away.
> I don’t think there should be any code to detect if NB is running from a
> DMG. It isn’t worth it when the problem is so easily avoided.
>
> Scott
>
> > On Feb 2, 2019, at 12:25 PM, Emilian Bold 
> wrote:
> >
> > Oh, I saw this comment on
> >
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers
> >
> > This debate was had once about 14 years ago - and the decision to go with
> >> .pkg installers on Mac OSX was made for this reason: There were a lot of
> >> "NetBeans is unusably slow" reports on OSX.
> >> The reason? A LOT of users never unpacked the .app - they were running
> it
> >> directly from the mounted, compressed .dmg image. It turns out that's
> not
> >> that unusual.
> >> Random access Java classloading does not play nicely AT ALL with the
> >> compression used for .dmg images.
> >> I strongly recommend not repeating that mistake.
> >
> >
> > I believe NetBeans should detect if it's being executed from a DMG and
> warn
> > the user about it. I did have an user with an utterly broken install due
> to
> > AppTranslocation.
> >
> > Still, using a DMG is the way to go imho.
> >
> > --emi
> >
> >
> >> On Sat, Feb 2, 2019 at 6:32 PM Emilian Bold 
> wrote:
> >>
> >> Hello,
> >>
> >> I can share the CoolBeans installers but they are no big deal, not
> >> sure if they are good enough for NetBeans...
> >>
> >> My macOS DMG uses a variation of the Carl J. Mosca script does
> >> (Carl's script has a bug as it assumes the location never changes; I
> >> would make a PR if I wouldn't have changed so much stuff).
> >>
> >> My Windows installer uses InnoSetup and has again a very basic script,
> >> based on what Stephen Cumminger shared on the mailing list a while
> >> back. It's very basic, but gets the job done of copying the files,
> >> creating shortcuts and providing an uninstaller.
> >>
> >> I believe these are actually enough for end users, but NetBeans always
> >> had a much more fancy installer, with Glassfish and many other things.
> >> Especially for macOS I always wanted a clean drag-and-drop DMG, no
> >> package with a wizard.
> >>
> >> I think it's important that both the DMG and the EXE are digitally
> signed.
> >> Windows particularly has very scary warning messages for unsigned EXEs.
> >>
> >> --emi
> >>
> >>
> >>
> >> On Sat, Feb 2, 2019 at 5:14 PM Geertjan Wielenga
> >>  wrote:
> >>>
> >>> Hi all,
> >>>
> >>> Tried to gather different threads together in the below to get a
> thorough
> >>> overview of where and why we are where we are:
> >>>
> >>>
> >>
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers
> >>>
> >>> Thanks,
> >>>
> >>> Gj
> >>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: State of the Apache NetBeans installers

2019-02-02 Thread Emilian Bold
> My understanding is you could create a
bundler that is clear to spell out it is a bundler, and is just installing
"Apache NetBeans + AdoptOpenJDK" as an example as long as it is just a
redistribution of unchanged parts.

I haven't seen this spelled out as such, although it's been mentioned like
this on mailing list and on issues.

Apache's trademark rules are actually quite clear, but in practice things
might be different. Linux distros obviously distribute Apache stuff under
Apache trademark names and they even patch them in various way so it's not
even an Apache release that gets shown there, but a derivative work. Yet,
everything is well.

Perhaps I should just try making a bundle and publish it. See what happens
then.

> We could even then have Oracle and Amazon use that, but
certainly others like Pivotal or even an arrangement with AdoptOpenJDK to
distribute could be made.

I doubt AdoptOpenJDK would get into favouring an IDE. But I get your idea

--emi


On Sat, Feb 2, 2019 at 11:57 PM Wade Chandler 
wrote:

> On Sat, Feb 2, 2019, 15:43 Emilian Bold <
>
> >
> > If Apache gets more lenient / clear on bundling I could also create a
> > 'vanilla NetBeans' package with no bits changed except the additional
> JDK.
> > Although I suspect the general idea is for Oracle or Amazon to do some
> > JDK+NetBeans bundle release and not smaller projects.
> >
>
> What does this mean necessarily? My understanding is you could create a
> bundler that is clear to spell out it is a bundler, and is just installing
> "Apache NetBeans + AdoptOpenJDK" as an example as long as it is just a
> redistribution of unchanged parts.
>
> Too, it seems we could provide an installer that downloads the JDK for the
> end user, but that also can create and output a bundled installer for that
> end user; they would be building and distributing it. They could then place
> that on any server they wish, that isn't Apache's, and share that; even use
> it to create their Enterprise installers. We could even have that allow all
> headless creation to allow it to work in scripted setups such as something
> using Ansible. We could even then have Oracle and Amazon use that, but
> certainly others like Pivotal or even an arrangement with AdoptOpenJDK to
> distribute could be made.
>
> Thanks
>
> Wade
>


Re: State of the Apache NetBeans installers

2019-02-02 Thread Wade Chandler
On Sat, Feb 2, 2019, 15:43 Emilian Bold <

>
> If Apache gets more lenient / clear on bundling I could also create a
> 'vanilla NetBeans' package with no bits changed except the additional JDK.
> Although I suspect the general idea is for Oracle or Amazon to do some
> JDK+NetBeans bundle release and not smaller projects.
>

What does this mean necessarily? My understanding is you could create a
bundler that is clear to spell out it is a bundler, and is just installing
"Apache NetBeans + AdoptOpenJDK" as an example as long as it is just a
redistribution of unchanged parts.

Too, it seems we could provide an installer that downloads the JDK for the
end user, but that also can create and output a bundled installer for that
end user; they would be building and distributing it. They could then place
that on any server they wish, that isn't Apache's, and share that; even use
it to create their Enterprise installers. We could even have that allow all
headless creation to allow it to work in scripted setups such as something
using Ansible. We could even then have Oracle and Amazon use that, but
certainly others like Pivotal or even an arrangement with AdoptOpenJDK to
distribute could be made.

Thanks

Wade


Re: Installers

2019-02-02 Thread Scott Palmer
While a .dmg is common, I actually think a .zip is simpler because:
- it can easily be made on any platform 
- Safari will automatically unzip it leaving a simple application bundle in the 
user’s download folder 

Scott

> On Feb 2, 2019, at 10:13 AM, Michal Konrad Owsiak  wrote:
> 
> In my, personal view, DMG are much simpler for users.
> 
> http://www.owsiak.org/netbeans-make-macos-installer-beautiful-again/
> 
> All you have to do is to drag and drop app.
> 
> And you can drop it into your $HOME/Applications if you are not a super user.
> 
> Michal
> 
> On 2018/08/20 10:02:04, Carl Mosca  wrote: > Excellent, thank 
> you, will take a look.> > > On Mon, Aug 20, 2018, 1:46 AM Geertjan Wielenga> 
> >  wrote:> > > > Here's info about the 
> installer-related code that is being audited for> > > donation:> > >> > > 
> http://wiki.netbeans.org/Launchers_Installers_NBI> > >> > > Gj> > >> > >> > > 
> On Wed, Aug 15, 2018 at 10:43 PM, Carl Mosca  wrote:> > >> > 
> > > Got it, thank you.> > > >> > > > Carl> > > >> > > > On Wed, Aug 15, 2018 
> at 4:40 PM Geertjan Wielenga> > > >  wrote:> > 
> > >> > > > > Note, everything that is part of NetBeans is free and open 
> source.> > > > >> > > > > What we're discussing here is whether (1) Oracle is 
> able to donate the> > > > code> > > > > to Apache, which means Oracle needs 
> to make sure the code really and> > > > truly> > > > > does belong to Oracle 
> and (2) whether Apache can release the code. In> > > > this> > > > > 
> particular case, the 2nd part of not applicable -- Apache will not be> > > > 
> > releasing the code that is used to build the installers, i.e., these> > > 
> are> > > > > build/compile-time relevant only, so the question of 
> distribution of> > > > these> > > > > files is irrelevant.> > > > >> > > > > 
> Thanks,> > > > >> > > > > Gj> > > > >> > > > >> > > > >> > > > > On Wed, Aug 
> 15, 2018 at 10:37 PM, Carl Mosca > > > > wrote:> > > > >> > 
> > > > > OK thank you.> > > > > >> > > > > > My understanding is that in 
> general if there are IP issues, the> > > > original> > > > > > authors cannot 
> write the new/replacement code and those who may write> > > > the> > > > > > 
> new code should not look at the old code...but I am not an attorney.> > > :)> 
> > > > > >> > > > > > Carl> > > > > >> > > > > > On Wed, Aug 15, 2018 at 4:35 
> PM Geertjan Wielenga> > > > > >  wrote:> > > > 
> > >> > > > > > > Yes, it slipped through the cracks. Possibly there'll be 
> problems> > > > with> > > > > > > parts of the code because of IP, but I'll 
> be sure to keep this> > > thread> > > > > > > updated as we move along with 
> this now, i.e., it will (as much as> > > > > > possible> > > > > > > of it) 
> be part of the 3rd donation. It would really help if those> > > > > > > 
> knowledgeable in this area (there appear to be a lot, in this> > > thread)> > 
> > > > > would> > > > > > > look at that repo and see whether those scripts 
> and files and so on> > > > do> > > > > > the> > > > > > > job and are what's 
> needed, we're going to need to build up> > > expertise> > > > in> > > > > > > 
> this area together, sure, Oracle engineers will be available to> > > > 
> support> > > > > > and> > > > > > > answer questions and so on, but the more 
> we spread the knowledge> > > the> > > > > > > better.> > > > > > >> > > > > > 
> > Gj> > > > > > >> > > > > > > On Wed, Aug 15, 2018 at 10:30 PM, Carl Mosca 
>  > > >> > > > > > wrote:> > > > > > >> > > > > > > > 
> This is good news.  Somehow I got the impressio

Re: State of the Apache NetBeans installers

2019-02-02 Thread Emilian Bold
> A non-Java NetBeans installer that can optionally download a
JDK and configure it for the IDE (not necessarily installed globally) might
be something we can explore.

It's somewhat odd to download a big installer then have the installer
download the big JDK... but it's the best we can do and probably a
good-enough solution for users.

> This thread came out of a conversation at FOSDEM about what we
can and can't do in Apache, considering that changing trend, to be more
user friendly.

If Apache gets more lenient / clear on bundling I could also create a
'vanilla NetBeans' package with no bits changed except the additional JDK.
Although I suspect the general idea is for Oracle or Amazon to do some
JDK+NetBeans bundle release and not smaller projects.

--emi


On Sat, Feb 2, 2019 at 10:34 PM Neil C Smith  wrote:

> On Sat, 2 Feb 2019, 20:50 Emilian Bold 
> > > Whereas we need to provide an option to install a JRE/JDK as part of
> the
> > installation process. Or do you have that?
> >
> > I don't have / need that (since I can just bundle the JDK, no?).
> >
>
> Yes. Just wondered.
>
> >
> > For starters just relying on users manually installing / having Java
> would
> > probably do.
> >
> > (Although, the trend is for Java to stop being something users
> install...)
> >
>
> Absolutely! This thread came out of a conversation at FOSDEM about what we
> can and can't do in Apache, considering that changing trend, to be more
> user friendly. A non-Java NetBeans installer that can optionally download a
> JDK and configure it for the IDE (not necessarily installed globally) might
> be something we can explore.
>
> Best wishes,
>
> Neil
>
> >
>


Re: State of the Apache NetBeans installers

2019-02-02 Thread Neil C Smith
On Sat, 2 Feb 2019, 20:50 Emilian Bold  > Whereas we need to provide an option to install a JRE/JDK as part of the
> installation process. Or do you have that?
>
> I don't have / need that (since I can just bundle the JDK, no?).
>

Yes. Just wondered.

>
> For starters just relying on users manually installing / having Java would
> probably do.
>
> (Although, the trend is for Java to stop being something users install...)
>

Absolutely! This thread came out of a conversation at FOSDEM about what we
can and can't do in Apache, considering that changing trend, to be more
user friendly. A non-Java NetBeans installer that can optionally download a
JDK and configure it for the IDE (not necessarily installed globally) might
be something we can explore.

Best wishes,

Neil

>


Re: State of the Apache NetBeans installers

2019-02-02 Thread Emilian Bold
> Well, the key thing as far as I remember is that you're bundling the JDK?

Correct.

> Whereas we need to provide an option to install a JRE/JDK as part of the
installation process. Or do you have that?

I don't have / need that (since I can just bundle the JDK, no?).

For starters just relying on users manually installing / having Java would
probably do.

(Although, the trend is for Java to stop being something users install...)

--emi


On Sat, Feb 2, 2019 at 9:33 PM Neil C Smith  wrote:

> On Sat, 2 Feb 2019, 17:58 Emilian Bold 
> > I can share the CoolBeans installers but they are no big deal, not
> > sure if they are good enough for NetBeans...
> >
>
> Well, the key thing as far as I remember is that you're bundling the JDK?
> Whereas we need to provide an option to install a JRE/JDK as part of the
> installation process. Or do you have that?
>
> Best wishes,
>
> Neil
>
> >
>


Re: State of the Apache NetBeans installers

2019-02-02 Thread Neil C Smith
On Sat, 2 Feb 2019, 17:58 Emilian Bold  I can share the CoolBeans installers but they are no big deal, not
> sure if they are good enough for NetBeans...
>

Well, the key thing as far as I remember is that you're bundling the JDK?
Whereas we need to provide an option to install a JRE/JDK as part of the
installation process. Or do you have that?

Best wishes,

Neil

>


Re: State of the Apache NetBeans installers

2019-02-02 Thread Carl Mosca
Ah, now I recall that.  I have not had an occasion to move NetBeans but I
did just make a change which might address this (and hopefully not break
anything).

:)

Carl

On Sat, Feb 2, 2019 at 12:30 PM Emilian Bold  wrote:

> > Which script are you referring to?  The original install.sh or the
> install-custom.sh?
> > I have not looked at either in a while but I think we had some nice
> contributions one of which may have addressed the issue to which I think
> you might be referring.
>
> I think it's the `ln -s`. I did open
> https://github.com/carljmosca/netbeans-macos-bundle/issues/25 right now.
> Try to move the app and see if it still launches, it did not for me when I
> tested last year.
>
> > Having said that, I agree that it would be nice to have something like
> what
> an end user might expect.  I don't recall all the issues with the pkg vs.
> dmg but I do think such a solution would be much nicer.
>
> Yes, DMG is much nicer.
>
> --emi
>
>
> On Sat, Feb 2, 2019 at 7:05 PM Carl Mosca  wrote:
>
> > Hi Emi,
> >
> > Which script are you referring to?  The original install.sh or the
> > install-custom.sh?
> >
> > I have not looked at either in a while but I think we had some nice
> > contributions one of which may have addressed the issue to which I think
> > you might be referring.
> >
> > Having said that, I agree that it would be nice to have something like
> what
> > an end user might expect.  I don't recall all the issues with the pkg vs.
> > dmg but I do think such a solution would be much nicer.
> >
> > Still, willing to help.
> >
> > Regards,
> > Carl
> >
> > On Sat, Feb 2, 2019 at 11:58 AM Emilian Bold 
> > wrote:
> >
> > > Hello,
> > >
> > > I can share the CoolBeans installers but they are no big deal, not
> > > sure if they are good enough for NetBeans...
> > >
> > > My macOS DMG uses a variation of the Carl J. Mosca script does
> > > (Carl's script has a bug as it assumes the location never changes; I
> > > would make a PR if I wouldn't have changed so much stuff).
> > >
> > > My Windows installer uses InnoSetup and has again a very basic script,
> > > based on what Stephen Cumminger shared on the mailing list a while
> > > back. It's very basic, but gets the job done of copying the files,
> > > creating shortcuts and providing an uninstaller.
> > >
> > > I believe these are actually enough for end users, but NetBeans always
> > > had a much more fancy installer, with Glassfish and many other things.
> > > Especially for macOS I always wanted a clean drag-and-drop DMG, no
> > > package with a wizard.
> > >
> > > I think it's important that both the DMG and the EXE are digitally
> > signed.
> > > Windows particularly has very scary warning messages for unsigned EXEs.
> > >
> > > --emi
> > >
> > >
> > >
> > > On Sat, Feb 2, 2019 at 5:14 PM Geertjan Wielenga
> > >  wrote:
> > > >
> > > > Hi all,
> > > >
> > > > Tried to gather different threads together in the below to get a
> > thorough
> > > > overview of where and why we are where we are:
> > > >
> > > >
> > >
> >
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers
> > > >
> > > > Thanks,
> > > >
> > > > Gj
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> > > For additional commands, e-mail:
> dev-h...@netbeans.incubator.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> > >
> > >
> >
> > --
> > Carl J. Mosca
> >
>


-- 
Carl J. Mosca


Re: State of the Apache NetBeans installers

2019-02-02 Thread Emilian Bold
> Which script are you referring to?  The original install.sh or the
install-custom.sh?
> I have not looked at either in a while but I think we had some nice
contributions one of which may have addressed the issue to which I think
you might be referring.

I think it's the `ln -s`. I did open
https://github.com/carljmosca/netbeans-macos-bundle/issues/25 right now.
Try to move the app and see if it still launches, it did not for me when I
tested last year.

> Having said that, I agree that it would be nice to have something like
what
an end user might expect.  I don't recall all the issues with the pkg vs.
dmg but I do think such a solution would be much nicer.

Yes, DMG is much nicer.

--emi


On Sat, Feb 2, 2019 at 7:05 PM Carl Mosca  wrote:

> Hi Emi,
>
> Which script are you referring to?  The original install.sh or the
> install-custom.sh?
>
> I have not looked at either in a while but I think we had some nice
> contributions one of which may have addressed the issue to which I think
> you might be referring.
>
> Having said that, I agree that it would be nice to have something like what
> an end user might expect.  I don't recall all the issues with the pkg vs.
> dmg but I do think such a solution would be much nicer.
>
> Still, willing to help.
>
> Regards,
> Carl
>
> On Sat, Feb 2, 2019 at 11:58 AM Emilian Bold 
> wrote:
>
> > Hello,
> >
> > I can share the CoolBeans installers but they are no big deal, not
> > sure if they are good enough for NetBeans...
> >
> > My macOS DMG uses a variation of the Carl J. Mosca script does
> > (Carl's script has a bug as it assumes the location never changes; I
> > would make a PR if I wouldn't have changed so much stuff).
> >
> > My Windows installer uses InnoSetup and has again a very basic script,
> > based on what Stephen Cumminger shared on the mailing list a while
> > back. It's very basic, but gets the job done of copying the files,
> > creating shortcuts and providing an uninstaller.
> >
> > I believe these are actually enough for end users, but NetBeans always
> > had a much more fancy installer, with Glassfish and many other things.
> > Especially for macOS I always wanted a clean drag-and-drop DMG, no
> > package with a wizard.
> >
> > I think it's important that both the DMG and the EXE are digitally
> signed.
> > Windows particularly has very scary warning messages for unsigned EXEs.
> >
> > --emi
> >
> >
> >
> > On Sat, Feb 2, 2019 at 5:14 PM Geertjan Wielenga
> >  wrote:
> > >
> > > Hi all,
> > >
> > > Tried to gather different threads together in the below to get a
> thorough
> > > overview of where and why we are where we are:
> > >
> > >
> >
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers
> > >
> > > Thanks,
> > >
> > > Gj
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> > For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>
> --
> Carl J. Mosca
>


Re: State of the Apache NetBeans installers

2019-02-02 Thread Emilian Bold
Oh, I saw this comment on
https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers

This debate was had once about 14 years ago - and the decision to go with
> .pkg installers on Mac OSX was made for this reason: There were a lot of
> "NetBeans is unusably slow" reports on OSX.
> The reason? A LOT of users never unpacked the .app - they were running it
> directly from the mounted, compressed .dmg image. It turns out that's not
> that unusual.
> Random access Java classloading does not play nicely AT ALL with the
> compression used for .dmg images.
> I strongly recommend not repeating that mistake.


I believe NetBeans should detect if it's being executed from a DMG and warn
the user about it. I did have an user with an utterly broken install due to
AppTranslocation.

Still, using a DMG is the way to go imho.

--emi


On Sat, Feb 2, 2019 at 6:32 PM Emilian Bold  wrote:

> Hello,
>
> I can share the CoolBeans installers but they are no big deal, not
> sure if they are good enough for NetBeans...
>
> My macOS DMG uses a variation of the Carl J. Mosca script does
> (Carl's script has a bug as it assumes the location never changes; I
> would make a PR if I wouldn't have changed so much stuff).
>
> My Windows installer uses InnoSetup and has again a very basic script,
> based on what Stephen Cumminger shared on the mailing list a while
> back. It's very basic, but gets the job done of copying the files,
> creating shortcuts and providing an uninstaller.
>
> I believe these are actually enough for end users, but NetBeans always
> had a much more fancy installer, with Glassfish and many other things.
> Especially for macOS I always wanted a clean drag-and-drop DMG, no
> package with a wizard.
>
> I think it's important that both the DMG and the EXE are digitally signed.
> Windows particularly has very scary warning messages for unsigned EXEs.
>
> --emi
>
>
>
> On Sat, Feb 2, 2019 at 5:14 PM Geertjan Wielenga
>  wrote:
> >
> > Hi all,
> >
> > Tried to gather different threads together in the below to get a thorough
> > overview of where and why we are where we are:
> >
> >
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers
> >
> > Thanks,
> >
> > Gj
>


Re: State of the Apache NetBeans installers

2019-02-02 Thread Carl Mosca
Hi Emi,

Which script are you referring to?  The original install.sh or the
install-custom.sh?

I have not looked at either in a while but I think we had some nice
contributions one of which may have addressed the issue to which I think
you might be referring.

Having said that, I agree that it would be nice to have something like what
an end user might expect.  I don't recall all the issues with the pkg vs.
dmg but I do think such a solution would be much nicer.

Still, willing to help.

Regards,
Carl

On Sat, Feb 2, 2019 at 11:58 AM Emilian Bold  wrote:

> Hello,
>
> I can share the CoolBeans installers but they are no big deal, not
> sure if they are good enough for NetBeans...
>
> My macOS DMG uses a variation of the Carl J. Mosca script does
> (Carl's script has a bug as it assumes the location never changes; I
> would make a PR if I wouldn't have changed so much stuff).
>
> My Windows installer uses InnoSetup and has again a very basic script,
> based on what Stephen Cumminger shared on the mailing list a while
> back. It's very basic, but gets the job done of copying the files,
> creating shortcuts and providing an uninstaller.
>
> I believe these are actually enough for end users, but NetBeans always
> had a much more fancy installer, with Glassfish and many other things.
> Especially for macOS I always wanted a clean drag-and-drop DMG, no
> package with a wizard.
>
> I think it's important that both the DMG and the EXE are digitally signed.
> Windows particularly has very scary warning messages for unsigned EXEs.
>
> --emi
>
>
>
> On Sat, Feb 2, 2019 at 5:14 PM Geertjan Wielenga
>  wrote:
> >
> > Hi all,
> >
> > Tried to gather different threads together in the below to get a thorough
> > overview of where and why we are where we are:
> >
> >
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers
> >
> > Thanks,
> >
> > Gj
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

-- 
Carl J. Mosca


Re: State of the Apache NetBeans installers

2019-02-02 Thread Emilian Bold
Hello,

I can share the CoolBeans installers but they are no big deal, not
sure if they are good enough for NetBeans...

My macOS DMG uses a variation of the Carl J. Mosca script does
(Carl's script has a bug as it assumes the location never changes; I
would make a PR if I wouldn't have changed so much stuff).

My Windows installer uses InnoSetup and has again a very basic script,
based on what Stephen Cumminger shared on the mailing list a while
back. It's very basic, but gets the job done of copying the files,
creating shortcuts and providing an uninstaller.

I believe these are actually enough for end users, but NetBeans always
had a much more fancy installer, with Glassfish and many other things.
Especially for macOS I always wanted a clean drag-and-drop DMG, no
package with a wizard.

I think it's important that both the DMG and the EXE are digitally signed.
Windows particularly has very scary warning messages for unsigned EXEs.

--emi



On Sat, Feb 2, 2019 at 5:14 PM Geertjan Wielenga
 wrote:
>
> Hi all,
>
> Tried to gather different threads together in the below to get a thorough
> overview of where and why we are where we are:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers
>
> Thanks,
>
> Gj

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: State of the Apache NetBeans installers

2019-02-02 Thread Laszlo Kishalmi

Improved the Linux Section.

On 2/2/19 7:08 AM, Geertjan Wielenga wrote:

Hi all,

Tried to gather different threads together in the below to get a thorough
overview of where and why we are where we are:

https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers

Thanks,

Gj



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2019-02-02 Thread Neil C Smith
On Sat, 2 Feb 2019, 16:13 Michal Konrad Owsiak  In my, personal view, DMG are much simpler for users.
>

So, you don't agree with that link I posted earlier then? :-)

Two questions if we use DMG. Firstly, how much of an issue is what Tim
mentioned about users running from the DMG, or are there mitigating things
that can be done? Secondly, and more importantly, how could we implement an
optional JRE/JDK downloader with this approach?

Best wishes,

Neil


State of the Apache NetBeans installers

2019-02-02 Thread Geertjan Wielenga
Hi all,

Tried to gather different threads together in the below to get a thorough
overview of where and why we are where we are:

https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers

Thanks,

Gj


Re: Installers

2019-02-02 Thread Michal Konrad Owsiak

In my, personal view, DMG are much simpler for users.

http://www.owsiak.org/netbeans-make-macos-installer-beautiful-again/

All you have to do is to drag and drop app.

And you can drop it into your $HOME/Applications if you are not a super 
user.


Michal

On 2018/08/20 10:02:04, Carl Mosca  wrote: > Excellent, 
thank you, will take a look.> > > On Mon, Aug 20, 2018, 1:46 AM Geertjan 
Wielenga> >  wrote:> > > > Here's info 
about the installer-related code that is being audited for> > > 
donation:> > >> > > http://wiki.netbeans.org/Launchers_Installers_NBI> > 
>> > > Gj> > >> > >> > > On Wed, Aug 15, 2018 at 10:43 PM, Carl Mosca 
 wrote:> > >> > > > Got it, thank you.> > > >> > > > 
Carl> > > >> > > > On Wed, Aug 15, 2018 at 4:40 PM Geertjan Wielenga> > 
> >  wrote:> > > >> > > > > Note, 
everything that is part of NetBeans is free and open source.> > > > >> > 
> > > What we're discussing here is whether (1) Oracle is able to 
donate the> > > > code> > > > > to Apache, which means Oracle needs to 
make sure the code really and> > > > truly> > > > > does belong to 
Oracle and (2) whether Apache can release the code. In> > > > this> > > 
> > particular case, the 2nd part of not applicable -- Apache will not 
be> > > > > releasing the code that is used to build the installers, 
i.e., these> > > are> > > > > build/compile-time relevant only, so the 
question of distribution of> > > > these> > > > > files is irrelevant.> 
> > > >> > > > > Thanks,> > > > >> > > > > Gj> > > > >> > > > >> > > > 
>> > > > > On Wed, Aug 15, 2018 at 10:37 PM, Carl Mosca 
> > > > wrote:> > > > >> > > > > > OK thank you.> > > > 
> >> > > > > > My understanding is that in general if there are IP 
issues, the> > > > original> > > > > > authors cannot write the 
new/replacement code and those who may write> > > > the> > > > > > new 
code should not look at the old code...but I am not an attorney.> > > 
:)> > > > > >> > > > > > Carl> > > > > >> > > > > > On Wed, Aug 15, 2018 
at 4:35 PM Geertjan Wielenga> > > > > >  
wrote:> > > > > >> > > > > > > Yes, it slipped through the cracks. 
Possibly there'll be problems> > > > with> > > > > > > parts of the code 
because of IP, but I'll be sure to keep this> > > thread> > > > > > > 
updated as we move along with this now, i.e., it will (as much as> > > > 
> > possible> > > > > > > of it) be part of the 3rd donation. It would 
really help if those> > > > > > > knowledgeable in this area (there 
appear to be a lot, in this> > > thread)> > > > > > would> > > > > > > 
look at that repo and see whether those scripts and files and so on> > > 
> do> > > > > > the> > > > > > > job and are what's needed, we're going 
to need to build up> > > expertise> > > > in> > > > > > > this area 
together, sure, Oracle engineers will be available to> > > > support> > 
> > > > and> > > > > > > answer questions and so on, but the more we 
spread the knowledge> > > the> > > > > > > better.> > > > > > >> > > > > 
> > Gj> > > > > > >> > > > > > > On Wed, Aug 15, 2018 at 10:30 PM, Carl 
Mosca  > > >> > > > > > wrote:> > > > > > >> > > > 
> > > > This is good news.  Somehow I got the impression that this 
code> > > was> > > > > not> > > > > > > > available due to IP and/or 
license issues.> > > > > > > >> > > > > > > > Thank you Gj.> > > > > > > 
>> > > > > > > > On Wed, Aug 15, 2018 at 10:39 AM Geertjan Wielenga> > 
> > > > > >  wrote:> > > > > > > >> > > > 
> > > > > On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung <> > > >

State of the Apache NetBeans installers

2019-02-02 Thread Geertjan Wielenga
Hi all,

Tried to gather different threads together in the below to get a thorough
overview of where and why we are where we are:

https://cwiki.apache.org/confluence/display/NETBEANS/State+of+the+Apache+NetBeans+Installers

Thanks,

Gj


Re: Installers

2018-08-20 Thread Carl Mosca
Excellent, thank you, will take a look.

On Mon, Aug 20, 2018, 1:46 AM Geertjan Wielenga
 wrote:

> Here's info about the installer-related code that is being audited for
> donation:
>
> http://wiki.netbeans.org/Launchers_Installers_NBI
>
> Gj
>
>
> On Wed, Aug 15, 2018 at 10:43 PM, Carl Mosca  wrote:
>
> > Got it, thank you.
> >
> > Carl
> >
> > On Wed, Aug 15, 2018 at 4:40 PM Geertjan Wielenga
> >  wrote:
> >
> > > Note, everything that is part of NetBeans is free and open source.
> > >
> > > What we're discussing here is whether (1) Oracle is able to donate the
> > code
> > > to Apache, which means Oracle needs to make sure the code really and
> > truly
> > > does belong to Oracle and (2) whether Apache can release the code. In
> > this
> > > particular case, the 2nd part of not applicable -- Apache will not be
> > > releasing the code that is used to build the installers, i.e., these
> are
> > > build/compile-time relevant only, so the question of distribution of
> > these
> > > files is irrelevant.
> > >
> > > Thanks,
> > >
> > > Gj
> > >
> > >
> > >
> > > On Wed, Aug 15, 2018 at 10:37 PM, Carl Mosca 
> > wrote:
> > >
> > > > OK thank you.
> > > >
> > > > My understanding is that in general if there are IP issues, the
> > original
> > > > authors cannot write the new/replacement code and those who may write
> > the
> > > > new code should not look at the old code...but I am not an attorney.
> :)
> > > >
> > > > Carl
> > > >
> > > > On Wed, Aug 15, 2018 at 4:35 PM Geertjan Wielenga
> > > >  wrote:
> > > >
> > > > > Yes, it slipped through the cracks. Possibly there'll be problems
> > with
> > > > > parts of the code because of IP, but I'll be sure to keep this
> thread
> > > > > updated as we move along with this now, i.e., it will (as much as
> > > > possible
> > > > > of it) be part of the 3rd donation. It would really help if those
> > > > > knowledgeable in this area (there appear to be a lot, in this
> thread)
> > > > would
> > > > > look at that repo and see whether those scripts and files and so on
> > do
> > > > the
> > > > > job and are what's needed, we're going to need to build up
> expertise
> > in
> > > > > this area together, sure, Oracle engineers will be available to
> > support
> > > > and
> > > > > answer questions and so on, but the more we spread the knowledge
> the
> > > > > better.
> > > > >
> > > > > Gj
> > > > >
> > > > > On Wed, Aug 15, 2018 at 10:30 PM, Carl Mosca  >
> > > > wrote:
> > > > >
> > > > > > This is good news.  Somehow I got the impression that this code
> was
> > > not
> > > > > > available due to IP and/or license issues.
> > > > > >
> > > > > > Thank you Gj.
> > > > > >
> > > > > > On Wed, Aug 15, 2018 at 10:39 AM Geertjan Wielenga
> > > > > >  wrote:
> > > > > >
> > > > > > > On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung <
> > > willhart...@gmail.com
> > > > >
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > That said, looking at the git zip download, there's most
> > > certainly
> > > > > > > evidence
> > > > > > > > of the ability to create the Mac installers, which was kind
> of
> > my
> > > > > base
> > > > > > > > puzzle. These existed before, where's the scripts to build
> it?
> > > The
> > > > > > actual
> > > > > > > > build scripts I can't find, I don't know if they are on/lost
> > with
> > > > the
> > > > > > > > Hudson server (I can't seem to connect to the one linked at
> the
> > > > > nb.org
> > > > > > > > page). All of the hudson.* directories seem to relate to
> > NetBeans
> > > > > > hudson
> > > > > > > > support, not the build.
> > > > > > > >
> > > > > > >
>

Re: Installers

2018-08-19 Thread Geertjan Wielenga
Here's info about the installer-related code that is being audited for
donation:

http://wiki.netbeans.org/Launchers_Installers_NBI

Gj


On Wed, Aug 15, 2018 at 10:43 PM, Carl Mosca  wrote:

> Got it, thank you.
>
> Carl
>
> On Wed, Aug 15, 2018 at 4:40 PM Geertjan Wielenga
>  wrote:
>
> > Note, everything that is part of NetBeans is free and open source.
> >
> > What we're discussing here is whether (1) Oracle is able to donate the
> code
> > to Apache, which means Oracle needs to make sure the code really and
> truly
> > does belong to Oracle and (2) whether Apache can release the code. In
> this
> > particular case, the 2nd part of not applicable -- Apache will not be
> > releasing the code that is used to build the installers, i.e., these are
> > build/compile-time relevant only, so the question of distribution of
> these
> > files is irrelevant.
> >
> > Thanks,
> >
> > Gj
> >
> >
> >
> > On Wed, Aug 15, 2018 at 10:37 PM, Carl Mosca 
> wrote:
> >
> > > OK thank you.
> > >
> > > My understanding is that in general if there are IP issues, the
> original
> > > authors cannot write the new/replacement code and those who may write
> the
> > > new code should not look at the old code...but I am not an attorney. :)
> > >
> > > Carl
> > >
> > > On Wed, Aug 15, 2018 at 4:35 PM Geertjan Wielenga
> > >  wrote:
> > >
> > > > Yes, it slipped through the cracks. Possibly there'll be problems
> with
> > > > parts of the code because of IP, but I'll be sure to keep this thread
> > > > updated as we move along with this now, i.e., it will (as much as
> > > possible
> > > > of it) be part of the 3rd donation. It would really help if those
> > > > knowledgeable in this area (there appear to be a lot, in this thread)
> > > would
> > > > look at that repo and see whether those scripts and files and so on
> do
> > > the
> > > > job and are what's needed, we're going to need to build up expertise
> in
> > > > this area together, sure, Oracle engineers will be available to
> support
> > > and
> > > > answer questions and so on, but the more we spread the knowledge the
> > > > better.
> > > >
> > > > Gj
> > > >
> > > > On Wed, Aug 15, 2018 at 10:30 PM, Carl Mosca 
> > > wrote:
> > > >
> > > > > This is good news.  Somehow I got the impression that this code was
> > not
> > > > > available due to IP and/or license issues.
> > > > >
> > > > > Thank you Gj.
> > > > >
> > > > > On Wed, Aug 15, 2018 at 10:39 AM Geertjan Wielenga
> > > > >  wrote:
> > > > >
> > > > > > On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung <
> > willhart...@gmail.com
> > > >
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > That said, looking at the git zip download, there's most
> > certainly
> > > > > > evidence
> > > > > > > of the ability to create the Mac installers, which was kind of
> my
> > > > base
> > > > > > > puzzle. These existed before, where's the scripts to build it?
> > The
> > > > > actual
> > > > > > > build scripts I can't find, I don't know if they are on/lost
> with
> > > the
> > > > > > > Hudson server (I can't seem to connect to the one linked at the
> > > > nb.org
> > > > > > > page). All of the hudson.* directories seem to relate to
> NetBeans
> > > > > hudson
> > > > > > > support, not the build.
> > > > > > >
> > > > > >
> > > > > >
> > > > > > That's a good point.
> > > > > >
> > > > > > Installers were always created for NetBeans releases, including
> DMG
> > > > > > installers.
> > > > > >
> > > > > > Looking in the hg repo at Oracle, this is where the related
> scripts
> > > and
> > > > > so
> > > > > > on are found:
> > > > > >
> > > > > > http://hg.netbeans.org/releases/file/tip/installer
> > > > > >
> > > > > > These have not yet been included in the donation process, since
>

Re: Installers

2018-08-15 Thread Carl Mosca
Got it, thank you.

Carl

On Wed, Aug 15, 2018 at 4:40 PM Geertjan Wielenga
 wrote:

> Note, everything that is part of NetBeans is free and open source.
>
> What we're discussing here is whether (1) Oracle is able to donate the code
> to Apache, which means Oracle needs to make sure the code really and truly
> does belong to Oracle and (2) whether Apache can release the code. In this
> particular case, the 2nd part of not applicable -- Apache will not be
> releasing the code that is used to build the installers, i.e., these are
> build/compile-time relevant only, so the question of distribution of these
> files is irrelevant.
>
> Thanks,
>
> Gj
>
>
>
> On Wed, Aug 15, 2018 at 10:37 PM, Carl Mosca  wrote:
>
> > OK thank you.
> >
> > My understanding is that in general if there are IP issues, the original
> > authors cannot write the new/replacement code and those who may write the
> > new code should not look at the old code...but I am not an attorney. :)
> >
> > Carl
> >
> > On Wed, Aug 15, 2018 at 4:35 PM Geertjan Wielenga
> >  wrote:
> >
> > > Yes, it slipped through the cracks. Possibly there'll be problems with
> > > parts of the code because of IP, but I'll be sure to keep this thread
> > > updated as we move along with this now, i.e., it will (as much as
> > possible
> > > of it) be part of the 3rd donation. It would really help if those
> > > knowledgeable in this area (there appear to be a lot, in this thread)
> > would
> > > look at that repo and see whether those scripts and files and so on do
> > the
> > > job and are what's needed, we're going to need to build up expertise in
> > > this area together, sure, Oracle engineers will be available to support
> > and
> > > answer questions and so on, but the more we spread the knowledge the
> > > better.
> > >
> > > Gj
> > >
> > > On Wed, Aug 15, 2018 at 10:30 PM, Carl Mosca 
> > wrote:
> > >
> > > > This is good news.  Somehow I got the impression that this code was
> not
> > > > available due to IP and/or license issues.
> > > >
> > > > Thank you Gj.
> > > >
> > > > On Wed, Aug 15, 2018 at 10:39 AM Geertjan Wielenga
> > > >  wrote:
> > > >
> > > > > On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung <
> willhart...@gmail.com
> > >
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > That said, looking at the git zip download, there's most
> certainly
> > > > > evidence
> > > > > > of the ability to create the Mac installers, which was kind of my
> > > base
> > > > > > puzzle. These existed before, where's the scripts to build it?
> The
> > > > actual
> > > > > > build scripts I can't find, I don't know if they are on/lost with
> > the
> > > > > > Hudson server (I can't seem to connect to the one linked at the
> > > nb.org
> > > > > > page). All of the hudson.* directories seem to relate to NetBeans
> > > > hudson
> > > > > > support, not the build.
> > > > > >
> > > > >
> > > > >
> > > > > That's a good point.
> > > > >
> > > > > Installers were always created for NetBeans releases, including DMG
> > > > > installers.
> > > > >
> > > > > Looking in the hg repo at Oracle, this is where the related scripts
> > and
> > > > so
> > > > > on are found:
> > > > >
> > > > > http://hg.netbeans.org/releases/file/tip/installer
> > > > >
> > > > > These have not yet been included in the donation process, since we
> > have
> > > > > been focusing on clusters (e.g., the 'java' cluster, the 'php'
> > cluster,
> > > > > etc) and this 'installer' folder falls outside the clusters.
> > > > >
> > > > > So, we will work on including the installer folder from the hg repo
> > > into
> > > > > the donation that we're currently working on, i.e., the 3rd
> donation.
> > > > >
> > > > > Apologies for not thinking about this earlier -- i.e., we've had
> the
> > > > > solution all along and simply not yet included them in the
> donation.
> > > > >
> > > > > Can those knowledgeable in this area take a look at the above
> folder
> > --
> > > > it
> > > > > includes everything needed AFAIK for installers for Windows, Linux,
> > and
> > > > > Mac.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Gj
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > >
> > > > > > Finally, the Apache infrastructure has a build bot running on a
> Mac
> > > > Mini.
> > > > > > If the original build scripts can be found, and the proper
> > > permissions
> > > > > > acquired on the Mac Build bot, then, ideally, the previous build
> > can
> > > be
> > > > > > ported to the new infrastructure.
> > > > > >
> > > > > > Ideally, this shouldn't have to be a clean room reinvention of
> the
> > > > wheel
> > > > > if
> > > > > > it were deigned to be something that the group still wanted to
> have
> > > > > > supported.
> > > > > >
> > > > > > But, I don't know.
> > > > > >
> > > > > > Regards.
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carl J. Mosca
> > > >
> > >
> >
> >
> > --
> > Carl J. Mosca
> >
>


-- 
Carl J. Mosca


Re: Installers

2018-08-15 Thread Geertjan Wielenga
Note, everything that is part of NetBeans is free and open source.

What we're discussing here is whether (1) Oracle is able to donate the code
to Apache, which means Oracle needs to make sure the code really and truly
does belong to Oracle and (2) whether Apache can release the code. In this
particular case, the 2nd part of not applicable -- Apache will not be
releasing the code that is used to build the installers, i.e., these are
build/compile-time relevant only, so the question of distribution of these
files is irrelevant.

Thanks,

Gj



On Wed, Aug 15, 2018 at 10:37 PM, Carl Mosca  wrote:

> OK thank you.
>
> My understanding is that in general if there are IP issues, the original
> authors cannot write the new/replacement code and those who may write the
> new code should not look at the old code...but I am not an attorney. :)
>
> Carl
>
> On Wed, Aug 15, 2018 at 4:35 PM Geertjan Wielenga
>  wrote:
>
> > Yes, it slipped through the cracks. Possibly there'll be problems with
> > parts of the code because of IP, but I'll be sure to keep this thread
> > updated as we move along with this now, i.e., it will (as much as
> possible
> > of it) be part of the 3rd donation. It would really help if those
> > knowledgeable in this area (there appear to be a lot, in this thread)
> would
> > look at that repo and see whether those scripts and files and so on do
> the
> > job and are what's needed, we're going to need to build up expertise in
> > this area together, sure, Oracle engineers will be available to support
> and
> > answer questions and so on, but the more we spread the knowledge the
> > better.
> >
> > Gj
> >
> > On Wed, Aug 15, 2018 at 10:30 PM, Carl Mosca 
> wrote:
> >
> > > This is good news.  Somehow I got the impression that this code was not
> > > available due to IP and/or license issues.
> > >
> > > Thank you Gj.
> > >
> > > On Wed, Aug 15, 2018 at 10:39 AM Geertjan Wielenga
> > >  wrote:
> > >
> > > > On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung  >
> > > > wrote:
> > > >
> > > > >
> > > > > That said, looking at the git zip download, there's most certainly
> > > > evidence
> > > > > of the ability to create the Mac installers, which was kind of my
> > base
> > > > > puzzle. These existed before, where's the scripts to build it? The
> > > actual
> > > > > build scripts I can't find, I don't know if they are on/lost with
> the
> > > > > Hudson server (I can't seem to connect to the one linked at the
> > nb.org
> > > > > page). All of the hudson.* directories seem to relate to NetBeans
> > > hudson
> > > > > support, not the build.
> > > > >
> > > >
> > > >
> > > > That's a good point.
> > > >
> > > > Installers were always created for NetBeans releases, including DMG
> > > > installers.
> > > >
> > > > Looking in the hg repo at Oracle, this is where the related scripts
> and
> > > so
> > > > on are found:
> > > >
> > > > http://hg.netbeans.org/releases/file/tip/installer
> > > >
> > > > These have not yet been included in the donation process, since we
> have
> > > > been focusing on clusters (e.g., the 'java' cluster, the 'php'
> cluster,
> > > > etc) and this 'installer' folder falls outside the clusters.
> > > >
> > > > So, we will work on including the installer folder from the hg repo
> > into
> > > > the donation that we're currently working on, i.e., the 3rd donation.
> > > >
> > > > Apologies for not thinking about this earlier -- i.e., we've had the
> > > > solution all along and simply not yet included them in the donation.
> > > >
> > > > Can those knowledgeable in this area take a look at the above folder
> --
> > > it
> > > > includes everything needed AFAIK for installers for Windows, Linux,
> and
> > > > Mac.
> > > >
> > > > Thanks,
> > > >
> > > > Gj
> > > >
> > > >
> > > >
> > > >
> > > > >
> > > > > Finally, the Apache infrastructure has a build bot running on a Mac
> > > Mini.
> > > > > If the original build scripts can be found, and the proper
> > permissions
> > > > > acquired on the Mac Build bot, then, ideally, the previous build
> can
> > be
> > > > > ported to the new infrastructure.
> > > > >
> > > > > Ideally, this shouldn't have to be a clean room reinvention of the
> > > wheel
> > > > if
> > > > > it were deigned to be something that the group still wanted to have
> > > > > supported.
> > > > >
> > > > > But, I don't know.
> > > > >
> > > > > Regards.
> > > > >
> > > >
> > >
> > >
> > > --
> > > Carl J. Mosca
> > >
> >
>
>
> --
> Carl J. Mosca
>


Re: Installers

2018-08-15 Thread Carl Mosca
OK thank you.

My understanding is that in general if there are IP issues, the original
authors cannot write the new/replacement code and those who may write the
new code should not look at the old code...but I am not an attorney. :)

Carl

On Wed, Aug 15, 2018 at 4:35 PM Geertjan Wielenga
 wrote:

> Yes, it slipped through the cracks. Possibly there'll be problems with
> parts of the code because of IP, but I'll be sure to keep this thread
> updated as we move along with this now, i.e., it will (as much as possible
> of it) be part of the 3rd donation. It would really help if those
> knowledgeable in this area (there appear to be a lot, in this thread) would
> look at that repo and see whether those scripts and files and so on do the
> job and are what's needed, we're going to need to build up expertise in
> this area together, sure, Oracle engineers will be available to support and
> answer questions and so on, but the more we spread the knowledge the
> better.
>
> Gj
>
> On Wed, Aug 15, 2018 at 10:30 PM, Carl Mosca  wrote:
>
> > This is good news.  Somehow I got the impression that this code was not
> > available due to IP and/or license issues.
> >
> > Thank you Gj.
> >
> > On Wed, Aug 15, 2018 at 10:39 AM Geertjan Wielenga
> >  wrote:
> >
> > > On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung 
> > > wrote:
> > >
> > > >
> > > > That said, looking at the git zip download, there's most certainly
> > > evidence
> > > > of the ability to create the Mac installers, which was kind of my
> base
> > > > puzzle. These existed before, where's the scripts to build it? The
> > actual
> > > > build scripts I can't find, I don't know if they are on/lost with the
> > > > Hudson server (I can't seem to connect to the one linked at the
> nb.org
> > > > page). All of the hudson.* directories seem to relate to NetBeans
> > hudson
> > > > support, not the build.
> > > >
> > >
> > >
> > > That's a good point.
> > >
> > > Installers were always created for NetBeans releases, including DMG
> > > installers.
> > >
> > > Looking in the hg repo at Oracle, this is where the related scripts and
> > so
> > > on are found:
> > >
> > > http://hg.netbeans.org/releases/file/tip/installer
> > >
> > > These have not yet been included in the donation process, since we have
> > > been focusing on clusters (e.g., the 'java' cluster, the 'php' cluster,
> > > etc) and this 'installer' folder falls outside the clusters.
> > >
> > > So, we will work on including the installer folder from the hg repo
> into
> > > the donation that we're currently working on, i.e., the 3rd donation.
> > >
> > > Apologies for not thinking about this earlier -- i.e., we've had the
> > > solution all along and simply not yet included them in the donation.
> > >
> > > Can those knowledgeable in this area take a look at the above folder --
> > it
> > > includes everything needed AFAIK for installers for Windows, Linux, and
> > > Mac.
> > >
> > > Thanks,
> > >
> > > Gj
> > >
> > >
> > >
> > >
> > > >
> > > > Finally, the Apache infrastructure has a build bot running on a Mac
> > Mini.
> > > > If the original build scripts can be found, and the proper
> permissions
> > > > acquired on the Mac Build bot, then, ideally, the previous build can
> be
> > > > ported to the new infrastructure.
> > > >
> > > > Ideally, this shouldn't have to be a clean room reinvention of the
> > wheel
> > > if
> > > > it were deigned to be something that the group still wanted to have
> > > > supported.
> > > >
> > > > But, I don't know.
> > > >
> > > > Regards.
> > > >
> > >
> >
> >
> > --
> > Carl J. Mosca
> >
>


-- 
Carl J. Mosca


Re: Installers

2018-08-15 Thread Geertjan Wielenga
Yes, it slipped through the cracks. Possibly there'll be problems with
parts of the code because of IP, but I'll be sure to keep this thread
updated as we move along with this now, i.e., it will (as much as possible
of it) be part of the 3rd donation. It would really help if those
knowledgeable in this area (there appear to be a lot, in this thread) would
look at that repo and see whether those scripts and files and so on do the
job and are what's needed, we're going to need to build up expertise in
this area together, sure, Oracle engineers will be available to support and
answer questions and so on, but the more we spread the knowledge the better.

Gj

On Wed, Aug 15, 2018 at 10:30 PM, Carl Mosca  wrote:

> This is good news.  Somehow I got the impression that this code was not
> available due to IP and/or license issues.
>
> Thank you Gj.
>
> On Wed, Aug 15, 2018 at 10:39 AM Geertjan Wielenga
>  wrote:
>
> > On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung 
> > wrote:
> >
> > >
> > > That said, looking at the git zip download, there's most certainly
> > evidence
> > > of the ability to create the Mac installers, which was kind of my base
> > > puzzle. These existed before, where's the scripts to build it? The
> actual
> > > build scripts I can't find, I don't know if they are on/lost with the
> > > Hudson server (I can't seem to connect to the one linked at the nb.org
> > > page). All of the hudson.* directories seem to relate to NetBeans
> hudson
> > > support, not the build.
> > >
> >
> >
> > That's a good point.
> >
> > Installers were always created for NetBeans releases, including DMG
> > installers.
> >
> > Looking in the hg repo at Oracle, this is where the related scripts and
> so
> > on are found:
> >
> > http://hg.netbeans.org/releases/file/tip/installer
> >
> > These have not yet been included in the donation process, since we have
> > been focusing on clusters (e.g., the 'java' cluster, the 'php' cluster,
> > etc) and this 'installer' folder falls outside the clusters.
> >
> > So, we will work on including the installer folder from the hg repo into
> > the donation that we're currently working on, i.e., the 3rd donation.
> >
> > Apologies for not thinking about this earlier -- i.e., we've had the
> > solution all along and simply not yet included them in the donation.
> >
> > Can those knowledgeable in this area take a look at the above folder --
> it
> > includes everything needed AFAIK for installers for Windows, Linux, and
> > Mac.
> >
> > Thanks,
> >
> > Gj
> >
> >
> >
> >
> > >
> > > Finally, the Apache infrastructure has a build bot running on a Mac
> Mini.
> > > If the original build scripts can be found, and the proper permissions
> > > acquired on the Mac Build bot, then, ideally, the previous build can be
> > > ported to the new infrastructure.
> > >
> > > Ideally, this shouldn't have to be a clean room reinvention of the
> wheel
> > if
> > > it were deigned to be something that the group still wanted to have
> > > supported.
> > >
> > > But, I don't know.
> > >
> > > Regards.
> > >
> >
>
>
> --
> Carl J. Mosca
>


Re: Installers

2018-08-15 Thread Carl Mosca
This is good news.  Somehow I got the impression that this code was not
available due to IP and/or license issues.

Thank you Gj.

On Wed, Aug 15, 2018 at 10:39 AM Geertjan Wielenga
 wrote:

> On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung 
> wrote:
>
> >
> > That said, looking at the git zip download, there's most certainly
> evidence
> > of the ability to create the Mac installers, which was kind of my base
> > puzzle. These existed before, where's the scripts to build it? The actual
> > build scripts I can't find, I don't know if they are on/lost with the
> > Hudson server (I can't seem to connect to the one linked at the nb.org
> > page). All of the hudson.* directories seem to relate to NetBeans hudson
> > support, not the build.
> >
>
>
> That's a good point.
>
> Installers were always created for NetBeans releases, including DMG
> installers.
>
> Looking in the hg repo at Oracle, this is where the related scripts and so
> on are found:
>
> http://hg.netbeans.org/releases/file/tip/installer
>
> These have not yet been included in the donation process, since we have
> been focusing on clusters (e.g., the 'java' cluster, the 'php' cluster,
> etc) and this 'installer' folder falls outside the clusters.
>
> So, we will work on including the installer folder from the hg repo into
> the donation that we're currently working on, i.e., the 3rd donation.
>
> Apologies for not thinking about this earlier -- i.e., we've had the
> solution all along and simply not yet included them in the donation.
>
> Can those knowledgeable in this area take a look at the above folder -- it
> includes everything needed AFAIK for installers for Windows, Linux, and
> Mac.
>
> Thanks,
>
> Gj
>
>
>
>
> >
> > Finally, the Apache infrastructure has a build bot running on a Mac Mini.
> > If the original build scripts can be found, and the proper permissions
> > acquired on the Mac Build bot, then, ideally, the previous build can be
> > ported to the new infrastructure.
> >
> > Ideally, this shouldn't have to be a clean room reinvention of the wheel
> if
> > it were deigned to be something that the group still wanted to have
> > supported.
> >
> > But, I don't know.
> >
> > Regards.
> >
>


-- 
Carl J. Mosca


Re: Installers

2018-08-15 Thread Geertjan Wielenga
On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung  wrote:

>
> That said, looking at the git zip download, there's most certainly evidence
> of the ability to create the Mac installers, which was kind of my base
> puzzle. These existed before, where's the scripts to build it? The actual
> build scripts I can't find, I don't know if they are on/lost with the
> Hudson server (I can't seem to connect to the one linked at the nb.org
> page). All of the hudson.* directories seem to relate to NetBeans hudson
> support, not the build.
>


That's a good point.

Installers were always created for NetBeans releases, including DMG
installers.

Looking in the hg repo at Oracle, this is where the related scripts and so
on are found:

http://hg.netbeans.org/releases/file/tip/installer

These have not yet been included in the donation process, since we have
been focusing on clusters (e.g., the 'java' cluster, the 'php' cluster,
etc) and this 'installer' folder falls outside the clusters.

So, we will work on including the installer folder from the hg repo into
the donation that we're currently working on, i.e., the 3rd donation.

Apologies for not thinking about this earlier -- i.e., we've had the
solution all along and simply not yet included them in the donation.

Can those knowledgeable in this area take a look at the above folder -- it
includes everything needed AFAIK for installers for Windows, Linux, and Mac.

Thanks,

Gj




>
> Finally, the Apache infrastructure has a build bot running on a Mac Mini.
> If the original build scripts can be found, and the proper permissions
> acquired on the Mac Build bot, then, ideally, the previous build can be
> ported to the new infrastructure.
>
> Ideally, this shouldn't have to be a clean room reinvention of the wheel if
> it were deigned to be something that the group still wanted to have
> supported.
>
> But, I don't know.
>
> Regards.
>


Re: Installers

2018-08-15 Thread Geertjan Wielenga
On Wed, Aug 15, 2018 at 5:46 AM, Will Hartung  wrote:

> On Tue, Aug 14, 2018 at 3:40 PM, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com.invalid> wrote:
>
> >
> > Excellent. So, where is your DMG solution, please?
> >
> > Can you stop sending e-mails for the moment and create the solution that
> > you're missing? Yes, maybe you don't know how to do that, though maybe
> you
> > can invest the time that you would have spent in replying to this in
> > learning how to do what it is that you believe should be done?
> >
>
> Apparently you're only allowed to contribute to this list if you have a
> pull request pending.
>


Well, that would be the very least to expect when you dismiss the existing
solutions as "these techniques are both, simply, terrible". :-)

Gj




>
> That's fine.
>
> But, before I go, it's was not even clear there was consensus on what to
> do, what was desired, and was positing potential alternatives. For all I
> know, folks would rather have a MacPorts or Homebrew solution and tell the
> MacOs users "Let them eat bash scripts!".
>
> That said, looking at the git zip download, there's most certainly evidence
> of the ability to create the Mac installers, which was kind of my base
> puzzle. These existed before, where's the scripts to build it? The actual
> build scripts I can't find, I don't know if they are on/lost with the
> Hudson server (I can't seem to connect to the one linked at the nb.org
> page). All of the hudson.* directories seem to relate to NetBeans hudson
> support, not the build.
>
> Finally, the Apache infrastructure has a build bot running on a Mac Mini.
> If the original build scripts can be found, and the proper permissions
> acquired on the Mac Build bot, then, ideally, the previous build can be
> ported to the new infrastructure.
>
> Ideally, this shouldn't have to be a clean room reinvention of the wheel if
> it were deigned to be something that the group still wanted to have
> supported.
>
> But, I don't know.
>
> Regards.
>


Re: Installers

2018-08-14 Thread Will Hartung
On Tue, Aug 14, 2018 at 3:40 PM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com.invalid> wrote:

>
> Excellent. So, where is your DMG solution, please?
>
> Can you stop sending e-mails for the moment and create the solution that
> you're missing? Yes, maybe you don't know how to do that, though maybe you
> can invest the time that you would have spent in replying to this in
> learning how to do what it is that you believe should be done?
>

Apparently you're only allowed to contribute to this list if you have a
pull request pending.

That's fine.

But, before I go, it's was not even clear there was consensus on what to
do, what was desired, and was positing potential alternatives. For all I
know, folks would rather have a MacPorts or Homebrew solution and tell the
MacOs users "Let them eat bash scripts!".

That said, looking at the git zip download, there's most certainly evidence
of the ability to create the Mac installers, which was kind of my base
puzzle. These existed before, where's the scripts to build it? The actual
build scripts I can't find, I don't know if they are on/lost with the
Hudson server (I can't seem to connect to the one linked at the nb.org
page). All of the hudson.* directories seem to relate to NetBeans hudson
support, not the build.

Finally, the Apache infrastructure has a build bot running on a Mac Mini.
If the original build scripts can be found, and the proper permissions
acquired on the Mac Build bot, then, ideally, the previous build can be
ported to the new infrastructure.

Ideally, this shouldn't have to be a clean room reinvention of the wheel if
it were deigned to be something that the group still wanted to have
supported.

But, I don't know.

Regards.


Re: Installers

2018-08-14 Thread Carl Mosca
I have modified the creation of the pkg file in the fork I created here:
https://github.com/carljmosca/incubator-netbeans

Checkout the package-macos branch, run "ant package-macos"

The "NetBeans 9.pkg" file should be in the nbbuild/MacOS directory if the
build succeeds.

Previously, I was using the dmg format (without putting a pkg in the dmg as
I believe was done in the 8.2 release).

I thank Tim for his feedback, along with all the other opinions.

I don't think this is close to being "done" (I like Tim's idea of making a
pkg less platform specific) and I think the generation of the package needs
to attention (variables, generation of files, locations come to mind).

But I would appreciate feedback as time and interest permits.

This has been, at least for me, a positive conversation and a nice way to
get a bit more familiar with what goes into making NetBeans my favorite
Java IDE (for some years).

Carl

On Tue, Aug 14, 2018 at 10:13 PM Scott Palmer  wrote:

> In the spirit of sharing various macOS install methods, I give you my
> “GetNetBeans” script:
>
> https://gist.github.com/swpalmer/1390e7bdb9054f327bdc7d8fb8692c51 <
> https://gist.github.com/swpalmer/1390e7bdb9054f327bdc7d8fb8692c51>
>
>
> Run it on macOS and magically you will have a NetBeans 9.0 application
> bundle.
>
> It should download from the recommended mirror, create the application
> bundle, put the original .zip in the trash and open a Finder window so you
> can drag the app bundle where you wish.
>
> Only tested on my system, and it has no error checking whatsoever.
>
> Regards,
>
> Scott
>
> > On Aug 14, 2018, at 9:20 PM, David Green  wrote:
> >
> > On 14 Aug 2018, at 17:40, Geertjan Wielenga wrote:
> >
> >> where is your DMG solution?
> >
> > Hi.  As another one watching from the sidelines, I offer a piece of the
> puzzle (or a bandaid)...
> >
> > https://github.com/dgreen/nb9dmg
> >
> > which will make a DMG if you already have a
> /Applications/NetBeans/NetBeans 9.app install (like is done by Carlos
> Mosca's netbeans-mac-os tool on github).
> >
> > Note that the DMG will provide Drag & Drop into /Applications/NetBeans
> 9.app not /Applications/NetBeans/NetBeans 9.app
> >
> > There is also a dependency (via dmgbuild of the MacOS program hdiutil).
> >
> > It works for me but that is very limited testing.
> >
> > Regards,
> >
> > Dave Green
>
>

-- 
Carl J. Mosca


Re: Installers

2018-08-14 Thread Tim Boudreau
I'm missing something here - there is nothing even difficult about building
a.pkg - the format is well documented and all doable with command line
tools that can be automated with any build tool. It's not rocket science.

Why the assumption that we can't possibly do an installer?

Apache having a bad rep for desktop software isn't an excuse - it's not
like we have to make things crappier to fit in.

-Tim

On Tue, Aug 14, 2018 at 4:23 PM Will Hartung  wrote:

> On Tue, Aug 14, 2018 at 1:04 PM, Tim Boudreau  wrote:
>
> > If anyone shows up on the mailing list complaining about performance, we
> > > can tell them to get rid of the image and copy the bundle over.
> > >
> > 99.9% of people who have that experience will NOT show up onn the mailing
> > list here. They'll simply use something else - perhaps blogging about the
> > experience, or writing something on social media, or telling friends
> "don't
> > use NetBeans".
>
>
> I was just thinking about this, and, while there may be others, Apache
> isn't that well known for it's "desktop" software.
>
> However, there's Apache DS Studio.
>
> Here's a link to their download page.
>
> https://directory.apache.org/studio/download/download-macosx.html
>
> I mentioned this simply to show that others are doing it within the Apache
> eco-system, so we should be able to also.
>
> I don't know if this is enough to mitigate the performance problems of not
> using an installer.
>
-- 
http://timboudreau.com


Re: Installers

2018-08-14 Thread Scott Palmer
In the spirit of sharing various macOS install methods, I give you my 
“GetNetBeans” script:

https://gist.github.com/swpalmer/1390e7bdb9054f327bdc7d8fb8692c51 



Run it on macOS and magically you will have a NetBeans 9.0 application bundle.

It should download from the recommended mirror, create the application bundle, 
put the original .zip in the trash and open a Finder window so you can drag the 
app bundle where you wish.

Only tested on my system, and it has no error checking whatsoever.

Regards,

Scott

> On Aug 14, 2018, at 9:20 PM, David Green  wrote:
> 
> On 14 Aug 2018, at 17:40, Geertjan Wielenga wrote:
> 
>> where is your DMG solution?
> 
> Hi.  As another one watching from the sidelines, I offer a piece of the 
> puzzle (or a bandaid)...
> 
> https://github.com/dgreen/nb9dmg
> 
> which will make a DMG if you already have a /Applications/NetBeans/NetBeans 
> 9.app install (like is done by Carlos Mosca's netbeans-mac-os tool on github).
> 
> Note that the DMG will provide Drag & Drop into /Applications/NetBeans 9.app 
> not /Applications/NetBeans/NetBeans 9.app
> 
> There is also a dependency (via dmgbuild of the MacOS program hdiutil).
> 
> It works for me but that is very limited testing.
> 
> Regards,
> 
> Dave Green



Re: Installers

2018-08-14 Thread David Green

On 14 Aug 2018, at 17:40, Geertjan Wielenga wrote:


where is your DMG solution?


Hi.  As another one watching from the sidelines, I offer a piece of the 
puzzle (or a bandaid)...


https://github.com/dgreen/nb9dmg

which will make a DMG if you already have a 
/Applications/NetBeans/NetBeans 9.app install (like is done by Carlos 
Mosca's netbeans-mac-os tool on github).


Note that the DMG will provide Drag & Drop into /Applications/NetBeans 
9.app not /Applications/NetBeans/NetBeans 9.app


There is also a dependency (via dmgbuild of the MacOS program hdiutil).

It works for me but that is very limited testing.

Regards,

Dave Green



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-14 Thread Raul Cosio
Hi everyone, first of all, thank you guys for this effort to continue
improving Netbeans. I've been following this mail list for a while, because
I wish I could contribute to the project, but it's not been easy and I'm
still learning, maybe someday... :)

I just wanted to express my point of view about the recent question of why
its so difficult for users to extract an app file from a zip after the idea
of putting Netbeans for Mac on the App store (which I thing is a great
idea). Well, I can tell that I didn't know that. I have programmed with
Java since version 0.9, and I still feel like a newbie because today there
are so many components and utilities, that sometimes I feel I'm spending my
time learning how to use a tool instead of working on my projects. I just
compiled Netbeans from the sources, and still I wish I had an installer,
because even when I have the app, I'm not sure that I'm using the "official
version" if there is one, and I don't look myself spending 40 minutes
compiling each time a new version is released. I have also watched the
videos from Geertjan Wielenga which I think are great, but I still don't
like the idea of running Netbeans from a Download folder and having all the
time a terminal window showing log messages.

The first computer I used was a Macintosh 512KB, I used to like Macs, they
were impressive, with its graphical user interface, mouse, windows, menus,
it was very easy to learn to use a computer, everything was intuitive,
there was not a command screen, it was not needed. And now?, well maybe I
hate them, because its all the opposite of what they were.

I think power users have walked the road many times that its transparent
for them, but for a user like me? well, it's a .zip file, a black box, I
don't know what's inside, until I unpack the file, which maybe is going to
create hundreds of files, which one is the correct?, so maybe I'll find the
readme where it describes an installation procedure or maybe not, and if it
does, I'm going to read about which version of Java is supported and system
requirements. What is my Java version?, so next I need to open a terminal
and type "java" to find out, by the way, do I need a JAVA_HOME environment
variable just like Windows? Is my PATH environment variable pointing to the
Java installation?, If I have multiple versions of Java installed, which
one will be used by Netbeans?, and let's say that I end opening the correct
application, I don't feel confortable with that, its like working with a
prototype. To move app to the Applications folder, will I need to copy all
the folders tree? I don't want to look it like a garbage of folders, maybe
installing a just a link?, how do I make a link?. Maybe I copy the app into
the applications folder but, what will it happen then? will everything be
saved in the applications folder? It will look ugly.
Of course each of these questions has an answer, but I need to investigate
one by one until I start to know Netbeans, however, will that be the road
I'll have to walk each time a new version is released? If I overwrite the
Netbeans folder, will I transparently upgrade to the new version?, in the
long term, will I end with hundreds of files/folders that are not used
anymore?, and what about the plugins I have currently installed and
working?. By the way, how many directories does Netbeans use?.
At the end, I like Netbeans but I really don't care about details, I just
want to spend 2 hours working on my own projects, not learning how to use
the IDE, I wish I had an installer, where I just click on it, upgrade my
version and continue with my stuff... what about Netbeans on the App Store?
just install, and let the app store upgrade it, period. There is a point
where I prefer an installer make the decisions for me instead of me having
to control everything when I'm not an expert, its like buying a new car in
a big box with all its parts, and an easy manual that shows me how to build
that car before using it.

The reason I've been using Netbeans over other IDEs is: Easy to install,
easy to upgrade and easy to use... +1 to following that direction :)

Regards,


On Mon, Aug 13, 2018 at 7:11 AM Neil C Smith  wrote:

> On Mon, 13 Aug 2018 at 12:42, Brett Ryan  wrote:
> > > On 13 Aug 2018, at 19:22, Neil C Smith  wrote:
> > > I admit to using my mac as little as possible for testing purposes,
> > > but I really don't get why a zipped up application bundle is seen as
> > > unfriendly for macOS users?
> >
> > Power users aside, it’s unfriendly for users of any OS. My test team
> team are a good example of people that want a one click setup, my devs just
> want to develop without needing to fiddle with a tool chain.
>
> Are we talking about the same thing here!?  Double-click netbeans.zip
> to extract, double-click netbeans.app to run.
>
> Best wishes,
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For 

Re: Installers

2018-08-14 Thread Carl Mosca
I have gotten pushback on occasion when I ask Java developers who invented
Java as an early on interview question. One does not have to know this to
be a good developer but I do like to consider the source when I read an
opinion. 

On Tue, Aug 14, 2018 at 7:27 PM Brett Ryan  wrote:

>
>
> On 15 Aug 2018, at 09:21, James Gosling  wrote:
>
> >> On Aug 14, 2018, at 4:13 PM, Brett Ryan  wrote:
> >>
> >>  That was a little tongue in cheek, but I do get called a dino at
> work from the young ones ‘cos I’m an nb advocate, trying to sway them.
> >
> > I get the same reaction at work….  From people who use Vi and Emacs.  I
> have a hard time believing how entrenched the “REAL engineers use Vi” cult
> is.  There’s something about editors from the 70s that really pumps up the
> testosterone.
>
> Don’t dis vi, I am a vi guy. It’s still the easiest tool for mass changes,
> and the various visual modes in vim (CTRL+V) are awesome.
>
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> > For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> --
Carl J. Mosca


Re: Installers

2018-08-14 Thread Brett Ryan



On 15 Aug 2018, at 09:21, James Gosling  wrote:

>> On Aug 14, 2018, at 4:13 PM, Brett Ryan  wrote:
>> 
>>  That was a little tongue in cheek, but I do get called a dino at work 
>> from the young ones ‘cos I’m an nb advocate, trying to sway them.
> 
> I get the same reaction at work….  From people who use Vi and Emacs.  I have 
> a hard time believing how entrenched the “REAL engineers use Vi” cult is.  
> There’s something about editors from the 70s that really pumps up the 
> testosterone.

Don’t dis vi, I am a vi guy. It’s still the easiest tool for mass changes, and 
the various visual modes in vim (CTRL+V) are awesome.

> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-14 Thread James Gosling
> On Aug 14, 2018, at 4:13 PM, Brett Ryan  wrote:
> 
>  That was a little tongue in cheek, but I do get called a dino at work 
> from the young ones ‘cos I’m an nb advocate, trying to sway them.

I get the same reaction at work….  From people who use Vi and Emacs.  I have a 
hard time believing how entrenched the “REAL engineers use Vi” cult is.  
There’s something about editors from the 70s that really pumps up the 
testosterone.
-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-14 Thread Brett Ryan



> On 15 Aug 2018, at 06:04, Tim Boudreau  wrote:
> 
> If anyone shows up on the mailing list complaining about performance, we
>> can tell them to get rid of the image and copy the bundle over.
>> 
> 99.9% of people who have that experience will NOT show up onn the mailing
> list here. They'll simply use something else - perhaps blogging about the
> experience, or writing something on social media, or telling friends "don't
> use NetBeans".

Because other software provides better installers? That was a little tongue in 
cheek, but I do get called a dino at work from the young ones ‘cos I’m an nb 
advocate, trying to sway them.

> -Tim
> 
> -- 
> http://timboudreau.com

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-14 Thread Geertjan Wielenga
On Tue, Aug 14, 2018 at 10:23 PM, Will Hartung 
wrote:

> On Tue, Aug 14, 2018 at 1:04 PM, Tim Boudreau  wrote:
>
> > If anyone shows up on the mailing list complaining about performance, we
> > > can tell them to get rid of the image and copy the bundle over.
> > >
> > 99.9% of people who have that experience will NOT show up onn the mailing
> > list here. They'll simply use something else - perhaps blogging about the
> > experience, or writing something on social media, or telling friends
> "don't
> > use NetBeans".
>
>
> I was just thinking about this, and, while there may be others, Apache
> isn't that well known for it's "desktop" software.
>
> However, there's Apache DS Studio.
>
> Here's a link to their download page.
>
> https://directory.apache.org/studio/download/download-macosx.html
>
> I mentioned this simply to show that others are doing it within the Apache
> eco-system, so we should be able to also.
>
>

And here's how you can subscribe to their dev mailing list to ask how they
did it and how you can do it too to create the solution you're missing in
Apache NetBeans: dev-subscr...@directory.apache.org

As soon as you've done it and have a working solution, I'll be very happy
to make a nice YouTube clip to explain how to use it.

It will be a great addition to the Apache NetBeans project and I really
encourage you (or anyone else missing a DMG solution) to pursue this path.

Thanks,

Gj




> I don't know if this is enough to mitigate the performance problems of not
> using an installer.
>


Re: Installers

2018-08-14 Thread Geertjan Wielenga
On Tue, Aug 14, 2018 at 9:03 PM, Will Hartung  wrote:

> On Tue, Aug 14, 2018 at 3:14 AM, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com.invalid> wrote:
>
> > I created two YouTube clips during the past few hours that show the
> > ZIP-based and Mac Installer-based approaches to installing Apache
> NetBeans:
> >
> > https://www.youtube.com/watch?v=am-7aa2hYgc
> >
> > https://www.youtube.com/watch?v=I8gdC7BBtbs
> >
>
> Thanks for these.
>
> As a Mac user, and, especially compared to using a DMG or a DMG with an
> installer, these techniques are both, simply, terrible.
>
> Functional, they "get it done", but terrible.
>
>

Excellent. So, where is your DMG solution, please?

Can you stop sending e-mails for the moment and create the solution that
you're missing? Yes, maybe you don't know how to do that, though maybe you
can invest the time that you would have spent in replying to this in
learning how to do what it is that you believe should be done?

Thanks,

Gj








> The second example with the Mac OS bundle is a nice "how to", but that
> shouldn't be a "sanctioned" mechanism for random Mac users to download and
> install NetBeans.
>
> Having a shell based launcher that leaves a terminal window sitting around
> with logs spamming, isn't really an ideal solution.
>
> This would be much less of a big deal if NetBeans didn't offer a Mac
> install experience before, with the DMG and the Installer.
>
> A DMG with a Drag and Drop bundle would be a fine halfway step which should
> be doable on a non-mac system (i.e. a linux system).
>
> If anyone shows up on the mailing list complaining about performance, we
> can tell them to get rid of the image and copy the bundle over.
>


Re: Installers

2018-08-14 Thread Gail Anderson
+1 for having a user-friendly installer for Mac users.

Really, one of NB’s strongest points was how easy it is to 
install/configure/use.

> On Aug 14, 2018, at 1:23 PM, Will Hartung  wrote:
> 
> On Tue, Aug 14, 2018 at 1:04 PM, Tim Boudreau  wrote:
> 
>> If anyone shows up on the mailing list complaining about performance, we
>>> can tell them to get rid of the image and copy the bundle over.
>>> 
>> 99.9% of people who have that experience will NOT show up onn the mailing
>> list here. They'll simply use something else - perhaps blogging about the
>> experience, or writing something on social media, or telling friends "don't
>> use NetBeans".
> 
> 
> I was just thinking about this, and, while there may be others, Apache
> isn't that well known for it's "desktop" software.
> 
> However, there's Apache DS Studio.
> 
> Here's a link to their download page.
> 
> https://directory.apache.org/studio/download/download-macosx.html
> 
> I mentioned this simply to show that others are doing it within the Apache
> eco-system, so we should be able to also.
> 
> I don't know if this is enough to mitigate the performance problems of not
> using an installer.



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-14 Thread Will Hartung
On Tue, Aug 14, 2018 at 1:04 PM, Tim Boudreau  wrote:

> If anyone shows up on the mailing list complaining about performance, we
> > can tell them to get rid of the image and copy the bundle over.
> >
> 99.9% of people who have that experience will NOT show up onn the mailing
> list here. They'll simply use something else - perhaps blogging about the
> experience, or writing something on social media, or telling friends "don't
> use NetBeans".


I was just thinking about this, and, while there may be others, Apache
isn't that well known for it's "desktop" software.

However, there's Apache DS Studio.

Here's a link to their download page.

https://directory.apache.org/studio/download/download-macosx.html

I mentioned this simply to show that others are doing it within the Apache
eco-system, so we should be able to also.

I don't know if this is enough to mitigate the performance problems of not
using an installer.


Re: Installers

2018-08-14 Thread Tim Boudreau
If anyone shows up on the mailing list complaining about performance, we
> can tell them to get rid of the image and copy the bundle over.
>
99.9% of people who have that experience will NOT show up onn the mailing
list here. They'll simply use something else - perhaps blogging about the
experience, or writing something on social media, or telling friends "don't
use NetBeans".

-Tim

-- 
http://timboudreau.com


Re: Installers

2018-08-14 Thread Will Hartung
On Tue, Aug 14, 2018 at 3:14 AM, Geertjan Wielenga <
geertjan.wiele...@googlemail.com.invalid> wrote:

> I created two YouTube clips during the past few hours that show the
> ZIP-based and Mac Installer-based approaches to installing Apache NetBeans:
>
> https://www.youtube.com/watch?v=am-7aa2hYgc
>
> https://www.youtube.com/watch?v=I8gdC7BBtbs
>

Thanks for these.

As a Mac user, and, especially compared to using a DMG or a DMG with an
installer, these techniques are both, simply, terrible.

Functional, they "get it done", but terrible.

The second example with the Mac OS bundle is a nice "how to", but that
shouldn't be a "sanctioned" mechanism for random Mac users to download and
install NetBeans.

Having a shell based launcher that leaves a terminal window sitting around
with logs spamming, isn't really an ideal solution.

This would be much less of a big deal if NetBeans didn't offer a Mac
install experience before, with the DMG and the Installer.

A DMG with a Drag and Drop bundle would be a fine halfway step which should
be doable on a non-mac system (i.e. a linux system).

If anyone shows up on the mailing list complaining about performance, we
can tell them to get rid of the image and copy the bundle over.


Re: Installers

2018-08-14 Thread Brett Ryan



> On 14 Aug 2018, at 20:14, Geertjan Wielenga 
>  wrote:
> 
> I created two YouTube clips during the past few hours that show the
> ZIP-based and Mac Installer-based approaches to installing Apache NetBeans:
> 
> https://www.youtube.com/watch?v=am-7aa2hYgc
> 
> https://www.youtube.com/watch?v=I8gdC7BBtbs
> 
> Each takes less than 5 minutes, comments welcome.

Nice Gj, this is great for power users, but NetBeans IDE has always targeted 
non-power users, testing teams love it, DBA’s love it, web devs love it, as we 
say; we’re not just targeting java devs.

In my workplace the competition is IntelliJ, mostly because scala is widely 
used in BigData, and unfortunately we’re lacking in that space. If you take a 
look at the IntelliJ installer it’s actually pretty slick, you install from 
DMG, then you launch and it asks you what type of development you’re going to 
do (java, scala, ...). Interesting to note is the same thing for python 
(pyCharm) is a seperate product.

I’m not an advocate of IntelliJ, while it installs and looks slick it is IMHO 
horrible.

I think we need to look at our competition.

> Gj
> 
> 
> 
> On Tue, Aug 14, 2018 at 11:12 AM, Neil C Smith 
> wrote:
> 
>>> On Mon, 13 Aug 2018 at 22:03, Will Hartung  wrote:
>>> 
>>> A DMG file is, effectively, a Mountable ZIP file. The "typical" Mac
>>> Installation process is to open the DMG file, a window appears with the
>>> Application bundle and a link to the Applications directory, and a big
>>> arrow, essentially telling you to drag the App in to the Applications
>>> folder.
>>> 
>>> That's a "mac install". That's a "friendly" mac install. Digging stuff
>> out
>>> of zip files is not as "mac friendly".
>>> 
>>> Tim's point of moving to an Installer to essentially "force" folks to
>>> actually drag the app off of the DMG is interesting, and, honestly, not
>>> surprising.
>> 
>> I'm glad you put "friendly" in quotation marks there! ;-)  I
>> understand technically what's going on.  I'm trying to work out why
>> anyone thinks that's user-friendly.  By the time I read the need for
>> Tim's workaround there my palm is getting seriously close to my face.
>> Did you read the article I linked to earlier?  I found that when
>> deciding which approach to use for my own app bundle.  And, while it
>> might be less common, shipping app bundles in a zip is not completely
>> unknown and you'll find quite a few people advocating for it.  Still,
>> the UI studies quoted from Firefox aside, they ship it in a DMG!
>> 
>> i asked mainly because a zipped app bundle seems to be the easiest
>> option to create here, without the can-be-run-from-dmg downside.  I'm
>> definitely happy sticking with zip for my own usage right now!
>> However, not going to say any more on this as it's not my main
>> platform.  I would, mind you, love to ditch the installers on every
>> platform!
>> 
>> Best wishes,
>> 
>> Neil
>> 
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 
>> 
>> 
>> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-14 Thread Brett Ryan



> On 13 Aug 2018, at 22:11, Neil C Smith  wrote:
> 
> On Mon, 13 Aug 2018 at 12:42, Brett Ryan  wrote:
>>> On 13 Aug 2018, at 19:22, Neil C Smith  wrote:
>>> I admit to using my mac as little as possible for testing purposes,
>>> but I really don't get why a zipped up application bundle is seen as
>>> unfriendly for macOS users?
>> 
>> Power users aside, it’s unfriendly for users of any OS. My test team team 
>> are a good example of people that want a one click setup, my devs just want 
>> to develop without needing to fiddle with a tool chain.
> 
> Are we talking about the same thing here!?  Double-click netbeans.zip
> to extract, double-click netbeans.app to run.

Actually, I did overlook this. I think that’s fine.

The thing I’m questioning though is I still think we need an installer when we 
do JEE, as it needs to install tomcat/glassfish (user ticks), then configures 
the IDE and container with user provided port settings.

> Best wishes,
> 
> Neil
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-14 Thread Geertjan Wielenga
I created two YouTube clips during the past few hours that show the
ZIP-based and Mac Installer-based approaches to installing Apache NetBeans:

https://www.youtube.com/watch?v=am-7aa2hYgc

https://www.youtube.com/watch?v=I8gdC7BBtbs

Each takes less than 5 minutes, comments welcome.

Gj



On Tue, Aug 14, 2018 at 11:12 AM, Neil C Smith 
wrote:

> On Mon, 13 Aug 2018 at 22:03, Will Hartung  wrote:
> >
> > A DMG file is, effectively, a Mountable ZIP file. The "typical" Mac
> > Installation process is to open the DMG file, a window appears with the
> > Application bundle and a link to the Applications directory, and a big
> > arrow, essentially telling you to drag the App in to the Applications
> > folder.
> >
> > That's a "mac install". That's a "friendly" mac install. Digging stuff
> out
> > of zip files is not as "mac friendly".
> >
> > Tim's point of moving to an Installer to essentially "force" folks to
> > actually drag the app off of the DMG is interesting, and, honestly, not
> > surprising.
>
> I'm glad you put "friendly" in quotation marks there! ;-)  I
> understand technically what's going on.  I'm trying to work out why
> anyone thinks that's user-friendly.  By the time I read the need for
> Tim's workaround there my palm is getting seriously close to my face.
> Did you read the article I linked to earlier?  I found that when
> deciding which approach to use for my own app bundle.  And, while it
> might be less common, shipping app bundles in a zip is not completely
> unknown and you'll find quite a few people advocating for it.  Still,
> the UI studies quoted from Firefox aside, they ship it in a DMG!
>
> i asked mainly because a zipped app bundle seems to be the easiest
> option to create here, without the can-be-run-from-dmg downside.  I'm
> definitely happy sticking with zip for my own usage right now!
> However, not going to say any more on this as it's not my main
> platform.  I would, mind you, love to ditch the installers on every
> platform!
>
> Best wishes,
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Installers

2018-08-14 Thread Neil C Smith
On Mon, 13 Aug 2018 at 22:03, Will Hartung  wrote:
>
> A DMG file is, effectively, a Mountable ZIP file. The "typical" Mac
> Installation process is to open the DMG file, a window appears with the
> Application bundle and a link to the Applications directory, and a big
> arrow, essentially telling you to drag the App in to the Applications
> folder.
>
> That's a "mac install". That's a "friendly" mac install. Digging stuff out
> of zip files is not as "mac friendly".
>
> Tim's point of moving to an Installer to essentially "force" folks to
> actually drag the app off of the DMG is interesting, and, honestly, not
> surprising.

I'm glad you put "friendly" in quotation marks there! ;-)  I
understand technically what's going on.  I'm trying to work out why
anyone thinks that's user-friendly.  By the time I read the need for
Tim's workaround there my palm is getting seriously close to my face.
Did you read the article I linked to earlier?  I found that when
deciding which approach to use for my own app bundle.  And, while it
might be less common, shipping app bundles in a zip is not completely
unknown and you'll find quite a few people advocating for it.  Still,
the UI studies quoted from Firefox aside, they ship it in a DMG!

i asked mainly because a zipped app bundle seems to be the easiest
option to create here, without the can-be-run-from-dmg downside.  I'm
definitely happy sticking with zip for my own usage right now!
However, not going to say any more on this as it's not my main
platform.  I would, mind you, love to ditch the installers on every
platform!

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-13 Thread Will Hartung
A DMG file is, effectively, a Mountable ZIP file. The "typical" Mac
Installation process is to open the DMG file, a window appears with the
Application bundle and a link to the Applications directory, and a big
arrow, essentially telling you to drag the App in to the Applications
folder.

That's a "mac install". That's a "friendly" mac install. Digging stuff out
of zip files is not as "mac friendly".

Tim's point of moving to an Installer to essentially "force" folks to
actually drag the app off of the DMG is interesting, and, honestly, not
surprising.

Because I know I've launched apps off of the DMG. Sometimes, I have just
left them there. And I can certainly appreciate how it's a problem for
something like NetBeans. NetBeans is almost 6000 files (!!), that's a lot
of random seeking against a compressed stream in contrast to maybe a linked
executable loading it a swarm of shared libraries from the OS. No wonder
it's slow.

The Installer never bothered me, I like the current installer. My only
concern was that it needed admin rights. Not that I don't trust it, I just
don't like apps that need admin rights - mostly because it acclimates users
to just hit "OK" for every program install, which just leads to trouble.


Re: Installers

2018-08-13 Thread Neil C Smith
On Mon, 13 Aug 2018 at 12:42, Brett Ryan  wrote:
> > On 13 Aug 2018, at 19:22, Neil C Smith  wrote:
> > I admit to using my mac as little as possible for testing purposes,
> > but I really don't get why a zipped up application bundle is seen as
> > unfriendly for macOS users?
>
> Power users aside, it’s unfriendly for users of any OS. My test team team are 
> a good example of people that want a one click setup, my devs just want to 
> develop without needing to fiddle with a tool chain.

Are we talking about the same thing here!?  Double-click netbeans.zip
to extract, double-click netbeans.app to run.

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-13 Thread Brett Ryan



> On 13 Aug 2018, at 19:22, Neil C Smith  wrote:
> 
>> On Mon, 13 Aug 2018 at 01:59, Tim Boudreau  wrote:
>> 
>> That's not a great user experience for Mac OSX users - it kind of
>> telegraphs "we don't actually care about Mac OSX users".
>> 
> 
> I admit to using my mac as little as possible for testing purposes,
> but I really don't get why a zipped up application bundle is seen as
> unfriendly for macOS users?

Power users aside, it’s unfriendly for users of any OS. My test team team are a 
good example of people that want a one click setup, my devs just want to 
develop without needing to fiddle with a tool chain. And; we work with hadoop, 
we know pain.

> I'm inclined towards the views expressed
> in https://daringfireball.net/2009/09/how_should_mac_apps_be_distributed
> Maybe I'm biased by my love of RiscOS, but isn't the whole point of a
> self-contained application bundle that you just drag it where you want
> it?  I do understand why the current zip download isn't optimal for
> any OS yet.
> 
> 
>> On Mon, 13 Aug 2018 at 06:18, Ryan Cuprak  wrote:
>> 
>> With the Mac installer, is the plan to include OpenJDK so that the IDE runs 
>> without any additional setup work?
> 
> I think this would require a change in Apache policy towards
> distribution of system dependencies?  Something I really hope we see
> in a world moving away from centralized JDKs!
> 
> Best wishes,
> 
> Neil
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-13 Thread Neil C Smith
On Mon, 13 Aug 2018 at 01:59, Tim Boudreau  wrote:
>
> That's not a great user experience for Mac OSX users - it kind of
> telegraphs "we don't actually care about Mac OSX users".
>

I admit to using my mac as little as possible for testing purposes,
but I really don't get why a zipped up application bundle is seen as
unfriendly for macOS users?  I'm inclined towards the views expressed
in https://daringfireball.net/2009/09/how_should_mac_apps_be_distributed
 Maybe I'm biased by my love of RiscOS, but isn't the whole point of a
self-contained application bundle that you just drag it where you want
it?  I do understand why the current zip download isn't optimal for
any OS yet.


On Mon, 13 Aug 2018 at 06:18, Ryan Cuprak  wrote:
>
> With the Mac installer, is the plan to include OpenJDK so that the IDE runs 
> without any additional setup work?

I think this would require a change in Apache policy towards
distribution of system dependencies?  Something I really hope we see
in a world moving away from centralized JDKs!

Best wishes,

Neil

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-12 Thread Ryan Cuprak
Just out of curiosity, what about distributing NetBeans via the Apple App 
Store? That of course is an issue post-installer creation. Most apps I install 
I get from the App Store - prefer the app store for a variety of reasons. 

To do this, we would need an Apple Developer account owned by Apache. You have 
to provide some documentation to Apple to prove that you are a legitimate 
entity - something only someone at Apache could do. 

With the Mac installer, is the plan to include OpenJDK so that the IDE runs 
without any additional setup work?

-Ryan


> On Aug 12, 2018, at 9:21 PM, Carl Mosca  wrote:
> 
> Thank you Tim.  I have been looking at the MacOS pkgbuild to do the build.
> I have not looking into making it portable yet but if that can work, it's
> certainly the way to go.
> 
> The first (non-pkg) version I did ran OK but I believe there is a
> permission (ownership) issue with the current version.
> 
> Carl
> 
> On Sun, Aug 12, 2018 at 8:59 PM Tim Boudreau  wrote:
> 
>> On Sun, Aug 12, 2018 at 4:27 PM Scott Palmer  wrote:
>> 
>>> Really?  Wow.  Okay, another option (still preferable to a .pkg IMO)  is
>>> to simply distribute the application bundle in zipped form.  That has the
>>> advantage that you also don’t need a Mac to create it.  In most cases
>>> Safari would automatically extract it and leave the application sitting
>> in
>>> your Downloads folder.
>> 
>> 
>> That's not a great user experience for Mac OSX users - it kind of
>> telegraphs "we don't actually care about Mac OSX users".
>> 
>> Back in 2004-5, I wrote the first Ant-based stuff to generate a PKG for
>> NetBeans - it wasn't too hard. At the time I dug a little bit into making
>> that build truly cross platform. Think I wrote a blog about it on java.net
>> at the time.  You needed to have pax to build the archive - it's actually
>> part of the posix standard and generates tar-compatible archives (after
>> much digging I figured out that tar would not generate a valid PKG and the
>> only difference in the archives was the inclusion of an entry for./ -
>> strange but true). The missing link was apple's hdiutil utility for
>> creating disk images - I remember digging around in OpenDarwin a bit but I
>> don't remember if I didn't find it or just wasn't ambitious enough to build
>> it for Linux. At any rate, that problem may have been solved by now. So it
>> would be worth looking into.
>> 
>> I don't think PKG files are particularly fancy or difficult to build - the
>> plist format is well documented, and after that its just laying out the
>> files and bundling them up - fussy, but once it works it works.
>> 
>> So I think with a little work we might be able to do portable PKG builds.
>> 
>> It sounds like someone has been working a bit on PKG generation? If so I
>> could take a look and see what I remember from days of yore.
>> 
>> -Tim
>> 
>> 
>> 
>>> 
>>> Regards,
>>> 
>>> Scott
>>> 
>>>> On Aug 12, 2018, at 12:19 AM, Tim Boudreau 
>> wrote:
>>>> 
>>>> This debate was had once about 14 years ago - and the decision to go
>> with
>>>> .pkg installers on Mac OSX was made for this reason: There were a lot
>> of
>>>> "NetBeans is unusably slow" reports on OSX.
>>>> 
>>>> The reason? A LOT of users never unpacked the .app - they were running
>> it
>>>> directly from the mounted, compressed .dmg image. It turns out that's
>> not
>>>> that unusual.
>>>> 
>>>> Random access Java classloading does not play nicely AT ALL with the
>>>> compression used for .dmg images.
>>>> 
>>>> I strongly recommend not repeating that mistake.
>>>> 
>>>> -Tim
>>>> 
>>>> Only  Sat, Aug 11, 2018 at 1:44 AM Scott Palmer 
>>> wrote:
>>>> 
>>>>> The macOS “installer” should be nothing more than a disk image with
>> the
>>>>> application bundle. It should not be a .pkg file that might require
>>> admin
>>>>> privileges as it would be a drag and drop install. The user should be
>>> able
>>>>> to drag the app bundle wherever they want.
>>>>> 
>>>>> Scott
>>>>> 
>>>>>> On Aug 10, 2018, at 6:54 PM, Carl Mosca 
>> wrote:
>>>>>> 
>>>>>> I work in a place where you need admin rights to install on Windows
>> as
>>>>> well
>>>>>> but th

Re: Installers

2018-08-12 Thread Carl Mosca
Thank you Tim.  I have been looking at the MacOS pkgbuild to do the build.
I have not looking into making it portable yet but if that can work, it's
certainly the way to go.

The first (non-pkg) version I did ran OK but I believe there is a
permission (ownership) issue with the current version.

Carl

On Sun, Aug 12, 2018 at 8:59 PM Tim Boudreau  wrote:

> On Sun, Aug 12, 2018 at 4:27 PM Scott Palmer  wrote:
>
> > Really?  Wow.  Okay, another option (still preferable to a .pkg IMO)  is
> > to simply distribute the application bundle in zipped form.  That has the
> > advantage that you also don’t need a Mac to create it.  In most cases
> > Safari would automatically extract it and leave the application sitting
> in
> > your Downloads folder.
>
>
> That's not a great user experience for Mac OSX users - it kind of
> telegraphs "we don't actually care about Mac OSX users".
>
> Back in 2004-5, I wrote the first Ant-based stuff to generate a PKG for
> NetBeans - it wasn't too hard. At the time I dug a little bit into making
> that build truly cross platform. Think I wrote a blog about it on java.net
> at the time.  You needed to have pax to build the archive - it's actually
> part of the posix standard and generates tar-compatible archives (after
> much digging I figured out that tar would not generate a valid PKG and the
> only difference in the archives was the inclusion of an entry for./ -
> strange but true). The missing link was apple's hdiutil utility for
> creating disk images - I remember digging around in OpenDarwin a bit but I
> don't remember if I didn't find it or just wasn't ambitious enough to build
> it for Linux. At any rate, that problem may have been solved by now. So it
> would be worth looking into.
>
> I don't think PKG files are particularly fancy or difficult to build - the
> plist format is well documented, and after that its just laying out the
> files and bundling them up - fussy, but once it works it works.
>
> So I think with a little work we might be able to do portable PKG builds.
>
> It sounds like someone has been working a bit on PKG generation? If so I
> could take a look and see what I remember from days of yore.
>
> -Tim
>
>
>
> >
> > Regards,
> >
> > Scott
> >
> > > On Aug 12, 2018, at 12:19 AM, Tim Boudreau 
> wrote:
> > >
> > > This debate was had once about 14 years ago - and the decision to go
> with
> > > .pkg installers on Mac OSX was made for this reason: There were a lot
> of
> > > "NetBeans is unusably slow" reports on OSX.
> > >
> > > The reason? A LOT of users never unpacked the .app - they were running
> it
> > > directly from the mounted, compressed .dmg image. It turns out that's
> not
> > > that unusual.
> > >
> > > Random access Java classloading does not play nicely AT ALL with the
> > > compression used for .dmg images.
> > >
> > > I strongly recommend not repeating that mistake.
> > >
> > > -Tim
> > >
> > > Only  Sat, Aug 11, 2018 at 1:44 AM Scott Palmer 
> > wrote:
> > >
> > >> The macOS “installer” should be nothing more than a disk image with
> the
> > >> application bundle. It should not be a .pkg file that might require
> > admin
> > >> privileges as it would be a drag and drop install. The user should be
> > able
> > >> to drag the app bundle wherever they want.
> > >>
> > >> Scott
> > >>
> > >>> On Aug 10, 2018, at 6:54 PM, Carl Mosca 
> wrote:
> > >>>
> > >>> I work in a place where you need admin rights to install on Windows
> as
> > >> well
> > >>> but that's a policy.
> > >>>
> > >>> As far as the MacOS goes, it's based on BSD.
> > >>>
> > >>> Therefore if /Applications is owned by root:wheel (or something
> similar
> > >>> that's not the current user), you need privileges to "su or sudo" in
> > >> order
> > >>> to complete the installation process.  That is to say, the filesystem
> > is
> > >>> requiring the elevated access which in my opinion is a good thing.
> > >>>
> > >>> One could/should be able to install in his/her home directory and not
> > >> need
> > >>> such access and I have seen apps take that approach as well.
> > >>>
> > >>> Carl
> > >>>
> > >>>> On Fri, Aug 10, 20

Re: Installers

2018-08-12 Thread Tim Boudreau
On Sun, Aug 12, 2018 at 4:27 PM Scott Palmer  wrote:

> Really?  Wow.  Okay, another option (still preferable to a .pkg IMO)  is
> to simply distribute the application bundle in zipped form.  That has the
> advantage that you also don’t need a Mac to create it.  In most cases
> Safari would automatically extract it and leave the application sitting in
> your Downloads folder.


That's not a great user experience for Mac OSX users - it kind of
telegraphs "we don't actually care about Mac OSX users".

Back in 2004-5, I wrote the first Ant-based stuff to generate a PKG for
NetBeans - it wasn't too hard. At the time I dug a little bit into making
that build truly cross platform. Think I wrote a blog about it on java.net
at the time.  You needed to have pax to build the archive - it's actually
part of the posix standard and generates tar-compatible archives (after
much digging I figured out that tar would not generate a valid PKG and the
only difference in the archives was the inclusion of an entry for./ -
strange but true). The missing link was apple's hdiutil utility for
creating disk images - I remember digging around in OpenDarwin a bit but I
don't remember if I didn't find it or just wasn't ambitious enough to build
it for Linux. At any rate, that problem may have been solved by now. So it
would be worth looking into.

I don't think PKG files are particularly fancy or difficult to build - the
plist format is well documented, and after that its just laying out the
files and bundling them up - fussy, but once it works it works.

So I think with a little work we might be able to do portable PKG builds.

It sounds like someone has been working a bit on PKG generation? If so I
could take a look and see what I remember from days of yore.

-Tim



>
> Regards,
>
> Scott
>
> > On Aug 12, 2018, at 12:19 AM, Tim Boudreau  wrote:
> >
> > This debate was had once about 14 years ago - and the decision to go with
> > .pkg installers on Mac OSX was made for this reason: There were a lot of
> > "NetBeans is unusably slow" reports on OSX.
> >
> > The reason? A LOT of users never unpacked the .app - they were running it
> > directly from the mounted, compressed .dmg image. It turns out that's not
> > that unusual.
> >
> > Random access Java classloading does not play nicely AT ALL with the
> > compression used for .dmg images.
> >
> > I strongly recommend not repeating that mistake.
> >
> > -Tim
> >
> > Only  Sat, Aug 11, 2018 at 1:44 AM Scott Palmer 
> wrote:
> >
> >> The macOS “installer” should be nothing more than a disk image with the
> >> application bundle. It should not be a .pkg file that might require
> admin
> >> privileges as it would be a drag and drop install. The user should be
> able
> >> to drag the app bundle wherever they want.
> >>
> >> Scott
> >>
> >>> On Aug 10, 2018, at 6:54 PM, Carl Mosca  wrote:
> >>>
> >>> I work in a place where you need admin rights to install on Windows as
> >> well
> >>> but that's a policy.
> >>>
> >>> As far as the MacOS goes, it's based on BSD.
> >>>
> >>> Therefore if /Applications is owned by root:wheel (or something similar
> >>> that's not the current user), you need privileges to "su or sudo" in
> >> order
> >>> to complete the installation process.  That is to say, the filesystem
> is
> >>> requiring the elevated access which in my opinion is a good thing.
> >>>
> >>> One could/should be able to install in his/her home directory and not
> >> need
> >>> such access and I have seen apps take that approach as well.
> >>>
> >>> Carl
> >>>
> >>>> On Fri, Aug 10, 2018 at 5:57 PM Will Hartung 
> >> wrote:
> >>>>
> >>>> On Fri, Aug 10, 2018 at 1:10 PM, Kenneth Fogel <
> >> kfo...@dawsoncollege.qc.ca
> >>>>>
> >>>> wrote:
> >>>>
> >>>>> Yes, an installer is nice but all it should do on the Windows
> platform
> >> is
> >>>>> unzip NetBeans in the folder of choice and add a shortcut.
> >>>>>
> >>>>
> >>>> For some reason that I don't understand, and perhaps someone could
> >> explain,
> >>>> the installer for MacOS requires Administration privileges.
> >>>>
> >>>> Being that it, too, is essentially a "zip file" (it's an application
> >>>> bundle), I never really understood why it needs admin privs to
> install.
> >&

Re: Installers

2018-08-12 Thread Brett Ryan



> On 13 Aug 2018, at 06:32, Scott Palmer  wrote:
> 
> Yes, that is true.  If there is still a need for that, then a .pkg is 
> required. Is it still the case though?

Given that JEE support is in the next drop and glassfish/tomcat are a part of 
the bundle then i can only assume so.

That's not to say that the IDE could say “if you need this then go download 
that elsewhere and configure manually”, however; one of NetBeans IDE’s 
advantages has always been a single install and you have everything.

Another option would be to only provide a single servlet/JEE container OOTB and 
not allow user customisation. Given licensing that would mean tomcat is fine as 
it’s apache licensed, don’t know what will need to be done to bundle glassfish 
though.


> Scott
> 
>> On Aug 12, 2018, at 4:14 PM, Brett Ryan  wrote:
>> 
>> Not quite. Remember the 8.2 installer did install Glassfish and tomcat for 
>> JEE versions and above. When it did this the servlet container was 
>> customised to match the users preferences.
>> 
>>> On 11 Aug 2018, at 15:44, Scott Palmer  wrote:
>>> 
>>> The macOS “installer” should be nothing more than a disk image with the 
>>> application bundle. It should not be a .pkg file that might require admin 
>>> privileges as it would be a drag and drop install. The user should be able 
>>> to drag the app bundle wherever they want.
>>> 
>>> Scott
>>> 
 On Aug 10, 2018, at 6:54 PM, Carl Mosca  wrote:
 
 I work in a place where you need admin rights to install on Windows as well
 but that's a policy.
 
 As far as the MacOS goes, it's based on BSD.
 
 Therefore if /Applications is owned by root:wheel (or something similar
 that's not the current user), you need privileges to "su or sudo" in order
 to complete the installation process.  That is to say, the filesystem is
 requiring the elevated access which in my opinion is a good thing.
 
 One could/should be able to install in his/her home directory and not need
 such access and I have seen apps take that approach as well.
 
 Carl
 
> On Fri, Aug 10, 2018 at 5:57 PM Will Hartung  
> wrote:
> 
> For some reason that I don't understand, and perhaps someone could 
> explain,
> the installer for MacOS requires Administration privileges.
> 
> Being that it, too, is essentially a "zip file" (it's an application
> bundle), I never really understood why it needs admin privs to install.
> 
> Maybe it's some Mac specific thing.
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-12 Thread Brett Ryan



> On 13 Aug 2018, at 06:27, Scott Palmer  wrote:
> 
> Really?  Wow.  Okay, another option (still preferable to a .pkg IMO)  is to 
> simply distribute the application bundle in zipped form.

As mentioned the issue with this is it could not be installed by the user 
globally, think of a university installing for all users. Someone would need to 
go into the bin folder and drag a shortcut out.

>  That has the advantage that you also don’t need a Mac to create it.  In most 
> cases Safari would automatically extract it and leave the application sitting 
> in your Downloads folder.

You don’t need macOS, you just need a tool like xar and a manifest to build the 
extensible archive.

> Regards,
> 
> Scott
> 
>> On Aug 12, 2018, at 12:19 AM, Tim Boudreau  wrote:
>> 
>> This debate was had once about 14 years ago - and the decision to go with
>> .pkg installers on Mac OSX was made for this reason: There were a lot of
>> "NetBeans is unusably slow" reports on OSX.
>> 
>> The reason? A LOT of users never unpacked the .app - they were running it
>> directly from the mounted, compressed .dmg image. It turns out that's not
>> that unusual.
>> 
>> Random access Java classloading does not play nicely AT ALL with the
>> compression used for .dmg images.
>> 
>> I strongly recommend not repeating that mistake.
>> 
>> -Tim
>> 
>> Only  Sat, Aug 11, 2018 at 1:44 AM Scott Palmer  wrote:
>> 
>>> The macOS “installer” should be nothing more than a disk image with the
>>> application bundle. It should not be a .pkg file that might require admin
>>> privileges as it would be a drag and drop install. The user should be able
>>> to drag the app bundle wherever they want.
>>> 
>>> Scott
>>> 
>>>> On Aug 10, 2018, at 6:54 PM, Carl Mosca  wrote:
>>>> 
>>>> I work in a place where you need admin rights to install on Windows as
>>> well
>>>> but that's a policy.
>>>> 
>>>> As far as the MacOS goes, it's based on BSD.
>>>> 
>>>> Therefore if /Applications is owned by root:wheel (or something similar
>>>> that's not the current user), you need privileges to "su or sudo" in
>>> order
>>>> to complete the installation process.  That is to say, the filesystem is
>>>> requiring the elevated access which in my opinion is a good thing.
>>>> 
>>>> One could/should be able to install in his/her home directory and not
>>> need
>>>> such access and I have seen apps take that approach as well.
>>>> 
>>>> Carl
>>>> 
>>>>> On Fri, Aug 10, 2018 at 5:57 PM Will Hartung 
>>> wrote:
>>>>> 
>>>>> On Fri, Aug 10, 2018 at 1:10 PM, Kenneth Fogel <
>>> kfo...@dawsoncollege.qc.ca
>>>>>> 
>>>>> wrote:
>>>>> 
>>>>>> Yes, an installer is nice but all it should do on the Windows platform
>>> is
>>>>>> unzip NetBeans in the folder of choice and add a shortcut.
>>>>>> 
>>>>> 
>>>>> For some reason that I don't understand, and perhaps someone could
>>> explain,
>>>>> the installer for MacOS requires Administration privileges.
>>>>> 
>>>>> Being that it, too, is essentially a "zip file" (it's an application
>>>>> bundle), I never really understood why it needs admin privs to install.
>>>>> 
>>>>> Maybe it's some Mac specific thing.
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> Carl J. Mosca
>>> 
>>> -
>>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
>>> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>> 
>>> 
>>> 
>>> --
>> http://timboudreau.com
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-12 Thread Scott Palmer
Yes, that is true.  If there is still a need for that, then a .pkg is required. 
Is it still the case though?

Scott

> On Aug 12, 2018, at 4:14 PM, Brett Ryan  wrote:
> 
> Not quite. Remember the 8.2 installer did install Glassfish and tomcat for 
> JEE versions and above. When it did this the servlet container was customised 
> to match the users preferences.
> 
>> On 11 Aug 2018, at 15:44, Scott Palmer  wrote:
>> 
>> The macOS “installer” should be nothing more than a disk image with the 
>> application bundle. It should not be a .pkg file that might require admin 
>> privileges as it would be a drag and drop install. The user should be able 
>> to drag the app bundle wherever they want.
>> 
>> Scott
>> 
>>> On Aug 10, 2018, at 6:54 PM, Carl Mosca  wrote:
>>> 
>>> I work in a place where you need admin rights to install on Windows as well
>>> but that's a policy.
>>> 
>>> As far as the MacOS goes, it's based on BSD.
>>> 
>>> Therefore if /Applications is owned by root:wheel (or something similar
>>> that's not the current user), you need privileges to "su or sudo" in order
>>> to complete the installation process.  That is to say, the filesystem is
>>> requiring the elevated access which in my opinion is a good thing.
>>> 
>>> One could/should be able to install in his/her home directory and not need
>>> such access and I have seen apps take that approach as well.
>>> 
>>> Carl
>>> 
 On Fri, Aug 10, 2018 at 5:57 PM Will Hartung  wrote:
 
 For some reason that I don't understand, and perhaps someone could explain,
 the installer for MacOS requires Administration privileges.
 
 Being that it, too, is essentially a "zip file" (it's an application
 bundle), I never really understood why it needs admin privs to install.
 
 Maybe it's some Mac specific thing.

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-12 Thread Brett Ryan



> On 13 Aug 2018, at 05:29, Neil C Smith  wrote:
> 
> On Sun, 12 Aug 2018, 16:23 Carl Mosca,  wrote:.
> 
>> I have not looked at pack2000, at least not lately.  I will check it out.
>> 
> 
> Hasn't pack200 just been deprecated!?
> 
> Out of interest is there a preference / benefit for mac users to have the
> app bundle in a dmg and not just zipped up? That would still be an
> improvement.

It’s about the standard user experience. Having a dmg the instance comes with a 
manifest that tells what files go to the /Applications folder and what goes to 
the ~/Library/Aplication Support folder. The finder (similar to windows 
explorer) window can be customised richly in the dmg to show the user they 
should drag the icon to applications, many have a symlink to applications.

From this though the launch process on macOS need to know the executable. All 
applications while may have many supporting files from the users perspective 
show as a single icon, this provides support for the doc, commander and 
shortcuts.

> Also reminds me of giving a test version of an RCP app to a Windows user
> who tried to run it from inside the zip. Tries to start but doesn't get
> very far. Any way for the mac app bundle launcher to know it's running from
> a dmg and behave differently (eg. trigger extraction)?

Maybe, but it’s not practice to do so. I am doubtful this is what was happening 
though, I certainly don’t remember seeing this. Back in 2004 I really don’t 
remember us mac users having an nb installer and am pretty sure we were using a 
zip.

If the dmg is customised to highlight they should copy, that would be enough.

> Best wishes,
> 
> Neil
> 
>> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-12 Thread Scott Palmer
Really?  Wow.  Okay, another option (still preferable to a .pkg IMO)  is to 
simply distribute the application bundle in zipped form.  That has the 
advantage that you also don’t need a Mac to create it.  In most cases Safari 
would automatically extract it and leave the application sitting in your 
Downloads folder.  

Regards,

Scott

> On Aug 12, 2018, at 12:19 AM, Tim Boudreau  wrote:
> 
> This debate was had once about 14 years ago - and the decision to go with
> .pkg installers on Mac OSX was made for this reason: There were a lot of
> "NetBeans is unusably slow" reports on OSX.
> 
> The reason? A LOT of users never unpacked the .app - they were running it
> directly from the mounted, compressed .dmg image. It turns out that's not
> that unusual.
> 
> Random access Java classloading does not play nicely AT ALL with the
> compression used for .dmg images.
> 
> I strongly recommend not repeating that mistake.
> 
> -Tim
> 
> Only  Sat, Aug 11, 2018 at 1:44 AM Scott Palmer  wrote:
> 
>> The macOS “installer” should be nothing more than a disk image with the
>> application bundle. It should not be a .pkg file that might require admin
>> privileges as it would be a drag and drop install. The user should be able
>> to drag the app bundle wherever they want.
>> 
>> Scott
>> 
>>> On Aug 10, 2018, at 6:54 PM, Carl Mosca  wrote:
>>> 
>>> I work in a place where you need admin rights to install on Windows as
>> well
>>> but that's a policy.
>>> 
>>> As far as the MacOS goes, it's based on BSD.
>>> 
>>> Therefore if /Applications is owned by root:wheel (or something similar
>>> that's not the current user), you need privileges to "su or sudo" in
>> order
>>> to complete the installation process.  That is to say, the filesystem is
>>> requiring the elevated access which in my opinion is a good thing.
>>> 
>>> One could/should be able to install in his/her home directory and not
>> need
>>> such access and I have seen apps take that approach as well.
>>> 
>>> Carl
>>> 
>>>> On Fri, Aug 10, 2018 at 5:57 PM Will Hartung 
>> wrote:
>>>> 
>>>> On Fri, Aug 10, 2018 at 1:10 PM, Kenneth Fogel <
>> kfo...@dawsoncollege.qc.ca
>>>>> 
>>>> wrote:
>>>> 
>>>>> Yes, an installer is nice but all it should do on the Windows platform
>> is
>>>>> unzip NetBeans in the folder of choice and add a shortcut.
>>>>> 
>>>> 
>>>> For some reason that I don't understand, and perhaps someone could
>> explain,
>>>> the installer for MacOS requires Administration privileges.
>>>> 
>>>> Being that it, too, is essentially a "zip file" (it's an application
>>>> bundle), I never really understood why it needs admin privs to install.
>>>> 
>>>> Maybe it's some Mac specific thing.
>>>> 
>>> 
>>> 
>>> --
>>> Carl J. Mosca
>> 
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 
>> 
>> 
>> --
> http://timboudreau.com


-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-12 Thread Brett Ryan
Not quite. Remember the 8.2 installer did install Glassfish and tomcat for JEE 
versions and above. When it did this the servlet container was customised to 
match the users preferences.

> On 11 Aug 2018, at 15:44, Scott Palmer  wrote:
> 
> The macOS “installer” should be nothing more than a disk image with the 
> application bundle. It should not be a .pkg file that might require admin 
> privileges as it would be a drag and drop install. The user should be able to 
> drag the app bundle wherever they want.
> 
> Scott
> 
>> On Aug 10, 2018, at 6:54 PM, Carl Mosca  wrote:
>> 
>> I work in a place where you need admin rights to install on Windows as well
>> but that's a policy.
>> 
>> As far as the MacOS goes, it's based on BSD.
>> 
>> Therefore if /Applications is owned by root:wheel (or something similar
>> that's not the current user), you need privileges to "su or sudo" in order
>> to complete the installation process.  That is to say, the filesystem is
>> requiring the elevated access which in my opinion is a good thing.
>> 
>> One could/should be able to install in his/her home directory and not need
>> such access and I have seen apps take that approach as well.
>> 
>> Carl
>> 
>>> On Fri, Aug 10, 2018 at 5:57 PM Will Hartung  wrote:
>>> 
>>> On Fri, Aug 10, 2018 at 1:10 PM, Kenneth Fogel >>> 
>>> wrote:
>>> 
 Yes, an installer is nice but all it should do on the Windows platform is
 unzip NetBeans in the folder of choice and add a shortcut.
 
>>> 
>>> For some reason that I don't understand, and perhaps someone could explain,
>>> the installer for MacOS requires Administration privileges.
>>> 
>>> Being that it, too, is essentially a "zip file" (it's an application
>>> bundle), I never really understood why it needs admin privs to install.
>>> 
>>> Maybe it's some Mac specific thing.
>>> 
>> 
>> 
>> -- 
>> Carl J. Mosca
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Installers

2018-08-12 Thread Neil C Smith
On Sun, 12 Aug 2018, 16:23 Carl Mosca,  wrote:.

> I have not looked at pack2000, at least not lately.  I will check it out.
>

Hasn't pack200 just been deprecated!?

Out of interest is there a preference / benefit for mac users to have the
app bundle in a dmg and not just zipped up? That would still be an
improvement.

Also reminds me of giving a test version of an RCP app to a Windows user
who tried to run it from inside the zip. Tries to start but doesn't get
very far. Any way for the mac app bundle launcher to know it's running from
a dmg and behave differently (eg. trigger extraction)?

Best wishes,

Neil

>


Re: Installers

2018-08-12 Thread Carl Mosca
Got it, thank you Tim.

I have not looked at pack2000, at least not lately.  I will check it out.

Regards,
Carl

On Sun, Aug 12, 2018 at 11:12 AM Tim Boudreau  wrote:

> Hey there - I wasn't intending to blast anybody, just act as a little
> corner of institutional memory, since there are a lot of people who weren't
> around then and when issues are revisited, it helps to know what was
> learned the last time around. Sorry if the "uh oh" that went off on my head
> led me to phrase things a little bluntly.
>
> DMG images are usually compressed. I have no idea if the algorithm has
> changed and this is a non problem now (certainly machines are faster). Most
> compression algorithms use a fixed block size, and to do random access in a
> compressed archive may mean doing a lot more I/O than the amount of data
> you really want to read. For example, in a .tar.gz file you have to
> decompress from the head of the file all the way to the end of what you
> want to read (imagine doing that many times in a row to read multiple class
> files). Zip format is a little better since you have an index at the tail
> of the file - but people usually make uncompressed JAR files for execution
> because it still makes classloading performance unpredictable. Put an
> archive in another archive and you multiply the unpredictability.
>
> PKG files don't have that sort of problem, since you can get the install
> image unpacked optimally on the user's disk, guaranteeing the best
> performance possible on their hardware.
>
> I've even known some projects to optimize the order class files are
> packaged into jars to match load order.
>
> The bottom line is that anything that makes people say "NetBeans is slow"
> is bad for the project.
>
> BTW, as a semi related tip: some years ago we reduced the download size of
> the ide by some insanely large factor by shipping jars compressed with
> pack200 and having the installer uncompress them.
>
> -Tim
>
> On Sun, Aug 12, 2018 at 6:02 AM Carl Mosca  wrote:
>
> > I am not certain I understand Tim's comments because I was not around for
> > the "great debate of 2004".
> >
> > If the process used to compress a dmg image makes jar files unusable, why
> > was NetBeans 8.x pkg compressed that way or was it not?
> >
> > I suspect he was trying to say the pkg installer (which it now does) is
> > preferred but the compression comment confused me.
> >
> > On the other hand, there was another comment about the installation
> > location.
> >
> > The reason I asked in advance of creating anything, was so that I would
> not
> > step on any toes or get blasted after the fact.  So much for
> that...thanks
> > all for the warm welcomes. :)
> >
> > Carl
> >
> > On Sun, Aug 12, 2018 at 4:34 AM Geertjan Wielenga
> >  wrote:
> >
> > > Really cool. I'm going to try it out, though Tim's comments re Mac
> > > installers is something to think about.
> > >
> > > Gj
> > >
> > >
> > > On Sun, Aug 12, 2018 at 9:04 AM, Carl Mosca 
> > wrote:
> > >
> > > > If you're willing to try the package installer, clone this fork:
> > > > https://github.com/carljmosca/incubator-netbeans on a Mac.
> > > >
> > > > Follow the setup for the build requirements then run "ant
> > package-macos"
> > > >
> > > > This should do a build followed by the creation of a Mac package
> > > installer.
> > > >
> > > > On Fri, Aug 10, 2018 at 2:36 AM Geertjan Wielenga
> > > >  wrote:
> > > >
> > > > > Yes, if you can create installers, that would be wonderful!
> > > > >
> > > > > I’ve seen about three different Mac OSX installers around so far.
> > > > >
> > > > > Please don’t wait, create installers if you can, and write back
> here
> > > with
> > > > > instructions when you’ve done so.
> > > > >
> > > > > Gj
> > > > >
> > > > > On Wednesday, August 8, 2018, Carl Mosca 
> > wrote:
> > > > >
> > > > > > I am wondering if anyone is working on these. I would like to
> help
> > if
> > > > > > needed.
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Carl J. Mosca
> > > >
> > >
> >
> >
> > --
> > Carl J. Mosca
> >
> --
> http://timboudreau.com
>


-- 
Carl J. Mosca


Re: Installers

2018-08-12 Thread Tim Boudreau
Hey there - I wasn't intending to blast anybody, just act as a little
corner of institutional memory, since there are a lot of people who weren't
around then and when issues are revisited, it helps to know what was
learned the last time around. Sorry if the "uh oh" that went off on my head
led me to phrase things a little bluntly.

DMG images are usually compressed. I have no idea if the algorithm has
changed and this is a non problem now (certainly machines are faster). Most
compression algorithms use a fixed block size, and to do random access in a
compressed archive may mean doing a lot more I/O than the amount of data
you really want to read. For example, in a .tar.gz file you have to
decompress from the head of the file all the way to the end of what you
want to read (imagine doing that many times in a row to read multiple class
files). Zip format is a little better since you have an index at the tail
of the file - but people usually make uncompressed JAR files for execution
because it still makes classloading performance unpredictable. Put an
archive in another archive and you multiply the unpredictability.

PKG files don't have that sort of problem, since you can get the install
image unpacked optimally on the user's disk, guaranteeing the best
performance possible on their hardware.

I've even known some projects to optimize the order class files are
packaged into jars to match load order.

The bottom line is that anything that makes people say "NetBeans is slow"
is bad for the project.

BTW, as a semi related tip: some years ago we reduced the download size of
the ide by some insanely large factor by shipping jars compressed with
pack200 and having the installer uncompress them.

-Tim

On Sun, Aug 12, 2018 at 6:02 AM Carl Mosca  wrote:

> I am not certain I understand Tim's comments because I was not around for
> the "great debate of 2004".
>
> If the process used to compress a dmg image makes jar files unusable, why
> was NetBeans 8.x pkg compressed that way or was it not?
>
> I suspect he was trying to say the pkg installer (which it now does) is
> preferred but the compression comment confused me.
>
> On the other hand, there was another comment about the installation
> location.
>
> The reason I asked in advance of creating anything, was so that I would not
> step on any toes or get blasted after the fact.  So much for that...thanks
> all for the warm welcomes. :)
>
> Carl
>
> On Sun, Aug 12, 2018 at 4:34 AM Geertjan Wielenga
>  wrote:
>
> > Really cool. I'm going to try it out, though Tim's comments re Mac
> > installers is something to think about.
> >
> > Gj
> >
> >
> > On Sun, Aug 12, 2018 at 9:04 AM, Carl Mosca 
> wrote:
> >
> > > If you're willing to try the package installer, clone this fork:
> > > https://github.com/carljmosca/incubator-netbeans on a Mac.
> > >
> > > Follow the setup for the build requirements then run "ant
> package-macos"
> > >
> > > This should do a build followed by the creation of a Mac package
> > installer.
> > >
> > > On Fri, Aug 10, 2018 at 2:36 AM Geertjan Wielenga
> > >  wrote:
> > >
> > > > Yes, if you can create installers, that would be wonderful!
> > > >
> > > > I’ve seen about three different Mac OSX installers around so far.
> > > >
> > > > Please don’t wait, create installers if you can, and write back here
> > with
> > > > instructions when you’ve done so.
> > > >
> > > > Gj
> > > >
> > > > On Wednesday, August 8, 2018, Carl Mosca 
> wrote:
> > > >
> > > > > I am wondering if anyone is working on these. I would like to help
> if
> > > > > needed.
> > > > >
> > > >
> > >
> > >
> > > --
> > > Carl J. Mosca
> > >
> >
>
>
> --
> Carl J. Mosca
>
-- 
http://timboudreau.com


Re: Installers

2018-08-12 Thread Carl Mosca
Gj,

Yes, I agree.  I have read the instructions and I don't see anything that's
unclear about the pull request.  I don't think a YouTube clip is necessary
but I know if you did one it would be done well. :)

I was mainly thinking about style and project organization.  More of if the
code is to be accepted, what might get it more inline with what's expected.

I have looked at the project some but not enough to say it was correct to
create a "macos" directory for example.  I have created the JIRA ticket but
I will poke around a bit more as time permits before I submit the pull
request.

I think this particular enhancement, if one can call it that, is probably a
good way for me to learn a bit about the overall organization.

Regards,
Carl

On Sun, Aug 12, 2018 at 10:32 AM Geertjan Wielenga
 wrote:

> I can make a YouTube clip to explain how to provide pull requests to Apache
> NetBeans, however it wouldn’t be different to doing a pull request for any
> other project via Git.
>
> Gj
>
> On Sunday, August 12, 2018, Carl Mosca  wrote:
>
> > Thank you Sebastian.  I appreciate the feedback.
> >
> > I imagine someone can provide a few pointers on where I located the
> > Info.plist file, my use (and lack of) use of properties, and the final
> > location of the pkg file.
> >
> > Hopefully I will learn about the pull request process.
> >
> > Carl
> >
> > On Sun, Aug 12, 2018 at 8:21 AM bastikemp...@gmail.com <
> > bastikemp...@gmail.com> wrote:
> >
> > > I've tried it on my Mac and it works very well, i would appreciate if
> > > your work will be merged. Its very useful for further releases :)
> > >
> > > Sebastian
> > >
> > >
> > > Am 12.08.18 um 12:07 schrieb Carl Mosca:
> > > > I guess I forgot to include that the location of the pkg file should
> > > > be nbbuild/MacOS
> > > > after the build completes.
> > > >
> > > >
> > > > Carl
> > > >
> > > > On Sun, Aug 12, 2018 at 3:04 AM Carl Mosca 
> > wrote:
> > > >
> > > >> If you're willing to try the package installer, clone this fork:
> > > >> https://github.com/carljmosca/incubator-netbeans on a Mac.
> > > >>
> > > >> Follow the setup for the build requirements then run "ant
> > package-macos"
> > > >>
> > > >> This should do a build followed by the creation of a Mac package
> > > installer.
> > > >>
> > > >> On Fri, Aug 10, 2018 at 2:36 AM Geertjan Wielenga
> > > >>  wrote:
> > > >>
> > > >>> Yes, if you can create installers, that would be wonderful!
> > > >>>
> > > >>> I’ve seen about three different Mac OSX installers around so far.
> > > >>>
> > > >>> Please don’t wait, create installers if you can, and write back
> here
> > > with
> > > >>> instructions when you’ve done so.
> > > >>>
> > > >>> Gj
> > > >>>
> > > >>> On Wednesday, August 8, 2018, Carl Mosca 
> > wrote:
> > > >>>
> > > >>>> I am wondering if anyone is working on these. I would like to help
> > if
> > > >>>> needed.
> > > >>>>
> > > >>
> > > >> --
> > > >> Carl J. Mosca
> > > >>
> > > >
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
> > > For additional commands, e-mail:
> dev-h...@netbeans.incubator.apache.org
> > >
> > > For further information about the NetBeans mailing lists, visit:
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > >
> > >
> > >
> > >
> >
> > --
> > Carl J. Mosca
> >
>


-- 
Carl J. Mosca


  1   2   >