Re: Output window displaying ansi colors

2020-08-18 Thread Peter Steele
Nikolas

Thanks, I use gradle and it produces the right colored output on the
command line. Intellij also has support straight out of the box.

Regards

Peter

On Tue, 18 Aug 2020, 13:12 Niklas Matthies,  wrote:

> This is probably a bit late, however the general answer is yes. For
> Ant-based projects it seems to work out-of-the-box. If you use Maven,
> you have to pass "-Djansi.passthrough=true" to Maven, e.g. by adding
> it to MAVEN_OPTS. You can also add it to a particular action by
> specifying "Env.MAVEN_OPTS=-Djansi.passthrough=true" in Project
> Properties > Actions > Set Properties.
>
> Niklas
>
>
> On Sun 2020-05-24 at 19:49h, Peter Steele wrote on users:
> >Hi
> >
> >Does the output window support the ability to display ansi colors? (it
> >doesn't work by default, just wondering if there is a setting used to turn
> >it on, the window can def display color as it already does).
> >
> >https://en.wikipedia.org/wiki/ANSI_escape_code
> >
> >Example
> >
> >System.out.println("\u001B[91m" + "This text is red!" + "\u001B[0m");
>
> -
> 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: Font scaling on High Res displays

2020-06-27 Thread Peter Steele
I have hdpi working ok on Linux with jdk 11 and netbeans 12. The only issue
I have is the icons are small and the splash screen is small. I believe
there is a Jira for the icons (migrate to SVG ones)

I use the flatui theme, the theme you use is pretty important.

FlatUI does not need any special OS settings to work

Nimbus and Metal both need an OS settings to trigger any scaling. On Linux
you can set the gtk scale env variable and it will work although you will
need to adjust the font size as TTF fonts are typically hard coded to 96dpi
so won't change automatically with hdpi monitor.


On Sat, 27 Jun 2020, 03:31 Kevin Caravaggio,  wrote:

> On a Linux desktop, HiDPI doesn't seem supported by NB 11. I configured
> editor settings to use very large font sizes so I can read source files
> though. The menus and window options are quite small though, so I just
> guess from memory when running things.
>
> On Fri, Jun 26, 2020, 7:16 PM Eirik Bakke  wrote:
>
>> Lots of HiDPI improvements on Windows 10 have been made in recent
>> NetBeans and Java versions, so as others have suggested, just get the
>> latest versions of both, and it should work fine.
>>
>>
>>
>> And see Laszlo's point here--you can still compile and run your projects
>> with JDK 8, even though the IDE itself is running on a more recent Java
>> version.
>>
>>
>>
>> -- Eirik
>>
>>
>>
>> *From:* Laszlo Kishalmi 
>> *Sent:* Friday, June 26, 2020 1:35 PM
>> *To:* users@netbeans.apache.org
>> *Subject:* Re: Font scaling on High Res displays
>>
>>
>>
>> You can run NetBeans on JDK 11 13 or 14 and still be able to work on Java
>> 8 projects., just add the Java 8 platform into Tools > Java Platforms.
>>
>> On 6/26/20 6:36 AM, Jeff wrote:
>>
>> I'm running netbeans 11.3 or 12.0 but still using Oracle Java 8.  I'll
>> try upgrading to a newer open JDK version since we're going to head that
>> direction anyway soon.
>>
>>
>>
>> I'll try the other suggestions if that doesn't work but I'd prefer not to
>> hard code anything if possible since I connect various external displays of
>> varying sizes as well and hard coding any settings including forcing the
>> font size doesn't translate automatically with other displays.
>>
>>
>>
>> On Fri, Jun 26, 2020, 6:37 AM Joseph Huber  wrote:
>>
>> I have a Dell Precision 7720 laptop with the same issue.  In Windows 10,
>> you can adjust the scaling behavior for individual apps.  Right-click on
>> the shortcut for the app, select the “Compatibility” tab, and then click
>> “Change high DPI settings” and switch between “System” and “Application”.
>> See the screenshot below.   I’m still running NB 8.2, and this is how I
>> deal with the scaling issue when I travel and am using the laptop display
>> instead of external monitors.  See the screenshot below.
>>
>>
>>
>>
>>
>> Thank You!
>>
>>
>>
>> Joe Huber
>>
>> Standard Refrigeration LLC
>>
>> 2005 Reverchon Dr
>>
>> Arlington, TX  76017
>>
>> Desk: 608-855-5808
>>
>> Cell: 682-777-8374
>>
>> jhu...@stanref.com
>>
>>
>>
>> *From:* Jeff 
>> *Sent:* Thursday, June 25, 2020 11:48 PM
>> *To:* users@netbeans.apache.org
>> *Subject:* Font scaling on High Res displays
>>
>>
>>
>> I got a new Dell Precision 5540 laptop through work that is running a
>> native resolution of 3840 x 2160 on a 15" screen.  Windows defaults to 250%
>> scaling to make text and icons readable at this resolution.
>>
>>
>>
>> However, Netbeans project/source views don't seem to detect/honor the
>> scaling settings and it is literally unreadable except with a magnifying
>> glass.   The tool bar seems to honor the system scaling/font settings.  I
>> can also change the editor text size but it does nothing for the
>> project/Files/Services view nor the output/debug windows.
>>
>>
>>
>> Enabling "Maximize use of native look and feel" didn't help.  Is there
>> another setting I'm missing or do I just need to change the resolution?
>>
>>
>>
>> Thanks!
>>
>>


Output window prints garbage

2020-06-15 Thread Peter Steele
Hi

Not sure if this is 12 related or not (snap package auto updated). When I
print out a very long line of text to the output and I have wrap turned off
I get a line of text which bizarrely looks like it is multiple lines super
imposed on each other. (So looks like garbage but I can make out underlying
text of what should have been printed). I used to get something saying the
line was too long but that doesn't happen in my case. If you select wrap
everything displays fine, and when you select in wrap it shows the garbage
text again.

Regards

Peter


Netbeans and malware article

2020-05-29 Thread Peter Steele
Hi

Saw this

https://www.zdnet.com/article/github-warns-java-developers-of-new-malware-poisoning-netbeans-projects/

Do we know anything more about this?


Re: Source line numbers

2020-05-28 Thread Peter Steele
I had this, it seems to be to do with the jdk version. I had jdk 11 working
fine but jdk 13 having the issue.

On Thu, 28 May 2020, 17:02 HRH,  wrote:

> Hi,
>
> Today, I noticed that the line numbers in the source code pane of the IDE
> suddenly had disappeared, even though View->Show Line numbers were checked.
> Closed and re-opened the source, the line numbering re-appeared. There
> might be an intermittent bug somewhere in NB 12 Beta 4. As I reported
> yesterday, the spell-checking functionality does not prompt correct
> spelling either (I thought Alt+Enter was supposed to prompt suggested
> correct spellings).
>
> Thanks
>


Output window displaying ansi colors

2020-05-24 Thread Peter Steele
Hi

Does the output window support the ability to display ansi colors? (it
doesn't work by default, just wondering if there is a setting used to turn
it on, the window can def display color as it already does).

https://en.wikipedia.org/wiki/ANSI_escape_code

Example

System.out.println("\u001B[91m" + "This text is red!" + "\u001B[0m");


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Peter Steele
Alan

I meant open source, typo on my part. I understand the difference between
the old and new setup.

Geertjan

See here

https://www.apache.org/foundation/how-it-works.html

Specifically look at the roles section, the user and developer role are
posted below. This is what I meant when I was talking about the differences
between users and developers.

USER¶ <https://www.apache.org/foundation/how-it-works.html#users>

A *user* is someone that uses our software. They contribute to the Apache
projects by providing feedback to developers in the form of bug reports and
feature suggestions. Users participate in the Apache community by helping
other users on mailing lists and user support forums.
DEVELOPER <https://www.apache.org/foundation/how-it-works.html#developers>

A *developer* is a user who contributes to a project in the form of code or
documentation. They take extra steps to participate in a project, are
active on the developer mailing list, participate in discussions, provide
patches, documentation, suggestions, and criticism. Developers are also
known as *contributors*



On Fri, 15 May 2020, 19:14 Alan,  wrote:

> I think the confusion here might be between Oracle Netbeans, which
> presumably had the support of salaried contributors and Apache Netbeans,
> which is supported by the people who use it. It's no longer an "outsource"
> project.
> On 2020-05-15 14:09, Geertjan Wielenga wrote:
>
>
> I disagree. :-)
>
> In a community project, there are no users. Everyone is a contributor —
> there are many very small and simple ways to contribute requiring little
> time or knowledge.
>
> When you use technology, you either contribute money, for commercial
> projects, or you contribute time, for free projects. It’s never the case
> that you contribute nothing at all.
>
> Gj
>
> On Fri, 15 May 2020 at 19:57, Peter Steele  wrote:
>
>> Geertjan
>>
>> I personally have no interest in whether the page is up-to-date or not. I
>> was just pointing out the fact the links are out of date.
>>
>> Typically in an outsource project there are maintainers of that project
>> who actively develop / improve the product  and users of that projects who
>> don't usually develop but raise issues and highlight things to the
>> maintainers. This mailing list is the users mailing list so expect a lot
>> questions to the maintainers here. I see your default answer to a lot of
>> questions about changes in the user list is basically "where is your pull
>> request" but you are giving this to the wrong audience.
>>
>>
>> On Fri, 15 May 2020, 14:46 Geertjan Wielenga, 
>> wrote:
>>
>>>
>>> Your pull request is welcome, bottom of each page there’s a link
>>> directly to the GitHub of each page on netbeans.apache.org
>>>
>>> Gj
>>>
>>> On Fri, 15 May 2020 at 15:39, Peter Steele  wrote:
>>>
>>>> Quite a few of those links don't work, maybe worth removing the or
>>>> updating them.
>>>>
>>>> On Fri, 15 May 2020, 14:35 Geertjan Wielenga, 
>>>> wrote:
>>>>
>>>>> Do you think you can look up Peter Kriens on LinkedIn and just ask him
>>>>> yourself?
>>>>>
>>>>> Gj
>>>>>
>>>>> On Fri, 15 May 2020 at 15:31, Joel Craig 
>>>>> wrote:
>>>>>
>>>>>> Try here
>>>>>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>>>>>
>>>>>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>>>>>> varunasenevira...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>Not able to find Sudoku Game by Peter Kriens by the link given at
>>>>>>>  NetBeans Platform Quick Start Using OSGi
>>>>>>> <https://t.co/YXSJ6SCNZH?amp=1>, Can you help, please.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Varuna
>>>>>>>
>>>>>>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Peter Steele
Geertjan

I personally have no interest in whether the page is up-to-date or not. I
was just pointing out the fact the links are out of date.

Typically in an outsource project there are maintainers of that project who
actively develop / improve the product  and users of that projects who
don't usually develop but raise issues and highlight things to the
maintainers. This mailing list is the users mailing list so expect a lot
questions to the maintainers here. I see your default answer to a lot of
questions about changes in the user list is basically "where is your pull
request" but you are giving this to the wrong audience.


On Fri, 15 May 2020, 14:46 Geertjan Wielenga,  wrote:

>
> Your pull request is welcome, bottom of each page there’s a link directly
> to the GitHub of each page on netbeans.apache.org
>
> Gj
>
> On Fri, 15 May 2020 at 15:39, Peter Steele  wrote:
>
>> Quite a few of those links don't work, maybe worth removing the or
>> updating them.
>>
>> On Fri, 15 May 2020, 14:35 Geertjan Wielenga, 
>> wrote:
>>
>>> Do you think you can look up Peter Kriens on LinkedIn and just ask him
>>> yourself?
>>>
>>> Gj
>>>
>>> On Fri, 15 May 2020 at 15:31, Joel Craig  wrote:
>>>
>>>> Try here
>>>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>>>
>>>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>>>> varunasenevira...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>Not able to find Sudoku Game by Peter Kriens by the link given at 
>>>>> NetBeans
>>>>> Platform Quick Start Using OSGi <https://t.co/YXSJ6SCNZH?amp=1>, Can
>>>>> you help, please.
>>>>>
>>>>>
>>>>>
>>>>> Varuna
>>>>>
>>>>


Re: Not able to find Sudoku Game by Peter Kriens ?

2020-05-15 Thread Peter Steele
Quite a few of those links don't work, maybe worth removing the or updating
them.

On Fri, 15 May 2020, 14:35 Geertjan Wielenga,  wrote:

> Do you think you can look up Peter Kriens on LinkedIn and just ask him
> yourself?
>
> Gj
>
> On Fri, 15 May 2020 at 15:31, Joel Craig  wrote:
>
>> Try here
>> https://github.com/apache/netbeans-website-cleanup/blob/master/src/content/platform/tutorials/80/nbm-osgi-quickstart.html
>>
>> On Thu, May 14, 2020 at 11:04 PM Varuna Seneviratna <
>> varunasenevira...@gmail.com> wrote:
>>
>>> Hi,
>>>Not able to find Sudoku Game by Peter Kriens by the link given at 
>>> NetBeans
>>> Platform Quick Start Using OSGi , Can
>>> you help, please.
>>>
>>>
>>>
>>> Varuna
>>>
>>


Re: Error badge on the correct code

2020-05-07 Thread Peter Steele
I get this from time to time, clearing cache makes no difference, I
normally delete the .netbeans directory. This fixes it every time.

Can be quite annoying when it happens.

On Thu, 7 May 2020, 21:30 Greenberg, Gary, 
wrote:

> I have in one of my projects JSON file.
> At some point in time, while I was still editing it, it had errors.
> However, these errors were fixed long time ago, but in project file marked
> with the red error badge.
>
> Netbeans was restarted several times and my laptop was rebooted recently.
> The badge is still there.
> How can I get rid of it, short of removing userdir?
>
> I am working on several projects and have over 30 files open. Hate to
> reload everything.
>
> My environment: NB 11.1, Java 8, Win 10pro.
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com
>
> M: 650-269-7902
>
>
>
> [image: EmailSig-TaglineVersion]
>
>
>


Changing the font size in the output window and FlatLaf question

2020-05-06 Thread Peter Steele
Hi

1) Can you tell me how to change the font size for the text in the output
window?
2) Can you tell me how to get netbeans to auto resize the tab labels when
using the FlatLaf L&F? On a 4k screen the fint is good but it doesn't take
that in to account when resizing the font labels.
3) When using FlatL&F the main editor window doesn't have its fint changed,
but the rest of the app (bar output window) do. Is there a reason for this?

Thanks


Re: Quirks when running Netbeans 11.3 on a laptop

2020-05-01 Thread Peter Steele
I rolled back to jdk 11 after upgrading Ubuntu to 20.04 (11 is now the
highest openjdk that is packaged) and the issue no longer occurs.

Like with another issue I had it looks like jdk 13 was the issue.

I will be avoiding jdk 13 with netbeans until it works better



On Thu, 30 Apr 2020, 05:35 Peter Steele,  wrote:

> I'm running Ubuntu 19.10, 16 GB ram, hp Spectre x360 (integrated Intel
> graphics), open jdk 13, netbeans 11.3 (downloaded not snap) with no extra
> packages, I use gradle as part of standard package.
>
> On Thu, 30 Apr 2020, 04:43 Laszlo Kishalmi, 
> wrote:
>
>> I think it would be good if you could provide some details of your
>> laptop, like make, video card, OS, RAM, DISK, used JVM used NetBeans
>> package, etc.
>>
>> I myself running NetBeans on my Laptop, which is a System76 GalagoPro,
>> Intel internal and AMD external GPU, using Ubuntu 18.04, 32Gb RAM, have an
>> NVME and a spinning disk.
>>
>> I'm using the Snap distribution of NetBeans. I usually put the Laptop
>> into sleep for overnight and resume it in the morning. Udually I restart
>> NetBeans 1-2 times a week. So far never had such issues.
>> On 4/28/20 11:29 PM, John Brice wrote:
>>
>> I’ve had similar problems on Windows 10, netbeans 11.0 – 11.3 and JDK
>> 12/13. Line numbers disappear and nodes in the Projects pane go missing or
>> become unresponsive.
>>
>>
>>
>> I’ve changed my power settings to ‘never sleep’ but I still get the same
>> issues if I leave netbeans for a long time (1 – 2 hours or more); not every
>> time but often enough. If I use netbeans constantly all day there is no
>> problem.
>>
>>
>>
>> There is nothing obvious (to me) in the IDE log. I’ve cleared cache and
>> user dirs, doesn’t make a difference.
>>
>>
>>
>> John
>>
>>
>>
>>
>>
>> Hi
>>
>>
>>
>> I just wanted to know if people had noticed the following when running
>> netbeans 11.3 on their laptop (not sure if it happens on earlier versions
>> or not)
>>
>>
>>
>> I'm running on Ubuntu and using java 13
>>
>>
>>
>> 1. After closing the laptop lid and letting it suspend (or hibernate,
>> same thing), the line numbers disappear when I re open the laptop and it
>> resumes.
>>
>>
>>
>> 2. After closing the laptop and letting it suspend (or hibernate, same
>> thing), you can't search or search and replace after it resumes. The short
>> cut keys don't work and the menu items are Grey's out.
>>
>>
>>
>> Both the above two are fixed with a netbeans restart.
>>
>>
>>
>> 3. After changing to tablet mode on my laptop, netbeans sometimes gets in
>> to bad state where one window always has the focus no matter which window I
>> try and click in. I can put the mouse pointer in another windows and click
>> and hold to select text but it always does the actions in the window where
>> the focus is stuck
>>
>>
>>
>> This is fixed only by restarting the whole laptop, the problem persists
>> on a restart of netbeans.
>>
>>
>>
>>
>>
>> I appreciate these could be java issues (the last one definitely happened
>> on earlier versions of java and netbeans), but I don't know 100%
>>
>>
>>
>> Thanks
>>
>>
>>
>> Peter
>>
>>
>>
>>


Re: location file which saves compole errors

2020-04-30 Thread Peter Steele
Hi

Quick update, I down graded from java 13 to java 11 and the problem has
gone away so it looks like it is linked to Java 13.

Regards

Peter

On Sun, Apr 5, 2020 at 2:15 PM Peter Steele  wrote:

> Hi
>
> Netbeans seems to cache compile errors and on startup immediate flags
> those compile errors with a red underline and red marker.
>
> I am assuming to be the case if it's wrong then the question will have to
> change slightly.
>
> I am getting incorrect compile errors highlighted in red which persist
> restarts. My program compiles and runs successfully but the code keeps
> getting highlighted as if it was in error. This started off with one error
> but has exploded to a lot of classes having this issue now.
>
> I have had this before and previously deleted the netbeans .netbeans
> folder but I would rather just delete the file necessary to make netbeans
> clear it's cache.
>
> Any help would be appreciated
>
> Thanks
>
> Peter
>
> p.s. this issue isn't easily replicatable as it just happens all of a
> sudden
>
> P.p.s I am on 11.3 but this has happened on all previous netbeans versions
> (can remember if it happened on an oracle version or not though)
>


Re: Quirks when running Netbeans 11.3 on a laptop

2020-04-29 Thread Peter Steele
I'm running Ubuntu 19.10, 16 GB ram, hp Spectre x360 (integrated Intel
graphics), open jdk 13, netbeans 11.3 (downloaded not snap) with no extra
packages, I use gradle as part of standard package.

On Thu, 30 Apr 2020, 04:43 Laszlo Kishalmi, 
wrote:

> I think it would be good if you could provide some details of your laptop,
> like make, video card, OS, RAM, DISK, used JVM used NetBeans package, etc.
>
> I myself running NetBeans on my Laptop, which is a System76 GalagoPro,
> Intel internal and AMD external GPU, using Ubuntu 18.04, 32Gb RAM, have an
> NVME and a spinning disk.
>
> I'm using the Snap distribution of NetBeans. I usually put the Laptop into
> sleep for overnight and resume it in the morning. Udually I restart
> NetBeans 1-2 times a week. So far never had such issues.
> On 4/28/20 11:29 PM, John Brice wrote:
>
> I’ve had similar problems on Windows 10, netbeans 11.0 – 11.3 and JDK
> 12/13. Line numbers disappear and nodes in the Projects pane go missing or
> become unresponsive.
>
>
>
> I’ve changed my power settings to ‘never sleep’ but I still get the same
> issues if I leave netbeans for a long time (1 – 2 hours or more); not every
> time but often enough. If I use netbeans constantly all day there is no
> problem.
>
>
>
> There is nothing obvious (to me) in the IDE log. I’ve cleared cache and
> user dirs, doesn’t make a difference.
>
>
>
> John
>
>
>
>
>
> Hi
>
>
>
> I just wanted to know if people had noticed the following when running
> netbeans 11.3 on their laptop (not sure if it happens on earlier versions
> or not)
>
>
>
> I'm running on Ubuntu and using java 13
>
>
>
> 1. After closing the laptop lid and letting it suspend (or hibernate, same
> thing), the line numbers disappear when I re open the laptop and it resumes.
>
>
>
> 2. After closing the laptop and letting it suspend (or hibernate, same
> thing), you can't search or search and replace after it resumes. The short
> cut keys don't work and the menu items are Grey's out.
>
>
>
> Both the above two are fixed with a netbeans restart.
>
>
>
> 3. After changing to tablet mode on my laptop, netbeans sometimes gets in
> to bad state where one window always has the focus no matter which window I
> try and click in. I can put the mouse pointer in another windows and click
> and hold to select text but it always does the actions in the window where
> the focus is stuck
>
>
>
> This is fixed only by restarting the whole laptop, the problem persists on
> a restart of netbeans.
>
>
>
>
>
> I appreciate these could be java issues (the last one definitely happened
> on earlier versions of java and netbeans), but I don't know 100%
>
>
>
> Thanks
>
>
>
> Peter
>
>
>
>


Re: Gradle based project won't load. How to investigate it or see compiler output?

2020-04-29 Thread Peter Steele
Run the build on the command line to see if it's a netbeans issue, if it is
then run with With --info or --debug (logging levels) or with --stacktrace
to get the stack trace info of the build failure.

If it works on the command line then you need to setup gradle properly in
netbeans.

On Wed, 29 Apr 2020, 07:30 Emilian Bold,  wrote:

> Hello,
>
> I have a Gradle based project that won't load in any version of
> NetBeans, including the 12 beta. The notification shown says:
>
> > Compilation failed; see the compiler output for details.
> > Execution failed for task: ''
> > Execution failed for task: ''
> > Could not run build action using Gradle installation ' wrapper dists/ folder>'
>
> How does one go about investigating this problem?
>
> For starters, I don't see anything in the output window or messages.log.
>
> Where is the compiler output with the details?
>
> A minor issue: the notification itself (being a Swing component) doesn't
> allow you to copy-paste the error message.
>
> --emi
>


Quirks when running Netbeans 11.3 on a laptop

2020-04-27 Thread Peter Steele
Hi

I just wanted to know if people had noticed the following when running
netbeans 11.3 on their laptop (not sure if it happens on earlier versions
or not)

I'm running on Ubuntu and using java 13

1. After closing the laptop lid and letting it suspend (or hibernate, same
thing), the line numbers disappear when I re open the laptop and it resumes.

2. After closing the laptop and letting it suspend (or hibernate, same
thing), you can't search or search and replace after it resumes. The short
cut keys don't work and the menu items are Grey's out.

Both the above two are fixed with a netbeans restart.

3. After changing to tablet mode on my laptop, netbeans sometimes gets in
to bad state where one window always has the focus no matter which window I
try and click in. I can put the mouse pointer in another windows and click
and hold to select text but it always does the actions in the window where
the focus is stuck

This is fixed only by restarting the whole laptop, the problem persists on
a restart of netbeans.


I appreciate these could be java issues (the last one definitely happened
on earlier versions of java and netbeans), but I don't know 100%

Thanks

Peter


Re: location file which saves compile errors

2020-04-05 Thread Peter Steele
Hi

I tried this, I thought it had worked but it didn't. I still have a couple
of classes that have this issue (it fixed a lot though).

The errors are all to do with return types (thinking they are object) or
incorrectly saying a method doesn't exist on a class

Peter

On Sun, 5 Apr 2020, 14:46 Boris Heithecker, 
wrote:

> I'm encountering this too at times. I think it's a caching issue.
> This works for me:
> Go to the NetBeans cache directory, which is platform specific. On Linux
> it's in .cache/netbeans/VERSION
> Clear everything but not mavenindex and mavencachedirs. I'm sure that not
> all files and folder must be deleted, so one try to find out which file
> oder folder exactly must be removed.
> Restart the IDE
>
> Hope it helps,
> Boris
>
> On Sun, 5 Apr 2020 at 15:15, Peter Steele  wrote:
>
>> Hi
>>
>> Netbeans seems to cache compile errors and on startup immediate flags
>> those compile errors with a red underline and red marker.
>>
>> I am assuming to be the case if it's wrong then the question will have to
>> change slightly.
>>
>> I am getting incorrect compile errors highlighted in red which persist
>> restarts. My program compiles and runs successfully but the code keeps
>> getting highlighted as if it was in error. This started off with one error
>> but has exploded to a lot of classes having this issue now.
>>
>> I have had this before and previously deleted the netbeans .netbeans
>> folder but I would rather just delete the file necessary to make netbeans
>> clear it's cache.
>>
>> Any help would be appreciated
>>
>> Thanks
>>
>> Peter
>>
>> p.s. this issue isn't easily replicatable as it just happens all of a
>> sudden
>>
>> P.p.s I am on 11.3 but this has happened on all previous netbeans
>> versions (can remember if it happened on an oracle version or not though)
>>
>
>
> --
> Boris Heithecker
>
>
> Dr. Boris Heithecker
> Lüneburger Str. 30
> 28870 Ottersberg
> Festnetz: +49 4205 315834
> Mobil: +49 170 6137015
>


location file which saves compole errors

2020-04-05 Thread Peter Steele
Hi

Netbeans seems to cache compile errors and on startup immediate flags those
compile errors with a red underline and red marker.

I am assuming to be the case if it's wrong then the question will have to
change slightly.

I am getting incorrect compile errors highlighted in red which persist
restarts. My program compiles and runs successfully but the code keeps
getting highlighted as if it was in error. This started off with one error
but has exploded to a lot of classes having this issue now.

I have had this before and previously deleted the netbeans .netbeans folder
but I would rather just delete the file necessary to make netbeans clear
it's cache.

Any help would be appreciated

Thanks

Peter

p.s. this issue isn't easily replicatable as it just happens all of a sudden

P.p.s I am on 11.3 but this has happened on all previous netbeans versions
(can remember if it happened on an oracle version or not though)


Image Previewing

2020-03-09 Thread Peter Steele
Netbeans has a useful feature for previewing images (you just double click
and it opens a window with the image in), I can view bmp and png images as
an example. Not all image formats that I use are preview able though. Can
someone help point me in to the right direction as to how I can add support
for the other formats that I have? Or to describe how the current process
works?


Re: NB11 - gradle support

2019-07-11 Thread Peter Steele
Mike

Gradle just uses the dependencies you have given it, the dependencies can
be refined to restrict where they are used (runtime, compileOnly example)
and also whether you want gradle to include children dependencies and
children of those etc. (I can't remember the syntax there).

It looks like you are including all the jars you need and then all the jars
those jars need which is why you have a big list. Those dependencies are
only really required if you need to use every bit of functionality
available in those jars.

You can manually list the dependencies you need if you wish to remove jars
that are not of use on your use case. You just stop the child dependencies
being added then manually add to your build.gradle file

Netbeans is not the issue here

One nice feature of intellij, is that you can get it to include all the
dependencies in one jar which prevents issues like this. Raise an
enhancement request if you want this, in JIRA. I personally prefer having
the jars separate.

Regards

Peter

On Thu, 11 Jul 2019, 16:12 Mike Billman,  wrote:

> When running from a command prompt:
>
>
>
> Gradle runApp --info --stacktrace
>
>
>
> Starting process 'command 'C:\Program
> Files\Java\jdk-11.0.2\bin\java.exe''. Working directory:
> C:\Sandboxes\mdb\Projects\creekstone Command: C:\Program
> Files\Java\jdk-11.0.2\bin\java.exe -Dfile.encoding=windows-1252
> -Duser.country=US -Duser.language=en -Duser.variant -cp
> C:\Sandboxes\mdb\Projects\creekstone\build\classes\java\main;C:\Sandboxes\mdb\Projects\creekstone\build\resources\main;C:\Program
> Files\SQL Anywhere
> 17\java\sajdbc4.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware.database\qc-microsoft-database-adapter\1.0.0\c678f3a780918a94fdbf3eed181e5f7f5b1f3dcb\qc-microsoft-database-adapter-1.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware\qc-toolkit\14.9.0\a23c55ac353f771233ce694bc7a394dbbd12ca4\qc-toolkit-14.9.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware\sqljdbc4\1.0.0\ff439c53190a987d327165dec8b148f670cb7ca8\sqljdbc4-1.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\net.sourceforge.jtds\jtds\1.3.1\1527f2fc2f040898625370a1687d902aa0743bcc\jtds-1.3.1.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\org.hibernate.validator\hibernate-validator\6.0.7.Final\8b9d9c7ec8c73963ea0fe81912fc67711a4ef76\hibernate-validator-6.0.7.Final.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\javax.validation\validation-api\2.0.1.Final\cb88e6271b1b32e716d24cb85c7f583ce09e\validation-api-2.0.1.Final.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\org.hibernate.validator\hibernate-validator-annotation-processor\6.0.7.Final\39f1cac791da7972d909fab33fbbb1b206846c60\hibernate-validator-annotation-processor-6.0.7.Final.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\javax.el\javax.el-api\3.0.0\60a59edc89f93d57541da31ee1c83428ab1cdcb3\javax.el-api-3.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\org.glassfish\javax.el\3.0.0\dd532526e7c8de48e40419e6af1183658a973379\javax.el-3.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.module\jackson-module-kotlin\2.9.8\7ea1867daf999d6a3028362a0418da44b751bc13\jackson-module-kotlin-2.9.8.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-databind\2.9.8\11283f21cc480aa86c4df7a0a3243ec508372ed2\jackson-databind-2.9.8.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.9.8\f5a654e4675769c716e5b387830d19b501ca191\jackson-core-2.9.8.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\io.springfox\springfox-swagger2\2.9.2\362676bc7f4c6f9f1d568741becab0dfc198c898\springfox-swagger2-2.9.2.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\io.springfox\springfox-swagger-common\2.9.2\b38a41b3044af80cb7f41f67be5d158c9f6491ec\springfox-swagger-common-2.9.2.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\io.swagger\swagger-models\1.5.20\fb3a23bad80c5ed84db9dd150db2cba699531458\swagger-models-1.5.20.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-annotations\2.9.5\9056ec9db21c57d43219a84bb18c129ae51c6a5d\jackson-annotations-2.9.5.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware\qc-amp\1.0.0\103fa36c314c1087e7b8c8a7f37bc3727ff309a8\qc-amp-1.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware\jhall\1.0.0\308496a9287fbf04dcea25fe31d1a869adcdb838\jhall-1.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware\graphics3d\1.0.0\18bb559c3d19dff09ec2ffc9480e0076667ea1d5\graphics3d-1.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware\DJNativeSwingSWT\1.0.0\3504c45d14a5a4e7874ad8557d309382c8df36a3\DJNativeSwingSWT-1.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware\chilkat\1.0.0\557dcc6466df17bb9cbe270eb7df27c4b1846c05\chilkat-1.0.0.jar;C:\Users\mdb\.gradle\caches\modules-2\files-2.1\com.qcsoftware\jfoenix\1.0.0\6ab8f8ae3e6463f10e51c0

Re: Unused method highlighting

2019-06-10 Thread Peter Steele
It's possible, intelij does it, it's just a question if netbeans does it.
If not I'd advise raising a new Jira or adding the functionality yourself
if you have the expertise. Netbeans definitely highlights unused methods
and fields to a certain extent.

On Mon, 10 Jun 2019, 17:38 Greenberg, Gary,  wrote:

> I do not think it feasible, because methods (unless they are private) can
> be called from outside of the class.
>
> Editor have to parse the whole project or may be more than one, if this
> project listed as dependency in another one.
>
> You can always check if particular method is used, using ‘Find usage’
> feature.
>
>
>
> Gary Greenberg
>
> Staff Software Engineer
>
> Data Product Development, BI-A
>
> E: ggree...@visa.com
>
> M: 650-269-7902
>
>
>
> [image: EmailSig-TaglineVersion]
>
>
>
> *From:* Mohammad Mohsen Nourafkan 
> *Sent:* Monday, June 10, 2019 5:47 AM
> *To:* users@netbeans.apache.org
> *Subject:* Unused method highlighting
>
>
>
> Hi everyone
>
> Is there possible to highlight those methods never called  in editor
> Thanks
>
> --
>
> MOHSENTM
>


Code complete in lambda functions

2019-05-29 Thread Peter Steele
Hi

Does anyone else have issues with code complete in a lambda function? (Just
wondering if it's me or a wider issue)

Thanks

Peter


Re: Issue changing the license file for a gradle project (netbeans 11)

2019-04-26 Thread Peter Steele
Hi

Are there any comments from the developers on this? This is part of the new
gradle module that came out with NB11

On Tue, Apr 23, 2019 at 4:47 PM Peter Steele  wrote:

> Hi
>
> If you look at the below screenshot of a gradle project properties you
> will see I have selected General Public License 3.0 but the license text is
> not for this type of license. If I select another license then re select
> this one the template text is correct. If I then click ok and then load the
> same screen up again the license text is again wrong. When creating a new
> java file file the header text is the same as in the license dialog.
>
> Is there something special that needs to be done for the license text to
> be correct picked up?
>
> Thanks
>
> Peter
>


Re: Netbeans 11 and Gradle broken builds

2019-04-09 Thread Peter Steele
>>  Is there a way to go back to the old plugin by chance while still using
Netbeans 11?

There is, you can disable the gradle plugin that comes built in and install
the nbm from

https://github.com/kelemen/netbeans-gradle-project/releases



On Tue, Apr 9, 2019 at 2:58 PM Ty Young  wrote:

>
> On 4/9/19 8:22 AM, Mark A. Claassen wrote:
> > I am not exactly sure what is going on.  I wonder if that is just a bad
> error message.
> > Java FX is no longer included in Java (since Java 9).  Probably, you
> were running the older version of Netbeans with Java 8, but not Nebeans 11.
>
>
> I am running a built from source version of JDK 11 with JavaFX built-in.
> This build worked with Netbeans 10 and the Gradle plugin with nothing
> changed. The application is also a java 9+ module.
>
>
> >
> > In your /etc/netbeans.conf file, near the
> bottom, you can set the Java version used to run Netbeans.  If you change
> that to a Java 8 version, I don’t think you will have any problems.
> >
> > If you need / want to use Java 9+ to run Netbeans, you can change your
> Gradle build.  For you compile scripts, direct the compiler to use Java 8:
> >   sourceCompatibility = 1.8
> >   targetCompatibility = 1.8
> >   options.fork = true;
> >   options.forkOptions.javaHome=new File()
> >
> > Hope this helps, or at least points you in the right direction.
>
>
> Sadly it did not. It still shows the version as 5 in the editor and
> unspecified in the project properties. It gives a warning about the
> build file not being correct as well but i'm not sure what exactly is
> wrong. It doesn't say exactly.
>
>
> Is there a way to go back to the old plugin by chance while still using
> Netbeans 11?
>
>
> >
> > Mark Claassen
> > Senior Software Engineer
> >
> > Donnell Systems, Inc.
> > 130 South Main Street
> > Leighton Plaza Suite 375
> > South Bend, IN  46601
> > E-mail: mailto:mclaas...@ocie.net
> > Voice: (574)232-3784
> > Fax: (574)232-4014
> >
> > ---
> > Confidentiality Notice: OCIESERVICE
> > ---
> > The contents of this e-mail message and any attachments are intended
> solely for the addressee(s) named in this message. This communication is
> intended to be and to remain confidential. If you are not the intended
> recipient of this message, or if this message has been addressed to you in
> error, please immediately alert the sender by reply e-mail and then delete
> this message and its attachments. Do not deliver, distribute, copy,
> disclose the contents or take any action in reliance upon the information
> contained in the communication or any attachments.
> >
> >
> > -Original Message-
> > From: Ty Young 
> > Sent: Tuesday, April 9, 2019 9:09 AM
> > To: us...@netbeans.incubator.apache.org
> > Subject: Netbeans 11 and Gradle broken builds
> >
> > Hi,
> >
> >
> > After upgrading to Netbeans 11, my JavaFX application no longer builds
> in Netbeans. I get an exception that says the following:
> >
> >
> > java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for
> length 2
> >   at
> >
> org.netbeans.modules.gradle.api.GradleDependency$ModuleDependency.(GradleDependency.java:85)
> >   at
> >
> org.netbeans.modules.gradle.api.GradleBaseProjectBuilder.processDependencies(GradleBaseProjectBuilder.java:149)
> >   at
> >
> org.netbeans.modules.gradle.api.GradleBaseProjectBuilder.build(GradleBaseProjectBuilder.java:75)
> >   at
> >
> org.netbeans.modules.gradle.api.GradleBaseProjectBuilder$Extractor.extract(GradleBaseProjectBuilder.java:288)
> >   at
> >
> org.netbeans.modules.gradle.GradleProjectCache.createGradleProject(GradleProjectCache.java:432)
> >   at
> >
> org.netbeans.modules.gradle.GradleProjectCache.loadGradleProject(GradleProjectCache.java:257)
> >   at
> >
> org.netbeans.modules.gradle.GradleProjectCache.access$100(GradleProjectCache.java:85)
> > [catch] at
> >
> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:348)
> >   at
> >
> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:326)
> >   at
> java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> >   at
> > org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> >   at
> >
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> >   at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> >   at
> >
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
> >
> >
> > previously in Netbeans 10 I had been using a Gradle plugin which was
> > originally for Netbeans 9 and it worked just fine. The error messages
> > being displayed in the editor itself claim that the source is set to
> > java 5 but i'm using java 11. What's going on here?
> >
> >
> > -

Re: [EXT] Re: Trying out NB10

2019-03-06 Thread Peter Steele
If you are using 4k you should note that the font / window sizing is
partially dependant on the look and feel you have chosen. If it is a system
look and feel then it will take the scaling from the os. If it is a non
system look and feel then there is no scaling applied and you need set this
yourself, it is a -D parameter. I can tell you the exact settings if you
need to know more.

On Wed, 6 Mar 2019, 14:38 Thomson, Duncan,  wrote:

> Actually newer versions of Windows handle spaces in file and directory
> names with no problem. That’s not really a thing any more.  If the problem
> is being caused by space characters in a directory name, that’s a problem
> with a .bat script or something like that, not a problem with Windows.
>
>
>
> *From:* Scott Palmer 
> *Sent:* Tuesday, March 5, 2019 6:56 PM
> *To:* Greenberg, Gary 
> *Cc:* Geertjan Wielenga ; NetBeans
> Mailing List 
> *Subject:* [EXT] Re: Trying out NB10
>
>
>
> I have my NB under C:\Program Files\ and it doesn’t appear to be causing
> any issues, but if you really need to eliminate the spaces and still put
> things in your cloud drive, just use the subst command to remap the cloud
> drive path to an unused drive letter.
>
>
>
> Scott
>
>
>
> On Mar 5, 2019, at 4:28 PM, Greenberg, Gary  wrote:
>
>
>
> Well, I did reinstall NB10 into the directory without spaces and
> reconfigured proxy connection (Although the old one was also tested OK). I
> was able to download plugins now.
>
> However, I still cannot change this huge font on menus. Can anyone tell me
> what I can do about it?
>
> BTW, will it work if my projects are in directory with spaces? If not, I
> am in trouble. Per company policy they have to be on the cloud drive.
>
>
>
> *From:* Geertjan Wielenga 
> *Sent:* Tuesday, March 5, 2019 12:57 PM
> *To:* Greenberg, Gary 
> *Cc:* NetBeans Mailing List 
> *Subject:* Re: Trying out NB10
>
>
>
> This might also mean something:
>
>
>
> INFO [org.netbeans.core.network.proxy.windows.WindowsNetworkProxy]:
> Windows system proxy resolver: auto - PAC (http://pacfile/visa.pac)
>
>
>
> Gj
>
>
>
> On Tue, Mar 5, 2019 at 11:55 PM Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
> And probably you have networking problems (maybe something with proxies on
> your new machine), because when I put this into my browser, a license is
> downloaded, while in your log file this throws network errors:
>
>
>
>
> http://plugins.netbeans.org/nbpluginportal/files/nbms/licenses/B2B74E56.license
>
>
>
> Gj
>
>
>
> On Tue, Mar 5, 2019 at 11:53 PM Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
> Probably the problems are related to having NetBeans unzipped in this
> folder:
>
>
>
> "C:\Users\ggreenbe\OneDrive - Visa Inc\Software\netbeans"
>
>
>
> Folders with spaces never work well on Windows.
>
>
>
> Gj
>
>
>
> On Tue, Mar 5, 2019 at 11:47 PM Greenberg, Gary  wrote:
>
> Because there are no installer for NB10, I couldn’t place it anywhere but
> under my home directory.
>
> So, I created C;\Users\...\Software folder and unpacked archive there.
>
> I certainly do have all privileges in my home directory.
>
> Just few minutes ago NB froze again and I had to kill it through task
> manager and restart.
>
> New log file doesn’t show any errors. Previous one does show multiple
> network timeouts from unsuccessful attempts to download plugins.
>
> BTW, can you please post URL for the current plugin portal? I will try to
> download some outside of IDE.
>
> *From:* Geertjan Wielenga 
> *Sent:* Tuesday, March 5, 2019 12:04 PM
> *To:* Greenberg, Gary ; NetBeans Mailing List <
> users@netbeans.apache.org>
> *Subject:* Re: Trying out NB10
>
>
>
> You keep removing the mailing list from your responses, please don’t,
> there’s many others who could be helping, but you keep excluding them.
>
>
>
> Sounds to me like there’s some problem with permissions or the general
> setup of your new machine, though it’s impossible to know.
>
>
>
> Maybe attach a log file — just keep the mailing list address in your
> responses, please.
>
>
>
> Gj
>
>
>
>
>
> On Tue, 5 Mar 2019 at 23:00, Greenberg, Gary  wrote:
>
> Sorry,
>
> This one I am trying on Windows 10. Dell Precision 5520, 8 cores, 32GB RAM
>
> JDK 1.8-202
>
> Regarding refreshing userdir – I started from the brand new machine. It
> had nothing in it.
>
> I started installing Chrome,  JDK, Postman and Acrobat. Netbeans was the
> fifth piece of software installed.
>
> Userdir was supposed to be prestine.
>
>
>
> *From:* Geertjan Wielenga 
> *Sent:* Tuesday, March 5, 2019 11:52 AM
> *To:* Greenberg, Gary ; NetBeans Mailing List <
> users@netbeans.apache.org>
> *Subject:* Re: Trying out NB10
>
>
>
> You claim to be “far from the noob”, yet you had to be told to refresh the
> userdir and you haven’t provided a description of your environment, e.g.,
> the JDK you’re using. What gives?
>
>
>
> Gj
>
>
>
>
>
> On Tue, 5 Mar 2019 at 22:38, Greenberg, Gary  wrote:
>
> I did delete my userdir and restarted NB.
>
> Authenticat

Re: Netbeans 10.0 - doesn't start

2019-02-19 Thread Peter Steele
Can you send the contents of the set command from the CMD cli? I'd
recommending replacing personal identifiable information with dummy values.
There is something odd going on

On Tue, 19 Feb 2019, 15:43 Davide Moschini  Moved everything in C:\Netbeans_10.0
> no differences... the program doesn't start
>
>
> On Tue, Feb 19, 2019 at 4:31 PM Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
>> And maybe the fact that you have NetBeans at D: and JDK at C: is the
>> problem.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com> wrote:
>>
>>> Just double-click the executable and forget about that --jdkhome flag,
>>> you don't need it.
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <
>>> davide.mosch...@gmail.com> wrote:
>>>
 I would like to summarize the steps taken (sorry I forgot to include
 the netbeans mailing list in the last emails sent)
 - Netbeans 10.0 is "installed" in a folder on a D: partition.
 - JDK (openJDK at the moment) is installed in folder "C:\Program
 Files\AdoptOpenJDK\jdk-11.0.2+9"
 - I'm using Windows 10 64 bit
 - ENVIRONMENT VARIABLES:
 * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
 * JDK_HOME: %JAVA_HOME%
 * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
 * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
 Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.(other stuff)
 - netbeans.conf: commented out the line
  netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
 - cmd line
 * netbeans64.exe --jdkhome "C:\Program
 Files\AdoptOpenJDK\jdk-11.0.2+9"
The answer from cmd is:
   The launcher has determined that the parent process has a console
 and will reuse it for its own console output.
   Closing the console will result in termination of the running
 program.
   Use '--console suppress' to suppress console output.
   Use '--console new' to create a separate console window.
 - when I run javac -version from command line the answer is:
 javac 11.0.2

 Netbeans never started.

 davide



 On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
 geertjan.wiele...@googlemail.com> wrote:

> Maybe comment out the line in netbeans.conf pointing to the JDK,
> instead run 'echo %path%' to check that it is on your path (and put the 
> JDK
> on your path in Environment Variables if needed) and then double-click the
> executable again.
>
> Gj
>
> On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
>> On Windows, I don't have any problem starting up Apache NetBeans 10,
>> just by double-clicking the executable. I don't need any --jdkhome 
>> switch.
>> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I 
>> use
>> the system's installed JDK. When I run 'echo %path%' from the command 
>> line,
>> I see that the JDK as well as its bin folder are included there.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
>> davide.mosch...@gmail.com> wrote:
>>
>>>
>>>
>>> -- Forwarded message -
>>> From: Davide Moschini 
>>> Date: Tue, Feb 19, 2019 at 2:58 PM
>>> Subject: Re: Netbeans 10.0 - doesn't start
>>> To: Geertjan Wielenga 
>>>
>>>
>>> From command line, the version after the execution of "javac
>>> -version" is:
>>> javac 11.0.2
>>>
>>> In netbeans.conf I have:
>>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>
>>> davide
>>>
>>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>>> geertjan.wiele...@googlemail.com> wrote:
>>>
 When you run this on the command line, what do you see: javac
 -version

 What is the path you're referring to in netbeans.conf?

 Gj

 On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
 davide.mosch...@gmail.com> wrote:

> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
> doesn't start when i execute netbeans64.exe (not even with
> netbeans.exe)
>
> I removed all the previous java installations and installed
> jdk-11.0.2+9 and jdk-11.0.2+9-jre.
>
> Also change the path in the netbeans configuration file to the
> right java path.
>
> Configured the environment variables PATH and JAVA_HOME.
>
> When I try to run the app nothing happens.
>
> Somebody else with same issue?
>
> Also wrote this question on
> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>



Re: Netbeans 10.0 - doesn't start

2019-02-19 Thread Peter Steele
Maybe the + in the jdk directory name is the problem

On Tue, 19 Feb 2019, 15:32 Davide Moschini  When I double click on the executable nothing happens. Checked in
> processExplorer and i don't see the process in the list. Seems that it
> never starts
>
> On Tue, Feb 19, 2019 at 4:30 PM Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
>> Just double-click the executable and forget about that --jdkhome flag,
>> you don't need it.
>>
>> Gj
>>
>> On Tue, Feb 19, 2019 at 4:26 PM Davide Moschini <
>> davide.mosch...@gmail.com> wrote:
>>
>>> I would like to summarize the steps taken (sorry I forgot to include the
>>> netbeans mailing list in the last emails sent)
>>> - Netbeans 10.0 is "installed" in a folder on a D: partition.
>>> - JDK (openJDK at the moment) is installed in folder "C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> - I'm using Windows 10 64 bit
>>> - ENVIRONMENT VARIABLES:
>>> * JAVA_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\
>>> * JDK_HOME: %JAVA_HOME%
>>> * JRE_HOME: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9-jre
>>> * Path: C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9\bin, C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9-jre\bin.(other stuff)
>>> - netbeans.conf: commented out the line
>>>  netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>> - cmd line
>>> * netbeans64.exe --jdkhome "C:\Program
>>> Files\AdoptOpenJDK\jdk-11.0.2+9"
>>>The answer from cmd is:
>>>   The launcher has determined that the parent process has a console
>>> and will reuse it for its own console output.
>>>   Closing the console will result in termination of the running
>>> program.
>>>   Use '--console suppress' to suppress console output.
>>>   Use '--console new' to create a separate console window.
>>> - when I run javac -version from command line the answer is:
>>> javac 11.0.2
>>>
>>> Netbeans never started.
>>>
>>> davide
>>>
>>>
>>>
>>> On Tue, Feb 19, 2019 at 3:48 PM Geertjan Wielenga <
>>> geertjan.wiele...@googlemail.com> wrote:
>>>
 Maybe comment out the line in netbeans.conf pointing to the JDK,
 instead run 'echo %path%' to check that it is on your path (and put the JDK
 on your path in Environment Variables if needed) and then double-click the
 executable again.

 Gj

 On Tue, Feb 19, 2019 at 3:36 PM Geertjan Wielenga <
 geertjan.wiele...@googlemail.com> wrote:

> On Windows, I don't have any problem starting up Apache NetBeans 10,
> just by double-clicking the executable. I don't need any --jdkhome switch.
> In etc/netbeans.conf, I have netbeans_jdkhome commented out, so that I use
> the system's installed JDK. When I run 'echo %path%' from the command 
> line,
> I see that the JDK as well as its bin folder are included there.
>
> Gj
>
> On Tue, Feb 19, 2019 at 3:24 PM Davide Moschini <
> davide.mosch...@gmail.com> wrote:
>
>>
>>
>> -- Forwarded message -
>> From: Davide Moschini 
>> Date: Tue, Feb 19, 2019 at 2:58 PM
>> Subject: Re: Netbeans 10.0 - doesn't start
>> To: Geertjan Wielenga 
>>
>>
>> From command line, the version after the execution of "javac
>> -version" is:
>> javac 11.0.2
>>
>> In netbeans.conf I have:
>> netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk-11.0.2+9"
>>
>> davide
>>
>> On Tue, Feb 19, 2019 at 2:52 PM Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com> wrote:
>>
>>> When you run this on the command line, what do you see: javac
>>> -version
>>>
>>> What is the path you're referring to in netbeans.conf?
>>>
>>> Gj
>>>
>>> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini <
>>> davide.mosch...@gmail.com> wrote:
>>>
 I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it
 doesn't start when i execute netbeans64.exe (not even with
 netbeans.exe)

 I removed all the previous java installations and installed
 jdk-11.0.2+9 and jdk-11.0.2+9-jre.

 Also change the path in the netbeans configuration file to the
 right java path.

 Configured the environment variables PATH and JAVA_HOME.

 When I try to run the app nothing happens.

 Somebody else with same issue?

 Also wrote this question on
 https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os

>>>


Re: Netbeans 10.0 - doesn't start

2019-02-19 Thread Peter Steele
I suspect you need to set JDK_HOME

On Tue, 19 Feb 2019, 13:53 Geertjan Wielenga
 When you run this on the command line, what do you see: javac -version
>
> What is the path you're referring to in netbeans.conf?
>
> Gj
>
> On Tue, Feb 19, 2019 at 2:50 PM Davide Moschini 
> wrote:
>
>> I've just downloaded Netbeans 10.0 and on a Windows 10 64 bit it doesn't
>> start when i execute netbeans64.exe (not even with netbeans.exe)
>>
>> I removed all the previous java installations and installed jdk-11.0.2+9
>>  and jdk-11.0.2+9-jre.
>>
>> Also change the path in the netbeans configuration file to the right java
>> path.
>>
>> Configured the environment variables PATH and JAVA_HOME.
>>
>> When I try to run the app nothing happens.
>>
>> Somebody else with same issue?
>>
>> Also wrote this question on
>> https://stackoverflow.com/questions/54764657/netbeans-10-0-doesnt-start-in-windows-10-os
>>
>


Re: Help on setting up licenses for new builds

2019-02-18 Thread Peter Steele
Apologies but I have been ill recently so didn;t get a chance to create s
JIRA. I have now created https://issues.apache.org/jira/browse/NETBEANS-2138


On Mon, Feb 11, 2019 at 3:03 PM Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Just "gradle" should be fine.
>
> Gj
>
> On Mon, Feb 11, 2019 at 4:00 PM Peter Steele  wrote:
>
>> Yes sure, I'll try and consolidate all my feedback in to one jira issue.
>> Are there any specific tags required in the Jira to flag it as a new
>> gradle  issue?
>>
>> On Mon, 11 Feb 2019, 14:38 Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com wrote:
>>
>>> Yes, these are completely different supports for Gradle in Apache
>>> NetBeans.
>>>
>>> Can you explain in detail what is missing, ideally via an issue, so that
>>> it can be added?
>>>
>>> Yes, feedback is great, an issue with full description will help Laszlo
>>> and others working on this support to understand what is needed, what is
>>> missing.
>>>
>>> Can you help?
>>>
>>> Gj
>>>
>>>
>>> On Mon, Feb 11, 2019 at 3:35 PM Peter Steele 
>>> wrote:
>>>
>>>> New build equals the new builds with the new gradle functionality built
>>>> in rather than the gradle plugin. You sent another email previously asking
>>>> for testers and I have been testing and providing feedback.
>>>>
>>>> To avoid making the other email trail too large I started a separate
>>>> email trail with some specific feedback here.
>>>>
>>>> The summary is that the licencing for a gradle project is different in
>>>> the new build compared to Apache 10 build with the plugin. It's not really
>>>> useable in my mind.
>>>>
>>>> I'm not a developer of netbeans, I'm just reporting feedback.
>>>>
>>>> On Mon, 11 Feb 2019, 14:07 Geertjan Wielenga <
>>>> geertjan.wiele...@googlemail.com wrote:
>>>>
>>>>> I don't really understand the context -- what is "the new gradle
>>>>> build", for example? Do note that the Gradle support that is in the Apache
>>>>> NetBeans GitHub is different to the Gradle plugin -- i.e., this is a long
>>>>> story, but the point is that if you've been using the external Gradle
>>>>> plugin by Attila, then you need to be aware that the Gradle support
>>>>> integrated into Apache NetBeans GitHub by Laszlo is completely different.
>>>>> Missing a feature? Great -- file an issue and, ideally, provide a pull
>>>>> request.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Gj
>>>>>
>>>>>
>>>>> On Sat, Feb 9, 2019 at 7:33 AM Peter Steele 
>>>>> wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> I am testing the new gradle build, which is going well. But I have
>>>>>> noticed the license template functionality has changed.
>>>>>>
>>>>>> Previously there used to be a box to enter the organization, this has
>>>>>> now dissapeared? Where is the replacement box located? Why was it 
>>>>>> removed?
>>>>>>
>>>>>> Previously I created a profile and just applied that profile to
>>>>>> projects, now I need to select either a global license or use a gradle
>>>>>> defined license.which is set using a netbeans.license property. The 
>>>>>> options
>>>>>> for values here are to use absolute paths or short codes for the license 
>>>>>> I
>>>>>> want to use. The question is what are these short codes? I tried some
>>>>>> obvious examples for the license I want but it didn't work. Is there a 
>>>>>> list
>>>>>> somewhere?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Peter
>>>>>>
>>>>>


Re: Help on setting up licenses for new builds

2019-02-11 Thread Peter Steele
Yes sure, I'll try and consolidate all my feedback in to one jira issue.
Are there any specific tags required in the Jira to flag it as a new
gradle  issue?

On Mon, 11 Feb 2019, 14:38 Geertjan Wielenga <
geertjan.wiele...@googlemail.com wrote:

> Yes, these are completely different supports for Gradle in Apache NetBeans.
>
> Can you explain in detail what is missing, ideally via an issue, so that
> it can be added?
>
> Yes, feedback is great, an issue with full description will help Laszlo
> and others working on this support to understand what is needed, what is
> missing.
>
> Can you help?
>
> Gj
>
>
> On Mon, Feb 11, 2019 at 3:35 PM Peter Steele  wrote:
>
>> New build equals the new builds with the new gradle functionality built
>> in rather than the gradle plugin. You sent another email previously asking
>> for testers and I have been testing and providing feedback.
>>
>> To avoid making the other email trail too large I started a separate
>> email trail with some specific feedback here.
>>
>> The summary is that the licencing for a gradle project is different in
>> the new build compared to Apache 10 build with the plugin. It's not really
>> useable in my mind.
>>
>> I'm not a developer of netbeans, I'm just reporting feedback.
>>
>> On Mon, 11 Feb 2019, 14:07 Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com wrote:
>>
>>> I don't really understand the context -- what is "the new gradle build",
>>> for example? Do note that the Gradle support that is in the Apache NetBeans
>>> GitHub is different to the Gradle plugin -- i.e., this is a long story, but
>>> the point is that if you've been using the external Gradle plugin by
>>> Attila, then you need to be aware that the Gradle support integrated into
>>> Apache NetBeans GitHub by Laszlo is completely different. Missing a
>>> feature? Great -- file an issue and, ideally, provide a pull request.
>>>
>>> Thanks,
>>>
>>> Gj
>>>
>>>
>>> On Sat, Feb 9, 2019 at 7:33 AM Peter Steele 
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> I am testing the new gradle build, which is going well. But I have
>>>> noticed the license template functionality has changed.
>>>>
>>>> Previously there used to be a box to enter the organization, this has
>>>> now dissapeared? Where is the replacement box located? Why was it removed?
>>>>
>>>> Previously I created a profile and just applied that profile to
>>>> projects, now I need to select either a global license or use a gradle
>>>> defined license.which is set using a netbeans.license property. The options
>>>> for values here are to use absolute paths or short codes for the license I
>>>> want to use. The question is what are these short codes? I tried some
>>>> obvious examples for the license I want but it didn't work. Is there a list
>>>> somewhere?
>>>>
>>>> Thanks
>>>>
>>>> Peter
>>>>
>>>


Re: Help on setting up licenses for new builds

2019-02-11 Thread Peter Steele
New build equals the new builds with the new gradle functionality built in
rather than the gradle plugin. You sent another email previously asking for
testers and I have been testing and providing feedback.

To avoid making the other email trail too large I started a separate email
trail with some specific feedback here.

The summary is that the licencing for a gradle project is different in the
new build compared to Apache 10 build with the plugin. It's not really
useable in my mind.

I'm not a developer of netbeans, I'm just reporting feedback.

On Mon, 11 Feb 2019, 14:07 Geertjan Wielenga <
geertjan.wiele...@googlemail.com wrote:

> I don't really understand the context -- what is "the new gradle build",
> for example? Do note that the Gradle support that is in the Apache NetBeans
> GitHub is different to the Gradle plugin -- i.e., this is a long story, but
> the point is that if you've been using the external Gradle plugin by
> Attila, then you need to be aware that the Gradle support integrated into
> Apache NetBeans GitHub by Laszlo is completely different. Missing a
> feature? Great -- file an issue and, ideally, provide a pull request.
>
> Thanks,
>
> Gj
>
>
> On Sat, Feb 9, 2019 at 7:33 AM Peter Steele  wrote:
>
>> Hi
>>
>> I am testing the new gradle build, which is going well. But I have
>> noticed the license template functionality has changed.
>>
>> Previously there used to be a box to enter the organization, this has now
>> dissapeared? Where is the replacement box located? Why was it removed?
>>
>> Previously I created a profile and just applied that profile to projects,
>> now I need to select either a global license or use a gradle defined
>> license.which is set using a netbeans.license property. The options for
>> values here are to use absolute paths or short codes for the license I want
>> to use. The question is what are these short codes? I tried some obvious
>> examples for the license I want but it didn't work. Is there a list
>> somewhere?
>>
>> Thanks
>>
>> Peter
>>
>


Help on setting up licenses for new builds

2019-02-08 Thread Peter Steele
Hi

I am testing the new gradle build, which is going well. But I have noticed
the license template functionality has changed.

Previously there used to be a box to enter the organization, this has now
dissapeared? Where is the replacement box located? Why was it removed?

Previously I created a profile and just applied that profile to projects,
now I need to select either a global license or use a gradle defined
license.which is set using a netbeans.license property. The options for
values here are to use absolute paths or short codes for the license I want
to use. The question is what are these short codes? I tried some obvious
examples for the license I want but it didn't work. Is there a list
somewhere?

Thanks

Peter


Re: Calling all Gradle users!

2019-02-01 Thread Peter Steele
I have noticed one extra issue, if you right click in the projects view and
do a clean and build. The outputs tab in the notiifcation is not loaded up.
If it is already loaded up but the focus in the notification area is on the
Search Results tab, for example, then again the focus is not changed to the
output tab. If the output tab is open and in focus but there is another sub
tab open (like a git commit window) then again the focus doesn't change to
the output window.

On Sun, Jan 27, 2019 at 10:27 AM Peter Steele  wrote:

> Just a small bit of further feedback, in the project navigator pane (the
> one with the tree in). If you don't have a main project selected the set
> main project right click item doesn't appear. But if you have one selected
> the set main project does appear. I would say it should always appear.
>
> On Sat, 26 Jan 2019, 20:07 Peter Steele 
>> Hi
>>
>> Some good news on testing further with a brand new project and maybe some
>> suggestions for further enhancements
>>
>> 1) The exception I saw was caused by gradle running a too old version on
>> root project (the default gradle installation on linux was too low for jdk
>> 11 (actually 9 10 and 11). I fixed it by running this "gradle wrapper
>> --gradle-version 5.1".
>> 2) The issue of not loading the sub projects was only because I didn't
>> open the project from the project dialog, it opened because it was the last
>> project I opened. My suggestion here would be to default to open all
>> subprojects in this scenario.
>> 3) The issue of the sub projects changing name was caused because I had a
>> settings.gradle in root project and all the sub projects from the previous
>> gradle pluggin. In the new netbeans it is not done this way. My suggestion
>> here is to better handle the behavior if settings.gradle is present and has
>> rootProject.nane=X set to a value different to the directory name of
>> the project (the previous plugin allowed you to set th emodule name and
>> project name).
>> 4) The other reason for the compiling not working is because the root
>> project settings.gradle did not have all the includes set for the sub
>> project.
>>
>> For 3 and 4 I think this was caused by a old version of the current
>> gradle plugin as it doesn't happen now. and produces similar file to the
>> new version of netbeans
>>
>> So overall a positive experice (once I fixed issues with my project).
>>
>> Regards
>>
>> Peter
>>
>> On Sat, Jan 26, 2019 at 3:21 PM Peter Steele 
>> wrote:
>>
>>> H
>>>
>>> I downloaded the new version and ran it side by side with the current
>>> setup. After installing javafx (which was new), I got an error initially
>>>
>>> java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
>>> at
>>> java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
>>> at
>>> java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
>>> at
>>> java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
>>> at java.base/java.util.Objects.checkIndex(Objects.java:372)
>>> at java.base/java.util.ArrayList.get(ArrayList.java:458)
>>> at
>>> org.netbeans.modules.gradle.options.GradleDistributionManager.evaluateGradleWrapperDistribution(GradleDistributionManager.java:209)
>>> at
>>> org.netbeans.modules.gradle.GradleProjectCache.loadGradleProject(GradleProjectCache.java:159)
>>> at
>>> org.netbeans.modules.gradle.GradleProjectCache.access$100(GradleProjectCache.java:83)
>>> [catch] at
>>> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:337)
>>> at
>>> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:311)
>>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>>> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>>> at
>>> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>>> at
>>> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
>>>
>>> It then installed nc-javac and requested a restart. After the restart I
>>> got the same error again. My root project + subprojects project was
>>> attempted to be opened but it didn't recognise the fact the that the root
>>> project was a root project and didn't load al

Re: Calling all Gradle users!

2019-01-27 Thread Peter Steele
Just a small bit of further feedback, in the project navigator pane (the
one with the tree in). If you don't have a main project selected the set
main project right click item doesn't appear. But if you have one selected
the set main project does appear. I would say it should always appear.

On Sat, 26 Jan 2019, 20:07 Peter Steele  Hi
>
> Some good news on testing further with a brand new project and maybe some
> suggestions for further enhancements
>
> 1) The exception I saw was caused by gradle running a too old version on
> root project (the default gradle installation on linux was too low for jdk
> 11 (actually 9 10 and 11). I fixed it by running this "gradle wrapper
> --gradle-version 5.1".
> 2) The issue of not loading the sub projects was only because I didn't
> open the project from the project dialog, it opened because it was the last
> project I opened. My suggestion here would be to default to open all
> subprojects in this scenario.
> 3) The issue of the sub projects changing name was caused because I had a
> settings.gradle in root project and all the sub projects from the previous
> gradle pluggin. In the new netbeans it is not done this way. My suggestion
> here is to better handle the behavior if settings.gradle is present and has
> rootProject.nane=X set to a value different to the directory name of
> the project (the previous plugin allowed you to set th emodule name and
> project name).
> 4) The other reason for the compiling not working is because the root
> project settings.gradle did not have all the includes set for the sub
> project.
>
> For 3 and 4 I think this was caused by a old version of the current gradle
> plugin as it doesn't happen now. and produces similar file to the new
> version of netbeans
>
> So overall a positive experice (once I fixed issues with my project).
>
> Regards
>
> Peter
>
> On Sat, Jan 26, 2019 at 3:21 PM Peter Steele  wrote:
>
>> H
>>
>> I downloaded the new version and ran it side by side with the current
>> setup. After installing javafx (which was new), I got an error initially
>>
>> java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
>> at
>> java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
>> at
>> java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
>> at
>> java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
>> at java.base/java.util.Objects.checkIndex(Objects.java:372)
>> at java.base/java.util.ArrayList.get(ArrayList.java:458)
>> at
>> org.netbeans.modules.gradle.options.GradleDistributionManager.evaluateGradleWrapperDistribution(GradleDistributionManager.java:209)
>> at
>> org.netbeans.modules.gradle.GradleProjectCache.loadGradleProject(GradleProjectCache.java:159)
>> at
>> org.netbeans.modules.gradle.GradleProjectCache.access$100(GradleProjectCache.java:83)
>> [catch] at
>> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:337)
>> at
>> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:311)
>> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
>> at
>> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
>> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
>> at
>> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
>>
>> It then installed nc-javac and requested a restart. After the restart I
>> got the same error again. My root project + subprojects project was
>> attempted to be opened but it didn't recognise the fact the that the root
>> project was a root project and didn't load all the sub projects. When I
>> closed all the projects and reopened the root project it seemed to
>> recognise the root project and that it had sub projects just fine but the
>> error above still came up.
>>
>> When I right click on the sub projects and say open project (would be
>> much nicer if they were opened by default), the project name in the sub
>> projects tree and the name in the new open project tree node are renamed to
>> the settings.gradle -> rootProject.name value from the directory name value
>> (which is the name of the project it was given when created).
>>
>> When I try and run the main sub project, which depends on the other sub
>> projects I get lots of compile errors because it can't find the classes in
>> the other sub projects. This is because the

Re: Calling all Gradle users!

2019-01-26 Thread Peter Steele
Hi

Some good news on testing further with a brand new project and maybe some
suggestions for further enhancements

1) The exception I saw was caused by gradle running a too old version on
root project (the default gradle installation on linux was too low for jdk
11 (actually 9 10 and 11). I fixed it by running this "gradle wrapper
--gradle-version 5.1".
2) The issue of not loading the sub projects was only because I didn't open
the project from the project dialog, it opened because it was the last
project I opened. My suggestion here would be to default to open all
subprojects in this scenario.
3) The issue of the sub projects changing name was caused because I had a
settings.gradle in root project and all the sub projects from the previous
gradle pluggin. In the new netbeans it is not done this way. My suggestion
here is to better handle the behavior if settings.gradle is present and has
rootProject.nane=X set to a value different to the directory name of
the project (the previous plugin allowed you to set th emodule name and
project name).
4) The other reason for the compiling not working is because the root
project settings.gradle did not have all the includes set for the sub
project.

For 3 and 4 I think this was caused by a old version of the current gradle
plugin as it doesn't happen now. and produces similar file to the new
version of netbeans

So overall a positive experice (once I fixed issues with my project).

Regards

Peter

On Sat, Jan 26, 2019 at 3:21 PM Peter Steele  wrote:

> H
>
> I downloaded the new version and ran it side by side with the current
> setup. After installing javafx (which was new), I got an error initially
>
> java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
> at
> java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
> at
> java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
> at
> java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
> at java.base/java.util.Objects.checkIndex(Objects.java:372)
> at java.base/java.util.ArrayList.get(ArrayList.java:458)
> at
> org.netbeans.modules.gradle.options.GradleDistributionManager.evaluateGradleWrapperDistribution(GradleDistributionManager.java:209)
> at
> org.netbeans.modules.gradle.GradleProjectCache.loadGradleProject(GradleProjectCache.java:159)
> at
> org.netbeans.modules.gradle.GradleProjectCache.access$100(GradleProjectCache.java:83)
> [catch] at
> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:337)
> at
> org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:311)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
>
> It then installed nc-javac and requested a restart. After the restart I
> got the same error again. My root project + subprojects project was
> attempted to be opened but it didn't recognise the fact the that the root
> project was a root project and didn't load all the sub projects. When I
> closed all the projects and reopened the root project it seemed to
> recognise the root project and that it had sub projects just fine but the
> error above still came up.
>
> When I right click on the sub projects and say open project (would be much
> nicer if they were opened by default), the project name in the sub projects
> tree and the name in the new open project tree node are renamed to the
> settings.gradle -> rootProject.name value from the directory name value
> (which is the name of the project it was given when created).
>
> When I try and run the main sub project, which depends on the other sub
> projects I get lots of compile errors because it can't find the classes in
> the other sub projects. This is because the compile dependencies are
> currently set in the build.gradle of the root project. In the current
> gradle plugin it runs everything from the root projects perspective and
> allows you to choose a sub project to be the main sub project where as this
> new version of netbeans runs things from the perspective of the subproject
> in isolation.
>
> Sorry if the above doesn't make sense, I will try later on today to get an
> example project together which highlights as many of the issues as I can.
> I'll create the project in the new version of netbeans to test the creation
> process too.
>
> Regards
>
> Peter
>
>
> On Sat, Jan 26, 2019 at 2

Re: Calling all Gradle users!

2019-01-26 Thread Peter Steele
H

I downloaded the new version and ran it side by side with the current
setup. After installing javafx (which was new), I got an error initially

java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at
java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at
java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at
java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
at java.base/java.util.Objects.checkIndex(Objects.java:372)
at java.base/java.util.ArrayList.get(ArrayList.java:458)
at
org.netbeans.modules.gradle.options.GradleDistributionManager.evaluateGradleWrapperDistribution(GradleDistributionManager.java:209)
at
org.netbeans.modules.gradle.GradleProjectCache.loadGradleProject(GradleProjectCache.java:159)
at
org.netbeans.modules.gradle.GradleProjectCache.access$100(GradleProjectCache.java:83)
[catch] at
org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:337)
at
org.netbeans.modules.gradle.GradleProjectCache$ProjectLoaderTask.call(GradleProjectCache.java:311)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

It then installed nc-javac and requested a restart. After the restart I got
the same error again. My root project + subprojects project was attempted
to be opened but it didn't recognise the fact the that the root project was
a root project and didn't load all the sub projects. When I closed all the
projects and reopened the root project it seemed to recognise the root
project and that it had sub projects just fine but the error above still
came up.

When I right click on the sub projects and say open project (would be much
nicer if they were opened by default), the project name in the sub projects
tree and the name in the new open project tree node are renamed to the
settings.gradle -> rootProject.name value from the directory name value
(which is the name of the project it was given when created).

When I try and run the main sub project, which depends on the other sub
projects I get lots of compile errors because it can't find the classes in
the other sub projects. This is because the compile dependencies are
currently set in the build.gradle of the root project. In the current
gradle plugin it runs everything from the root projects perspective and
allows you to choose a sub project to be the main sub project where as this
new version of netbeans runs things from the perspective of the subproject
in isolation.

Sorry if the above doesn't make sense, I will try later on today to get an
example project together which highlights as many of the issues as I can.
I'll create the project in the new version of netbeans to test the creation
process too.

Regards

Peter


On Sat, Jan 26, 2019 at 2:06 PM marccollin7...@gmail.com <
marccollin7...@gmail.com> wrote:

> like i said work fine but it use a lot more memory...
>
> gc monitor with netbeans 10 turn around 500mb... now with this release i
> go to 2000mb and cpu is high
>
> On 2019/01/26 13:07:14, Geertjan Wielenga
>  wrote:
> > Hi all,
> >
> > If you're using Gradle in any way at all -- and especially if you have
> some
> > Gradle projects of whatever kind lying around -- we need you!
> >
> > Thanks to Laszlo, we have integration with Gradle for the first time in
> the
> > upcoming release scheduled to be released in March. We need as many as
> > possible to try out the Gradle features, i.e., simply open your existing
> > projects into the latest NetBeans builds and see if there are any
> problems
> > so they can be fixed in time.
> >
> > Interested? Please respond to this e-mail indicating your intention to
> try
> > out your existing Gradle projects in the upcoming release of Apache
> > NetBeans and we'll work on this together from there initially via this
> mail
> > thread.
> >
> > For example, without any problems at all, I was able to open and work
> with
> > this random project I found on GitHub:
> >
>
> -
> 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: Calling all Gradle users!

2019-01-26 Thread Peter Steele
I am a big gradle user, I currently use the gradle plugin setup with a root
project and many sub projects. I am interested in helping. I'm currently on
netbeans 10 with jdk 11 (there is a minimum version of gradle required for
Jdk 11)

On Sat, 26 Jan 2019, 13:07 Geertjan Wielenga
 Hi all,
>
> If you're using Gradle in any way at all -- and especially if you have
> some Gradle projects of whatever kind lying around -- we need you!
>
> Thanks to Laszlo, we have integration with Gradle for the first time in
> the upcoming release scheduled to be released in March. We need as many as
> possible to try out the Gradle features, i.e., simply open your existing
> projects into the latest NetBeans builds and see if there are any problems
> so they can be fixed in time.
>
> Interested? Please respond to this e-mail indicating your intention to try
> out your existing Gradle projects in the upcoming release of Apache
> NetBeans and we'll work on this together from there initially via this mail
> thread.
>
> For example, without any problems at all, I was able to open and work with
> this random project I found on GitHub:
>
>


Strangeness with auto encapsupation

2019-01-07 Thread Peter Steele
Hi

When using the Refactor - Encapsulate menu item I get two different
behaviours depending on what I do.

1)

Action : select the whole text of the field you want to encapsulate, select
the encapsulate option and select get / set or both (doesn't matter)

Result : the get / set or both methods are generated at the very top of the
class

2)

Action : place the cursor caret in the text of the field you want to
encapsulate, select the encapsulate option and select get / set or both
(doesn't matter)

Result : the get / set or both methods are generated at the very bottom of
the class

Is there a reason for there being a difference?

Regards

Peter


Re: Netbeans 10 Gradle support

2019-01-04 Thread Peter Steele
I downloaded from the authors GitHub page and added manually, works fine
when you have the groovy plugin. Would be good to get it added in to the
repository though

On Fri, 4 Jan 2019, 14:39 Mark A. Claassen  I just tried the final release of Netbeans 10 and everything work pretty
> well.  However, I am unable to find a Gradle plugin.   Even adding the old
> update centers, I can’t find one.  Here are the additional update centers I
> tried:
>
>
>
> http://plugins.netbeans.org/nbpluginportal/updates/8.2/catalog.xml.gz
>
> https://netbeans.apache.org/nb/updates/9.0/updates.xml.gz
>
>
> http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
>
>
>
> Any ideas on how I can find this plugin?
>
>
>
> Thanks!
>
>
>
> Mark Claassen
>
> Senior Software Engineer
>
>
>
> Donnell Systems, Inc.
>
> 130 South Main Street
>
> Leighton Plaza Suite 375
>
> South Bend, IN  46601
>
> E-mail: mailto:mclaas...@ocie.net 
>
> Voice: (574)232-3784
>
> Fax: (574)232-4014
>
>
>
> Disclaimer:
>
> The opinions provided herein do not necessarily state or reflect
>
> those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and
>
> assumes no legal liability or responsibility for the posting.
>
>
>


Re: [netbeans] offline installation

2018-12-29 Thread Peter Steele
Oracle already has "donated" it in a way because of the openjdk project.
Nb-javac is just an extension of the javac distributed with added extras to
make ide's able to parse the results of compiling better (that's my take).
Intelij does a similar thing, presumably based on the openjdk code.

The difference being intelij doesn't make you download something extra. So
the question is valid, why is netbeans different to intelij in this respect
and why does it have to be downloaded separately. I personally find it
weird why oracle thinks it wants to keep the extended javac code a secret
when the javac code is visible at the openjdk project.

On Sat, 29 Dec 2018, 17:43 Geertjan Wielenga
 No, that's the point. It will never be donated to Apache. It belongs to
> Oracle. Oracle is never going to donate its Java compiler, or forks
> thereof, to anybody.
>
> Gj
>
> On Sat, Dec 29, 2018 at 6:41 PM Alex O'Ree  wrote:
>
>> Is nb-javac on the roadmap for being donated to apache?
>>
>> On Sat, Dec 29, 2018 at 10:54 AM Geertjan Wielenga <
>> geertjan.wiele...@googlemail.com> wrote:
>>
>>> Why can't we just bundle it all together and have it ready to go in the
 zip?

>>>
>>> Because, for example, in the case of Java support in Apache NetBeans,
>>> the nb-javac compiler belongs to Oracle and is GPL licensed and hence
>>> cannot be distributed by Apache. You need to install it yourself, i.e.,
>>> individually accept the licensing terms.
>>>
>>> Gj
>>>
>>> On Sat, Dec 29, 2018 at 4:52 PM Alex O'Ree  wrote:
>>>
 For what it's worth, I often have to install netbeans on computers that
 are not connected to the internet. In v8.2 and prior, I could download the
 EE version and have everything I need to get up and running (except for
 maven dependencies and any additional netbeans plugins). Maven dependencies
 can be synced using a local nexus server and some swivel chair action and i
 was able to find a way to clone the entire netbeans plugin repo for local
 installations.

 With the newer installs, we're pretty much forced o be online during
 the first "activation" of a specific feature. Why can't we just bundle it
 all together and have it ready to go in the zip? Alternatively, if there a
 single place there all of the online activation stuff downloads the
 necessary dependencies from then it's possible that i can just clone that
 website/repo. Is this how it works? If so, where is the repo?

>>>


Upgrading from 9 to 10 experience

2018-12-28 Thread Peter Steele
Hi

I've upgraded from 9 to 10 and wanted provide some feedback. Overall the
experience was very positive but I encountered the following

1) I imported settings from 9 but a couple of plugins I downloaded
(darcular laf and gradle) were not copied across. Would be nice if these
were imported too. I had to re install the plugins.

2) most of the core API was disabled (Java for example). I had to install
to nbjavac and oracle plugin and then re enable all the core plugins

3) I expected this but thought I would feedback anyway. I have some
settings in .conf to ignore dpiaware and to set a UI scaling value (for 4k
res). These don't copy across installations. Maybe having some thing in the
profile that can be used extract extra options would solve this (or maybe
this exists already and I don't know about it 😀)


Groovy

2018-10-22 Thread Peter Steele
Hi

I am trying to install the latest version of gradle from here

http://plugins.netbeans.org/plugin/44510/gradle-support

I have the 8.2 version but I want a later version as the 8.2 gradle plugin
doesn't seem to work with the lastest version of ubuntu.

I have an issue though, I get this message.
   Some plugins require plugin Groovy Support to be installed. The
plugin Groovy Support is requested in version >= 1.42 but only 1.41.1 was
found.

The following plugin is affected:
  Gradle Support


Do you know how I can get Groovy Support version >= 1.42?

My update center has this. there is no update available from the ide

*Version: *1.34.1
*Source: *Netbeans 8.2

Plugin Description This module provides all Groovy and Grails functionality
available in NetBeans. It is wrapper for all single modules in this area.


Thanks

Peter


Re: Gradle doesn't works on NB9

2018-08-30 Thread Peter Steele
You have the latest version so as Gj says drop some questions to the
author.

On Thu, 30 Aug 2018 08:08 Geertjan Wielenga,
 wrote:

> No, again, this is where you're going to send your questions and concerns
> about the Gradle support:
>
> https://github.com/kelemen/netbeans-gradle-project/issues
>
> Thanks,
>
> Gj
>
>
> On Thu, Aug 30, 2018 at 8:06 AM, Miroslav Nachev <
> mnachev.nscenter...@gmail.com> wrote:
>
>> v1.4.3
>> [image: image.png]
>>
>> On Thu, Aug 30, 2018 at 10:01 AM Peter Steele 
>> wrote:
>>
>>> I use java 11 with the gradle plug in and it is working fine for me.
>>> Which plug in version do you use?
>>>
>>> The version that was live when only 8.2 was around had issue for me in 9
>>> (maybe even 8.2 too) but the latest version has quite a few fixes. I have a
>>> vague memory that the issue you are seeing below is because you aren't on
>>> the latest version
>>>
>>>
>>> On 30 Aug 2018 06:37, "Miroslav Nachev" 
>>> wrote:
>>>
>>> Hi,
>>>
>>> I have big difficulty in compiling and running projects that use Gradle.
>>> To use such projects, I do one of the following:
>>> - Copy the project and modify it in Maven to be available in NetBeans.
>>> - I run it from the console and make changes through an external editor.
>>> - I use Eclipse to be able to compile, debug and run the project from
>>> IDE.
>>>
>>> What are the issues:
>>>
>>>- Once the project is opened, its content is unavailable.
>>>[image: image.png]
>>>- When I want to test, compile/build, or run the project, there are
>>>various Exceptions like this:
>>>Stack trace:
>>>org.gradle.tooling.BuildException: Could not execute build using
>>>Gradle distribution '
>>>https://services.gradle.org/distributions/gradle-4.5.1-bin.zip'.
>>>at
>>>
>>> org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51)
>>>Caused by: org.gradle.internal.exceptions.LocationAwareException:
>>>Task 'cleanTest' not found in root project 'testfx-junit5'.
>>>at
>>>
>>> org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:74)
>>>Caused by: org.gradle.execution.TaskSelectionException: Task
>>>'cleanTest' not found in root project 'testfx-junit5'.
>>>- When I use JDK 10 and 11, I have many problems
>>>
>>> What is the way I can use Gradle via NetBeans IDE?
>>>
>>>
>>> Regards,
>>> Miro.
>>>
>>>
>>>
>


Re: Groovy and Grails

2018-08-11 Thread Peter Steele
Thanks, that worked perfectly

On Sat, 11 Aug 2018 08:03 Marco Ambu,  wrote:

> In the apache netbeans blog there is a post about plugins for netbeans 9.
> In brief, you need to use the nb 8.2 update center.
>
> On Sat, 11 Aug 2018, 07:49 Peter Steele,  wrote:
>
>> Hi
>>
>> I recently tried to upgrade from a pre 9.0 release in April to the 9.0
>> release not that is has been released. I have found an issue on the
>> migration though.
>>
>> The update center has changed now and I can no longer install Groovy and
>> Grails plugin and because of this the Gradle plugin doesn't work anymore
>> (and all my projects use gradle)
>>
>> Is there a way to get around this?
>>
>> Thanks
>>
>> Peter
>>
> --
> Marco Ambu
>


Groovy and Grails

2018-08-10 Thread Peter Steele
Hi

I recently tried to upgrade from a pre 9.0 release in April to the 9.0
release not that is has been released. I have found an issue on the
migration though.

The update center has changed now and I can no longer install Groovy and
Grails plugin and because of this the Gradle plugin doesn't work anymore
(and all my projects use gradle)

Is there a way to get around this?

Thanks

Peter


Re: Long Live NetBeans!

2018-03-07 Thread Peter Steele
Ashton

What i think people are saying is, they appreciate your offer of helping
financially but at this stage, in the migration to Apache, the focus is
getting the first release out for which the netcat process is key.

Once netbeans is more established in Apache i am sure suggestions like this
could be looked at to explorer if they could work or not.

Keep up your enthusiasm 😀 If you have time, contribute, if not then you
will need to wait patiently for the first version.

On 7 Mar 2018 10:48, "Ashton Hogan"  wrote:

> Maybe you're right.
>
> I must say, based on my research, I truly believed commercial activity to
> be the answer to revive NetBeans. Capitalism always outperforms socialism
> in prosperity so why wouldn't capital work for NetBeans?
>
> Sorry to hear that this won't work for NetBeans, I tried to help!
>
>
> On Wednesday, 7 March 2018, 10:44:09 GMT, Geertjan Wielenga <
> geertjan.wiele...@googlemail.com> wrote:
>
>
> All the time you have now spent in this discussion, which is clearly not
> going to end with anyone spending the time to take your money, you could
> have spent on signing up to the NetCAT process and then following step by
> step instructions -- that don't require any special knowledge -- to help
> prepare Apache NetBeans for its first official release.
>
> Gj
>
>
> On Wed, Mar 7, 2018 at 11:42 AM, Ashton Hogan <
> ashtonho...@ymail.com.invalid> wrote:
>
> True Jean-Michel, I understand NetBeans has a different business structure
> to competitors as well though so it's not as easy. So you think it's
> impossible?
>
> On Wednesday, 7 March 2018, 10:38:34 GMT,  wrote:
>
>
> Hi,
>
> Sometimes a project need time more than money.
> And receiving money takes time! (Somebody needs to manage the money + any
> legal around it, somebody need to hire the testers and managed them, etc...)
>
> Jean-Michel
>
> On Wed, 7 Mar 2018, at 10:32, Ashton Hogan wrote:
>
>
> What if my time is more productive elsewhere? I think there's an element
> of assigning the right people to the right jobs. I have more money than
> time at the moment, that's all I can offer.
>
> On Wednesday, 7 March 2018, 09:57:25 GMT, Geertjan Wielenga 
>  com > wrote:
>
>
> Nope. That excuse does not compute. :-) When you participate in NetCAT,
> you get step by step instructions for what to test, how, and where.
>
> We don’t want your money, we want your time.
>
> Gj
>
> On Wednesday, March 7, 2018, ashtonho...@ymail.com 
> wrote:
>
> I would love to but I just don't have the necessary knowledge and skills
> to do a good job at it. If we had a piggy bank, it would come in handy to
> pay for skills when contributors are running low though, surely?
>
>
>  Original Message 
> Subject: Re: Long Live NetBeans!
> From: Geertjan Wielenga
> To: users@netbeans.incubator. apache.org
> 
> CC:
>
>
> Well, for the moment, the very best way to contribute back to Apache
> NetBeans is to be involved here:
>
> https://cwiki.apache.org/ confluence/display/NETBEANS/ NetCAT
> 
>
> In fact, that's more useful at this stage than money. :-)
>
> Gj
>
> On Wed, Mar 7, 2018 at 8:46 AM, ashtonho...@ymail.com <
> ashtonho...@ymail.com> wrote:
>
> It's available https://www.name.com/domain/se arch/netbeansfield.com
> 
>
> Sent from my Huawei Mobile
>
>
>  Original Message 
> Subject: Re: Long Live NetBeans!
> From: John Muczynski
> To: ashtonho...@ymail.com.invalid
> CC: users@netbeans.incubator.apach e.org
> ,geertjan.wielenga@google mail.com
> 
>
>
> Maybe a NetBeans field -- BeanField -- as in a field where beans are grown.
>
>
> --
> Johnny Muczynski
> 734-262-2045
>
>
> On Tue, Mar 6, 2018 at 12:13 PM Ashton Hogan  > wrote:
>
>
> I like it, I like it a lot. Let's do it!
>
> On Tuesday, 6 March 2018, 17:01:20 GMT, Geertjan Wielenga 
>  com > wrote:
>
>
> Thanks for the enthusiasm. :-) As an Apache project, NetBeans will not be
> able to earn money directly -- all money coming into Apache goes to the
> foundation as a whole:
>
> http://www.apache.org/foundati on/sponsorship.html
> 
>
> However, potentially, there could be an organization that we set up
> together comparable to Tomitribe (tomitribe.com), i.e., Apache TomEE (
> tomee.apache.org) has an external organization that provides support and
> so on -- and also receives money. I.e., we could have a NetBeans Tribe or
> something like that, which could offer advanced features or maybe fix bugs
> on demand or something like that, in exchange for money.
>
> Just a thought, though something for the future, if at all.
>
> Gj
>
> On Tue, Mar 6, 2018 at 5:50 PM, Ashton Hogan <
> ashtonho...@ymail.com.invalid > wrote:
>
>
> Hi all
>
> Like all of you, I use NetBeans to build my own projects. Lately I've
> noticed a particular competitor IDE being demanded more on job specs and
> wondered how they managed to

Re: Java EE version support

2018-03-06 Thread Peter Steele
You need tomcat 8/9 for servlet 3.1 support which is what j2ee 7 provides

On 6 Mar 2018 15:58, "Geertjan Wielenga" 
wrote:

> There's a pretty big difference between Java 8 and Java EE 8...
>
> Gj
>
> On Tue, Mar 6, 2018 at 4:55 PM, James Finnall  wrote:
>
>> My server states it is using JVM 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-
>> b12
>>
>> I am told that indicates Java 8.
>>
>> James
>>
>> On Tue, 2018-03-06 at 16:47 +0100, Geertjan Wielenga wrote:
>> > Does Tomcat support Java EE 7?
>> >
>> > Gj
>> >
>> > On Tue, Mar 6, 2018 at 4:46 PM, James Finnall 
>> > wrote:
>> > > The tutorial provided a reference to using GlassFish server.  I do
>> > > have
>> > > the option for EE 7 on GlassFish.  It did not mention Tomcat.
>> > >
>> > > When I choose Tomcat on a new project it only provides options for
>> > > version 6 and 5.  It does not list version 7.
>> > >
>> > > Thank you,
>> > > James
>> > >
>> > >
>> > > On Tue, 2018-03-06 at 16:32 +0100, Geertjan Wielenga wrote:
>> > > > https://netbeans.org/kb/docs/javaee/javaee-gettingstarted.html
>> > > >
>> > > > Gj
>> > > >
>> > > > On Tue, Mar 6, 2018 at 4:30 PM, James Finnall 
>> > > > wrote:
>> > > > > What about Java EE 7 then?
>> > > > >
>> > > > > On Tue, 2018-03-06 at 16:16 +0100, Geertjan Wielenga wrote:
>> > > > > >
>> > > > > > Java EE 8 is not supported at this stage.
>> > > > > >
>> > > > > > Gj
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > > On Tue, Mar 6, 2018 at 4:15 PM, James Finnall > > > l.ne
>> > > > > t>
>> > > > > > > wrote:
>> > > > > > > > Hello All,
>> > > > > > > >
>> > > > > > > > Just upgraded to Netbeans 8.2 and Java EE Base plug-in is
>> > > > > 1.31.1
>> > > > > > > > as I
>> > > > > > > > recall.  Attempting to get support for Java EE 7 or 8.
>> > > > > Netbeans
>> > > > > > > > stated
>> > > > > > > > I needed to upgrade to support string comparisons in a
>> > > switch
>> > > > > > > > statement.
>> > > > > > > >
>> > > > > > > > After the upgrades I am still limited to Java EE 6.  It
>> > > does
>> > > > > show
>> > > > > > > > Java
>> > > > > > > > EE 7 for a GlassFish server, but not EE 8.  When I select
>> > > > > Tomcat
>> > > > > > > > it
>> > > > > > > > drops back to 6 and 5 again.  Tomcat is what I need to
>> > > > > support.
>> > > > > > > > Our
>> > > > > > > > Tomcat server is running 8.5.23 and JVM version 1.8.
>> > > > > > > >
>> > > > > > > > So how I am suppose to upgrade to 7 or 8?
>> > > > > > > >
>> > > > > > > > I suspect there are others that have done this before.
>> > > As
>> > > > > for me
>> > > > > > > > I am
>> > > > > > > > just starting in the Java world.
>> > > > > > > >
>> > > > > > > > Thank you,
>> > > > > > > > James
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > ---
>> > > 
>> > > > > 
>> > > > > > > > --
>> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@netbeans.apache
>> > > .org
>> > > > > > > > For additional commands, e-mail: users-h...@netbeans.apac
>> > > he.o
>> > > > > rg
>> > > > > > > >
>> > > > > > > > For further information about the NetBeans mailing lists,
>> > > > > visit:
>> > > > > > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mail
>> > > ing+
>> > > > > list
>> > > > > > > > s
>> > > > > > > >
>> > > > > > > >
>> > > > > > >
>> > > > >
>> > > > > -
>> > > 
>> > > > > 
>> > > > > 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+li
>> > > sts
>> > > > >
>> > > > >
>> > >
>> > > -
>> > > 
>> > > 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
>> > >
>> > >
>>
>> -
>> 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
>>
>>
>