Re: NetBeans 9.0 on Linux - How?? - It works!

2018-08-10 Thread Carl Mosca
Thank you.

I guess I need to poke around in Jenkins.  I am wondering (without yet
having looked) if this is already being built and not posted anywhere.

Carl

On Fri, Aug 10, 2018 at 8:29 AM Neil C Smith  wrote:

> Hi,
>
> Moving back on list! :-)
>
> On Fri, 10 Aug 2018 at 13:10, Carl Mosca  wrote:
> > OK, sounds like I used the wrong terminology for the Mac "bundle" - I
> find them commonly referred to in a variety of ways.  Getting the bits into
> /Application/some_directory_structure_here (or elsewhere for that matter)
> such that it can be launched from the GUI was the goal.
>
> Not sure!  The old macOS installer and bundles work quite differently
> from what I know.  A bundle is just a specially constructed folder
> that can be launched from anywhere.  I like them, but then I grew up
> using RiscOS, from where Apple nicked the idea along with the dock!
> :-)
>
> > What am I missing?  I am guessing there's something obvious I have
> overlooked.
> >
> > The reason I threw this
> https://github.com/carljmosca/netbeans-macos-bundle together was because
> I did not want folks to have to download a bundle from some non-apache site.
>
> You haven't missed anything, at least definitely not obvious.  There
> is an ant task in the RCP scripts for building a bundle.  I'd always
> assumed it was in the main NetBeans build scripts too, but I couldn't
> find it.
>
>
> https://github.com/apache/incubator-netbeans/blob/master/apisupport.harness/release/suite.xml#L391
>
> Best wishes,
>
> Neil
>


-- 
Carl J. Mosca


Re: NetBeans 9.0 on Linux - How?? - It works!

2018-08-10 Thread Neil C Smith
Hi,

Moving back on list! :-)

On Fri, 10 Aug 2018 at 13:10, Carl Mosca  wrote:
> OK, sounds like I used the wrong terminology for the Mac "bundle" - I find 
> them commonly referred to in a variety of ways.  Getting the bits into 
> /Application/some_directory_structure_here (or elsewhere for that matter) 
> such that it can be launched from the GUI was the goal.

Not sure!  The old macOS installer and bundles work quite differently
from what I know.  A bundle is just a specially constructed folder
that can be launched from anywhere.  I like them, but then I grew up
using RiscOS, from where Apple nicked the idea along with the dock!
:-)

> What am I missing?  I am guessing there's something obvious I have overlooked.
>
> The reason I threw this https://github.com/carljmosca/netbeans-macos-bundle 
> together was because I did not want folks to have to download a bundle from 
> some non-apache site.

You haven't missed anything, at least definitely not obvious.  There
is an ant task in the RCP scripts for building a bundle.  I'd always
assumed it was in the main NetBeans build scripts too, but I couldn't
find it.

https://github.com/apache/incubator-netbeans/blob/master/apisupport.harness/release/suite.xml#L391

Best wishes,

Neil

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

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



Re: NetBeans 9.0 on Linux - How?? - It works!

2018-08-10 Thread Neil C Smith
On Thu, 9 Aug 2018 at 23:38, Paul Szudzik  wrote:
> It didn’t ask me if I wanted to bring any settings over from previous 
> versions ( Which was 8.2 ) but being Linux, figured it couldn’t find it’s way.

That's odd!  Never had a problem with the import settings dialog not
showing on any of the dev, rc, or released builds.

> So, I am happy for now.. but a DEB variant would make life a lot easier 
> for a lot of people..

A .deb specifically?  They're really easy to make out of the zip
bundle (rather than in the "official" way).  Wrote an old blog post on
this - https://praxisintermedia.wordpress.com/2013/03/28/packaging-as-a-deb/
 That might be an option?

There is work ongoing around a Snap package though, and possibly that,
and/or Flatpak, and/or AppImage are a better way forward?  It wouldn't
be Linux if there was only one option to choose from! ;-)  Personally
think an AppImage might be good.

On Fri, 10 Aug 2018 at 12:41, Carl Mosca  wrote:
> I don't see anything complicated about using it as is on MacOS, Linux, or 
> Windows and have done so but one I see questions from folks who are used to 
> installing software in a certain way and two I did get tired of running it 
> via the command line (which certainly works on the Mac) so I hacked a small 
> script to "install" it after having done same manually.

Actually a macOS installer?  The things I've seen have been app
bundles, which seem perhaps an easier way forward (there's already
support in the RCP build scripts) and more in line with the Snap-like
Linux approach?  Although we could possibly do with better error
reporting if the JDK can't be found in that case.

Which just leaves Windows ...

Best wishes,

Neil

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

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



Re: NetBeans 9.0 on Linux - How?? - It works!

2018-08-09 Thread John McDonnell
Paul,

Have a look at
https://askubuntu.com/questions/854373/how-to-create-a-desktop-shortcut

I use this to create a shortcut to open NetBeans on Ubuntu form the desktop

Regards

John


On Thu, 9 Aug 2018 at 23:38, Paul Szudzik  wrote:

> Thank you .  That did work.  I am running on Java10 now, with Netbeans
> 9.0.
>
>   *  netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"*
>
> It still would be nice to have an installer, I still don’t have an
> icon to click on... I am a pretty good USER on Linux, but not very good
> INSTALLER type.
>
> It didn’t ask me if I wanted to bring any settings over from previous
> versions ( Which was 8.2 ) but being Linux, figured it couldn’t find it’s
> way.
>
> So, I am happy for now.. but a DEB variant would make life a lot
> easier for a lot of people..
>
> Thanks again.
>
> *From:* Mohammad Nabil
> *Sent:* Thursday, August 09, 2018 2:52 PM
> *To:* Paul Szudzik
> *Cc:* us...@netbeans.incubator.apache.org
> *Subject:* Re: NetBeans 9.0 on Linux - How??
>
> netbeans/etc/netbeans.conf
> uncomment
> #netneans_jdkdhome=/path/to/jdk
> and set path to your os java_home/bin/java
> Run
> netbeans/bin/netbeans
>
> On Thu, Aug 9, 2018, 11:43 PM Paul Szudzik 
> wrote:
>
>> Maybe I missed something, but I don’t see an installer to install
>> NetBeans 9.0 on Linux.That is my OS in the shop, ( Ubuntu ).
>>
>> Are there plans to do it soon?
>>
>> Thanks
>>
>>
>


Re: NetBeans 9.0 on Linux - How?? - It works!

2018-08-09 Thread Paul Szudzik
Thank you .  That did work.  I am running on Java10 now, with Netbeans 9.0.

netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"

It still would be nice to have an installer, I still don’t have an icon to 
click on... I am a pretty good USER on Linux, but not very good INSTALLER type.

It didn’t ask me if I wanted to bring any settings over from previous 
versions ( Which was 8.2 ) but being Linux, figured it couldn’t find it’s way.

So, I am happy for now.. but a DEB variant would make life a lot easier for 
a lot of people.. 

Thanks again.

From: Mohammad Nabil 
Sent: Thursday, August 09, 2018 2:52 PM
To: Paul Szudzik 
Cc: us...@netbeans.incubator.apache.org 
Subject: Re: NetBeans 9.0 on Linux - How??

netbeans/etc/netbeans.conf
uncomment
#netneans_jdkdhome=/path/to/jdk
and set path to your os java_home/bin/java
Run
netbeans/bin/netbeans


On Thu, Aug 9, 2018, 11:43 PM Paul Szudzik  wrote:

  Maybe I missed something, but I don’t see an installer to install 
NetBeans 9.0 on Linux.That is my OS in the shop, ( Ubuntu ).
  Are there plans to do it soon?
  Thanks