Re: Configuring Inno setup on NB Maven project breaks Run / Run file

2022-09-02 Thread Jonathan Bergh
Thanks both for your responses much appreciated - yes Profiles do work for
this, so I have done that.

1) Any info on what Release-Profile is - is the a NB provided profile? Its
not configured in my settings/xml, so I assume its from the Maven conf
packaged with NB?
2) On nbpackge, that looks very interesting. Is there a repo for said
plugin or is the feasibility discussion still underway?

Best regards
Jon
ᐧ

On Fri, Sep 2, 2022 at 10:32 PM Neil C Smith  wrote:

> On Fri, 2 Sept 2022 at 11:23, Jonathan Bergh 
> wrote:
> > Is there any way to keep an existing execution process configured but
> still be able to run maven projects which are under development?
> >
> > It would be a bit annoying to have to deconfigure that build step (Inno
> packaging) and run it manually after the fact just to allow NB to run the
> project during development.
>
> You should be able to use Maven profiles for this.
>
> Incidentally, I've also been looking at the potential for providing
> NBPackage as a Maven plugin.  That's another way to package with
> InnoSetup.
>
> https://github.com/apache/netbeans-tools/tree/master/nbpackage
>
> Best wishes,
>
> Neil
>


Configuring Inno setup on NB Maven project breaks Run / Run file

2022-09-02 Thread Jonathan Bergh
hi there,

It's clear that when using NB with Maven, NB uses the exec-maven-plugin to
run the jar, but configuring another process using that plugin breaks the
Run / Run File facility in NB (Inno Setup, for example).

Is there any way to keep an existing execution process configured but still
be able to run maven projects which are under development?

It would be a bit annoying to have to deconfigure that build step (Inno
packaging) and run it manually after the fact just to allow NB to run the
project during development.

Thanks in advance
Regards
Jon
ᐧ


Re: Gradle "Failed to notify build listener" project load error

2022-06-20 Thread Jonathan Bergh
Hi @laszlo

Yes sure, thanks for the response. I have added an issue in Github

https://github.com/apache/netbeans/issues/4238

I've added everything I can find about the issue, hope thats enough.
ᐧ

On Fri, Jun 17, 2022 at 9:59 PM Laszlo Kishalmi 
wrote:

> Could you provide more details and/or file an issue on Github?
>
>
> On 6/15/22 10:03, Jonathan Bergh wrote:
>
> hi guys,
>
> Once again, thanks so much for the new software release. Trying to load
> existing projects in v14, I am getting a Gradle priming build error "Failed
> to notify build listener" error when loading projects.
>
> I am running NB on Zulu JDK11 and for various reasons, need to run the
> project on Gradle wrapper 4.10.2.
>
> This project and subprojects open fine in NB v13, with the same Options >
> Java > Gradle config and the same JDK.
>
> Any ideas?
>
> Thanks in advance
> Jonathan
>
> ᐧ
>
>


Gradle "Failed to notify build listener" project load error

2022-06-15 Thread Jonathan Bergh
hi guys,

Once again, thanks so much for the new software release. Trying to load
existing projects in v14, I am getting a Gradle priming build error "Failed
to notify build listener" error when loading projects.

I am running NB on Zulu JDK11 and for various reasons, need to run the
project on Gradle wrapper 4.10.2.

This project and subprojects open fine in NB v13, with the same Options >
Java > Gradle config and the same JDK.

Any ideas?

Thanks in advance
Jonathan

ᐧ


Re: Project open hangs

2022-03-20 Thread Jonathan Bergh
I've noticed this behavior in 12.6 and also in 13. In my case, I've not had
an indefinite wait, but certainly much longer than expected and enough to
make a user think things have potentially hung.

I've noted the delay decreases after a couple of runs, so I assumed it was
something related to initialization after a fresh install.

On Sun, 20 Mar 2022, 10:26 PM antonio,  wrote:

> Tips:
>
> - "jps" prints the process ids of running Java programs.
> - "jstack pid" dumps the stack trace of the give pid.
>
> The stack trace will print deadlocks, if any.
>
> Hope this helps,
> Antonio
>
> El 19/3/22 a las 20:29, Jürgen Weber escribió:
> > Any tips?
>
> -
> 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
>
>


Vote of thanks - Netbeans 13

2022-03-06 Thread Jonathan Bergh
Just a vote of thanks to all those involved in the release of the latest
Netbeans - it's much appreciated.


Re: Netbeans 8.2 download link

2022-03-03 Thread Jonathan Bergh
hi Brad,

Thanks a lot - yes unfortunately I'm on Windows (for work purposes, not
preference) and after quite a bit of searching was unable to find anything
precompiled available. If only we could all run *nix.

Cheers
Jon

On Fri, Mar 4, 2022 at 4:51 AM Bradley Willcott 
wrote:

> Hi Jonathon.
> I am running Fedora Linux (34).  I installed 'ccls' using the 'dnf'
> package installer, collecting it from the '@fedora' repository.
> For MSWin I suppose you will have to do some searching, unless some else
> on this list can help there.
>
> Regards,
> Brad.
>
> On 3/3/22 17:51, Jonathan Bergh wrote:
>
> Hi Brad,
>
> Thanks a lot - appreciate that advice.
>
> I actually tried that route previously, but started having strange issues
> with my gradle based projects not long after that (previously working
> projects would not load, even after clearing the cache etc). I am not sure
> whether that was related to the gradle stuff itself or funny things
> happening from updates from older plugin centers (really not sure, i have
> no insight / experience into how it all works), but I ended up doing a
> clean install to get everything running again.
>
> regarding the ccls approach - do you still need to compile your own
> language server, or are their prebuilt binaries available now?
>
> best regards
> jonathan
>
> On Thu, Mar 3, 2022 at 9:30 PM Bradley Willcott 
> wrote:
>
>> Hi Jonathon.
>> You may not know that NB12+ can be used for both C and C++ development.
>>
>> Go to "Tools/Plugins"
>> Select "Settings", then Activate "Netbeans 8.2 Plugin Portal"
>> Select "Updates" and press [Check for Updates]
>> Select "Available Plugins" and press [Check for Newest]
>>
>> Then scroll down and look for "C/C++" - select and install this plugin.
>> You might also want to select and install "CPPLite Kit" as well.
>> This last one will require "ccls" to be installed on your system.
>>
>> Hope this helps.
>> Brad.
>>
>> On 2/3/22 10:50, Jonathan Bergh wrote:
>> > hi all,
>> >
>> > just wondering if anyone has / knows the (a) link for the old Oracle
>> > Netbeans 8.2 download. I know there is any floating around, but the
>> > one on the Apache Netbeans pre-Apache page currently redirects to a
>> > dead end.
>> >
>> > Needed because of the C++ capabilities.
>> >
>> > Thanks in advance
>> > Regards
>> > Jon
>>
>>
>


Re: Netbeans 8.2 download link

2022-03-03 Thread Jonathan Bergh
Hi Brad,

Thanks a lot - appreciate that advice.

I actually tried that route previously, but started having strange issues
with my gradle based projects not long after that (previously working
projects would not load, even after clearing the cache etc). I am not sure
whether that was related to the gradle stuff itself or funny things
happening from updates from older plugin centers (really not sure, i have
no insight / experience into how it all works), but I ended up doing a
clean install to get everything running again.

regarding the ccls approach - do you still need to compile your own
language server, or are their prebuilt binaries available now?

best regards
jonathan

On Thu, Mar 3, 2022 at 9:30 PM Bradley Willcott 
wrote:

> Hi Jonathon.
> You may not know that NB12+ can be used for both C and C++ development.
>
> Go to "Tools/Plugins"
> Select "Settings", then Activate "Netbeans 8.2 Plugin Portal"
> Select "Updates" and press [Check for Updates]
> Select "Available Plugins" and press [Check for Newest]
>
> Then scroll down and look for "C/C++" - select and install this plugin.
> You might also want to select and install "CPPLite Kit" as well.
> This last one will require "ccls" to be installed on your system.
>
> Hope this helps.
> Brad.
>
> On 2/3/22 10:50, Jonathan Bergh wrote:
> > hi all,
> >
> > just wondering if anyone has / knows the (a) link for the old Oracle
> > Netbeans 8.2 download. I know there is any floating around, but the
> > one on the Apache Netbeans pre-Apache page currently redirects to a
> > dead end.
> >
> > Needed because of the C++ capabilities.
> >
> > Thanks in advance
> > Regards
> > Jon
>
>


Re: Netbeans 8.2 download link

2022-03-01 Thread Jonathan Bergh
Ah thank you very much Dave, good idea. Appreciate that :thumbsup

I wonder if its worth updating the website to point to this as well. I know
we're mostly all using the Apache versions but it might be useful for the
odd user. Perhaps a question for the dev mailing list.

Cheers
Jonathan

On Wed, Mar 2, 2022 at 5:34 PM David Green  wrote:

> On Mar 1, 2022 at 8:50:59 PM, Jonathan Bergh 
> wrote:
>
>> just wondering if anyone has / knows the (a) link for the old Oracle
>> Netbeans 8.2 download. I know there is any floating around, but the one on
>> the Apache Netbeans pre-Apache page currently redirects to a dead end.
>>
>
> How about https://archive.org/details/jdk-8u111-nb-8_2  (realizing there
> is a JDK with it).
>
> Dave
>
>
>


Netbeans 8.2 download link

2022-03-01 Thread Jonathan Bergh
hi all,

just wondering if anyone has / knows the (a) link for the old Oracle
Netbeans 8.2 download. I know there is any floating around, but the one on
the Apache Netbeans pre-Apache page currently redirects to a dead end.

Needed because of the C++ capabilities.

Thanks in advance
Regards
Jon


Gradle not loading projects, possible conflict with C++ plugin

2022-02-10 Thread Jonathan Bergh
hi,

I have been using NB 12.6 on JDK 17.0.2. As suggested by some users on the
list, I downgraded to JDK 11 in order to install the "old" C++ plugin from
the NB 8.2 plugin repo, and then upgraded again to JDK 17.0.2.

I've noticed that some previous gradle-based projects are not loading
anymore, which seems strange. The issue seems to be that NB is trying to
load (prime) the projects with a gradle version which is not the wrapper
version, and so failing when trying to load certain plugins. Currently it
looks like the priming build is trying to run gradle 7.3.

I can't conclusively tell whether its C++ plugin, or whether this is just
coincidental, or something else. I have "Prefer Gradle wrapper" checked in
the Options panel.

Does anyone have any ideas?

Thanks
Regards
Jon
ᐧ


Re: Installing C/C++ 8.2 in NB 12.6

2022-01-24 Thread Jonathan Bergh
hi David,

Unfortunately I dont do much work at all with the C++ debugger so there's
very little chance I am going to be able to help. In fact  i've *never* used it.

Maybe one of the other folks would be able to be of more assistance?

Cheers
Jon
ᐧ

On Tue, Jan 25, 2022 at 12:39 AM David Gradwell  wrote:

> Hi,
>
>
>
> I too am trying to get C++ to work.  I’ve just raised
> https://issues.apache.org/jira/browse/NETBEANS-6413 because although I
> can install C++ and get a C++ test program to run, the debugger fails.
> Watching the install it looks as though it installs gdb.
>
>
>
> I’ve attached my writeup of the exact steps taken and am happy to update
> this with input from others to see if we can get C++ to work repeatably.
> I’ve read a lot, e.g.
>
>
>
> https://netbeans.apache.org//kb/docs/cnd/quickstart.html
> <https://netbeans.apache.org/kb/docs/cnd/quickstart.html>
>
>
>
>
> https://www.shayanderson.com/application/setup-netbeans-for-c-and-c-compilers.htm
>
>
>
> https://tutsmaster.org/how-to-install-c-c-on-netbeans-ide/
>
>
>
> and Bradley Wilcott’s email of 18th Jan 2022.
>
>
>
> In summary, I can get the compiler to work in NetBeans on both Mac OS and
> Windows 10 but can’t get the debugger to work.  Perhaps we can work
> together to crack this ?
>
>
>
> David Gradwell
>
>
>
>
>
> *From: *Jonathan Bergh 
> *Date: *Monday, 24 January 2022 at 10:07
> *To: *Michael Bien 
> *Cc: *NetBeans Mailing List 
> *Subject: *Re: Installing C/C++ 8.2 in NB 12.6
>
>
>
> Ah great, thanks Michael, thats fantastic. I recently changed to JDK 17
> (for Gradle) so good to know you can install and then change back up again.
>
>
>
> Thanks a lot, appreciate that :thumbsup
>
> Jonathan
>
> [image: Image removed by sender.]ᐧ
>
>
>
> On Mon, Jan 24, 2022 at 11:04 PM Michael Bien  wrote:
>
> you should be able to install old plugins if you start NB on JDK 8 or 11
> since they still have pack200 support.
>
>
>
> after its installed you can start on JDK 17 again.
>
>
>
> you can change the path to the JDK in etc/netbeans.conf
>
>
>
> -mbien
>
>
>
> On 24.01.22 10:58, Jonathan Bergh wrote:
>
> hi,
>
>
>
> I was wondering whether anyone had any tips on how to solve the following
> - I saw on the mailing list that someone (cant remember who) was using the
> old NB 8.2 C/C++ plugin with one of the new Apache NB releases.
>
>
>
> I would like to do the same.
>
>
>
> I have configured the 8.2 plugin repo and clicked install on the C/C++
> module, which downloads, and partially installs, but then fails when trying
> to "validate" the modules. There is an option to locate Unpack200 manually,
> otherwise clicking OK appears to hang the install.
>
>
>
> Does anyone have any tips on how to get this plugin installed?
>
> Thanks a lot in advance
>
> [image: Image removed by sender.]ᐧ
>
>
>
>


Re: Installing C/C++ 8.2 in NB 12.6

2022-01-24 Thread Jonathan Bergh
Ah great, thanks Michael, thats fantastic. I recently changed to JDK 17
(for Gradle) so good to know you can install and then change back up again.

Thanks a lot, appreciate that :thumbsup
Jonathan
ᐧ

On Mon, Jan 24, 2022 at 11:04 PM Michael Bien  wrote:

> you should be able to install old plugins if you start NB on JDK 8 or 11
> since they still have pack200 support.
>
> after its installed you can start on JDK 17 again.
>
> you can change the path to the JDK in etc/netbeans.conf
>
> -mbien
>
> On 24.01.22 10:58, Jonathan Bergh wrote:
>
> hi,
>
> I was wondering whether anyone had any tips on how to solve the following
> - I saw on the mailing list that someone (cant remember who) was using the
> old NB 8.2 C/C++ plugin with one of the new Apache NB releases.
>
> I would like to do the same.
>
> I have configured the 8.2 plugin repo and clicked install on the C/C++
> module, which downloads, and partially installs, but then fails when trying
> to "validate" the modules. There is an option to locate Unpack200 manually,
> otherwise clicking OK appears to hang the install.
>
> Does anyone have any tips on how to get this plugin installed?
>
> Thanks a lot in advance
> ᐧ
>
>
>


Installing C/C++ 8.2 in NB 12.6

2022-01-24 Thread Jonathan Bergh
hi,

I was wondering whether anyone had any tips on how to solve the following -
I saw on the mailing list that someone (cant remember who) was using the
old NB 8.2 C/C++ plugin with one of the new Apache NB releases.

I would like to do the same.

I have configured the 8.2 plugin repo and clicked install on the C/C++
module, which downloads, and partially installs, but then fails when trying
to "validate" the modules. There is an option to locate Unpack200 manually,
otherwise clicking OK appears to hang the install.

Does anyone have any tips on how to get this plugin installed?

Thanks a lot in advance
ᐧ


Code colouring gradle, Netbeans

2021-09-22 Thread Jonathan Bergh
hi all,

Just wondering what was needed to get code colouring etc working for NB
gradle? I noticed on a few threads some code syntax highlighting for gradle
files, but this doesnt seem to come out of the box with NB?

Am I right?

Thanks
Cheers
Jonathan
ᐧ


Re: Why does NB start gradle 7

2021-06-18 Thread Jonathan Bergh
Hi Martin,

Thanks for your points - yes I changed the wrapper - that points to the
correct Gradle.

Hi Lazlo,

That will be it i think. Thanks for that, I didnt know JDK 16 would force
Gradle 7. Thanks for that.

Appreciated
Regards
Jon

On Fri, Jun 18, 2021 at 5:03 AM Laszlo Kishalmi 
wrote:

> The question is which JDK is your NetBeans running on. If it is Java 16,
> then NetBeans has no other option than to run Gradle 7 even for project
> loading, otherwise the discovery would throw an unknown class version
> exception.
>
>
> On 6/17/21 9:10 AM, Martin Meeser wrote:
>
> Hello,
>
> have you tried to set specific version
>
> $ ./gradlew wrapper --gradle-version 6.2.1
>
>
> you can also delete wrapper and recreate with specific version
>
>
> with terminal in your gradle root:
>
> what gives gradle --version and what ./gradlew --version
>
>
> I assume you are aware of
>
> https://docs.gradle.org/current/userguide/gradle_wrapper.html
>
> but adding it here just in case.
>
> hope this helps
>
> On 17.06.21 15:59, Jonathan Bergh wrote:
>
> Hi,
>
> Quick question on Gradle config in NB12.4. Seems NB starts Gradle 7 (at
> least on my machine) by default every time NB starts up. In my Options ->
> Java -> Gradle config, the default version is set to 6.2.1 and also prefer
> gradle wrapper for individual projects.
>
> The problem is Gradle 7 means some gradle projects don't load properly.
> Selecting Clean and Build *seems *to build with the wrapper, but i *also* get
> a popup complaining about Gradle 7 not being able to find certain plugins
> (only available in the lower 6.2.1 version).
>
> Is there a default gradle conf in /etc/netbeans.conf or somewhere else?
>
> I have removed my GRADLE_HOME env var so that doesn't interfere.
>
> Thanks for any info in advance
> Rgds
> Jon
>
> --
> --
> Software Ingenieur Martin Meeser
> Tel: +49 (0) 157 3434 0354
> mail: martin.mee...@softwareing.de
> www.softwareing.de
>
>


Why does NB start gradle 7

2021-06-17 Thread Jonathan Bergh
Hi,

Quick question on Gradle config in NB12.4. Seems NB starts Gradle 7 (at
least on my machine) by default every time NB starts up. In my Options ->
Java -> Gradle config, the default version is set to 6.2.1 and also prefer
gradle wrapper for individual projects.

The problem is Gradle 7 means some gradle projects don't load properly.
Selecting Clean and Build *seems *to build with the wrapper, but i *also* get
a popup complaining about Gradle 7 not being able to find certain plugins
(only available in the lower 6.2.1 version).

Is there a default gradle conf in /etc/netbeans.conf or somewhere else?

I have removed my GRADLE_HOME env var so that doesn't interfere.

Thanks for any info in advance
Rgds
Jon


Re: Ribbonbar, Netbeans platform

2020-07-20 Thread Jonathan Bergh
Great, thanks very much Neil,

Kind regards
Jon

On Mon, Jul 20, 2020 at 12:36 PM Neil C Smith  wrote:

> On Mon, 20 Jul 2020 at 11:21, Jonathan Bergh 
> wrote:
> > Does anyone know where to download the Ribbonbar dependencies at all?
> All the sources I can find point to java.net which is dead now. I can't
> see anything on the pinkmatters.com website either.
>
> Well, I know Flamingo is now being developed at
> https://github.com/kirill-grouchnikov/radiance  Not sure about
> anything else.
>
> Best wishes,
>
> Neil
>


Ribbonbar, Netbeans platform

2020-07-20 Thread Jonathan Bergh
hi all,

Does anyone know where to download the Ribbonbar dependencies at all? All
the sources I can find point to java.net which is dead now. I can't see
anything on the pinkmatters.com website either.

Thanks in advance,
Regards
Jon


Re: Networking module? Netbeans platform

2020-07-20 Thread Jonathan Bergh
hi,

Thanks for your response - no, I meant a networking library / module which
can be leveraged to make connections in / out of an app you are building -
but where the connections are managed by the framework. For instance, when
the update centre checks for updates, i'm not sure whether the framework is
handling the connections or whether these are implemented on a per module
basis.

Regards
Jon

On Mon, Jul 20, 2020 at 12:47 AM Valerie:Jeffrey Timothy <
429...@student.cnwl.ac.uk> wrote:

> I believe that netbeans is all about programming applications, like making
> objects, walk, talk, jump and actions.
> If you're talking about networking specific, I would expect you need to be
> looking for something like "Cisco", particularly to study with the "Cisco
> NetAcad (Academy) using network tools offered like" Packet Tracer".
>
> I hope I am right and please correct me if am wrong anyone.
>
> Good Luck Friend
>
> Yours sincerely
> JT Valerie
>
> --
> *From:* Jonathan Bergh 
> *Sent:* Sunday, July 19, 2020 9:00:32 PM
> *To:* users@netbeans.apache.org 
> *Subject:* Networking module? Netbeans platform
>
> hi there,
>
> I'm not sure if this is the correct list to email, however, does anyone
> know whether the Netbeans platform has a built in networking module?
> Nothing is mentioned in the book i'm reading (Def Guide to NB Platform 7),
> however, I notice even in a plain NB platform build, there are proxy
> network settings in the Options panels.
>
> Does this mean there is a built set of networking classes which can be
> used, or do you need to write your own networking code if you want to do
> TCP / IP stuff in your NB platform app?
>
> thanks in advance,
> regards
> jon
>
> DISCLAIMER
> This e-mail is intended for the person(s) to whom it is addressed and may
> contain confidential information. If you have received this e-mail in
> error, please notify us immediately by reply e-mail and then delete this
> message from your system. Please do not copy it or use it for any purposes,
> or disclose its contents to any other person. Thank you for your
> co-operation.
>
> It is the responsibility of the recipient to virus scan this email and any
> attachment. The College of North West London does not accept liability for
> any virus transmitted in or with this message.
> The College of North West London does not represent, warrant or guarantee
> that the integrity of this communication has been maintained and does not
> accept liability for any errors or omissions in the content of this message.
>
> The College of North West London is part of the United Colleges Group.
> United Colleges Group was established under The Further and Higher
> Education Act 1992. The College is an exempt charity for the purposes of
> the Charities Act 2011. Registered Office – 25 Paddington Green, Paddington
> Green, Westminster, W2 1NB.
>


Networking module? Netbeans platform

2020-07-19 Thread Jonathan Bergh
hi there,

I'm not sure if this is the correct list to email, however, does anyone
know whether the Netbeans platform has a built in networking module?
Nothing is mentioned in the book i'm reading (Def Guide to NB Platform 7),
however, I notice even in a plain NB platform build, there are proxy
network settings in the Options panels.

Does this mean there is a built set of networking classes which can be
used, or do you need to write your own networking code if you want to do
TCP / IP stuff in your NB platform app?

thanks in advance,
regards
jon


Re: JavaFX11 on Netbeans 11.3 (Gradle)

2020-03-15 Thread Jonathan Bergh
Thanks Laszlo,

So the problem is there is a missing module-info.java in the test packages?
And because this is missing, gradle is breaking?

Maybe we shall treat the whole project modular even if just the main
sourceset has module-info.java (even that is technically incorrect).
I'm not sure what the answer should be, since then this is technically the
library maintainers issue. However, maybe this is a good idea for
useability?

Thanks for your response,
Regards
Jon



On Sun, Mar 15, 2020 at 4:25 PM Laszlo Kishalmi 
wrote:

> Hi
>
> I've just checked out the mentioned library. It is on version 11.32 (the
> hansolo lib, not NetBeans). It works if you delete the TestLauncher.java
> from the eu.hansolo.tilesfx package. I think the maintainer of the code was
> a bit loose when he made that release.
>
> If you check the TilesFXTest, it reports similar issues you've mention,
> because NetBeans treats that sourceset as a non-modular one due to the lack
> of module-info.java
>
> Maybe we shall treat the whole project modular even if just the main
> sourceset has module-info.java (even that is technically incorrect).
> On 3/15/20 5:31 AM, Jonathan Bergh wrote:
>
> Hi all,
>
> I am trying to compile a third party library using NB 11.3 and built in
> Gradle supports. Project specifications are:
>
> 1) NB 11.3 running on Amazon Corretto JDK 11.02
> 2) Gradle options (Standard Gradle version 6.2.2) - Use wrapper preferred
> 3) OpenJFX11.02 installed to /Program Files/Java/OpenJFX11
> 4) ENV var PATH_TO_FX= /Program Files/Java/OpenJFX11/lib
> 5) Platform JDK for project is JDK11.02 (default JDK)
>
> In Project configuration
> 1) Source/Binary format = 11
> 2) Build -> Compile = JDK 11 (Default)
>
> I am getting *Package javafx.animation is declared in the unnamed module,
> but module ajafx.animation does not read it. *
>
> *I have looked at various Stackoverflow pages, see *
> https://stackoverflow.com/questions/52652340/package-x-is-declared-in-the-unnamed-module-but-module-x-does-not-read-it?noredirect=1=1
>  and
> https://stackoverflow.com/questions/51987518/javafx-deployment-library-not-found-in-active-jdk
>  but
> I cant see where to add the module-path to the compiler options. There are
> none in the Project properties dialogue.
>
> This is pure cloned project from Github (
> https://github.com/HanSolo/tilesfx) so was expecting it to work out of
> the box?
>
> Can someone assist as to how to solve this?
>
> Thanks very much in advance
> Jon
>
>
>


JavaFX11 on Netbeans 11.3 (Gradle)

2020-03-15 Thread Jonathan Bergh
Hi all,

I am trying to compile a third party library using NB 11.3 and built in
Gradle supports. Project specifications are:

1) NB 11.3 running on Amazon Corretto JDK 11.02
2) Gradle options (Standard Gradle version 6.2.2) - Use wrapper preferred
3) OpenJFX11.02 installed to /Program Files/Java/OpenJFX11
4) ENV var PATH_TO_FX= /Program Files/Java/OpenJFX11/lib
5) Platform JDK for project is JDK11.02 (default JDK)

In Project configuration
1) Source/Binary format = 11
2) Build -> Compile = JDK 11 (Default)

I am getting *Package javafx.animation is declared in the unnamed module,
but module ajafx.animation does not read it. *

*I have looked at various Stackoverflow pages, see *
https://stackoverflow.com/questions/52652340/package-x-is-declared-in-the-unnamed-module-but-module-x-does-not-read-it?noredirect=1=1
 and
https://stackoverflow.com/questions/51987518/javafx-deployment-library-not-found-in-active-jdk
but
I cant see where to add the module-path to the compiler options. There are
none in the Project properties dialogue.

This is pure cloned project from Github (https://github.com/HanSolo/tilesfx)
so was expecting it to work out of the box?

Can someone assist as to how to solve this?

Thanks very much in advance
Jon


Instructions for LSP config in Netbeans 11.3

2020-03-08 Thread Jonathan Bergh
hi all,

I see that Jan Lohada's LSP integration (discussed here [1] as a NB module
to create yourself), has been included in 11.3 as a functioning feature.
(Tools > Options > Language Servers)

at the moment, the configuration GUI for this feature doesn't have any
hints nor help associated with it, so its a little hard to determine
exactly what config is expected in the fields (i cant seen any exceptions
being thrown either anywhere, so i dont know if ive configured it
correctly).

for instance:
File extensions file - its not clear if this should be the mime type
(text/sh), or extension with or without the period (ie sh or .sh), or if
you are entering a list, how each entry is separated etc.

I've created a bash script in the resources, as well as src folders for a
test project, to test my configuration, but Netbeans reports it doesnt
recognise the file extension and suggests from a various number of
preexisting mime types.

i'd be happy to help (adding the required help / clarifications etc) if
required, if Jan would be able to assist by showing exactly what is
required in each field, and how to check the server is running correctly,
as i think this is a really powerful feature which helps in lieu of of full
blown language plugins

this also seems like a really good option for a short video tutorial (for
the website) but unfortunately i dont have the hardware for doing that at
the moment.

[1] https://blogs.apache.org/netbeans/entry/lsp-client-demo-ba-sh


bug reporting for 11.3

2020-03-07 Thread Jonathan Bergh
Hi all,

many thanks for all the hard work on the latest version of Netbeans - its
really awesome. the built in gradle support is fantastic and all the other
bells and whistles are too.

if there are some apparent bugs to report - do you want us to do this in
Netbeans JIRA, or how would you prefer we go about this?

again, many thanks for all your hard work,
regards
jonathan


Re: Raspberry Pi

2019-12-19 Thread Jonathan Bergh
Hi Lou,

I have used NB with RPi as a remote platform - it worked beautifully, in
fact i was surprised (in a really good way) how easily it worked.

On Thu, Dec 19, 2019 at 8:38 PM Lou  wrote:

> Does anyone have experience/guidance using NetBeans with Raspberry Pi?
>
> Would you recommend using NetBeans on the Raspberry or trying to add the
> Raspberry as a remote platform?  The project is a internet/USB com first
> with Raspberry Pi control of several servos added second.
>
> I am new to NetBeans, my Java is rusty, but Java sees the correct answer
> for a mostly communication application.
>
> Lou
>
>


Re: gradle plugin

2019-10-09 Thread Jonathan Bergh
Thanks Laszlo, that was it.

Appreciate the help.



On Wed, 09 Oct 2019, 5:27 PM Laszlo Kishalmi, 
wrote:

> Check the sourceset definition in your buildscript.
>
> You can also open the the project properties (by right clicking on the
> project), then click on the sources to see which directories are reported
> back to to the defined sourecesets.
>
> I'm guessing the resources dir has been added to the java dirs as an extra
> in your build script for whatever reason.
> On 10/9/19 4:53 AM, Jonathan Bergh wrote:
>
> hi there,
>
> just a quick question regarding the Gradle support built into Netbeans 11
> - my IDE is showing the source code under both
>  - Source packages [java], as well as
>  - Resources [java]
>
> I get the correct contents for:
>  - Resources [main], which contains all the project FXML etc.
>
> Is this a misconfiguration in our build.gradle, or something else?
>
> My project structure is the same as i would normally use when building
> with  Maven, ie
>   - src
>  - main
> - java
> - resources
>  - test
>
> See attached.
>
> Thanks in advance
> Cheers
> Jonathan
>
> [image: Capture1.PNG]
> [image: Capture.PNG]
>
>


gradle plugin

2019-10-09 Thread Jonathan Bergh
hi there,

just a quick question regarding the Gradle support built into Netbeans 11 -
my IDE is showing the source code under both
 - Source packages [java], as well as
 - Resources [java]

I get the correct contents for:
 - Resources [main], which contains all the project FXML etc.

Is this a misconfiguration in our build.gradle, or something else?

My project structure is the same as i would normally use when building
with  Maven, ie
  - src
 - main
- java
- resources
 - test

See attached.

Thanks in advance
Cheers
Jonathan

[image: Capture1.PNG]
[image: Capture.PNG]


Re: Spring Boot

2019-05-21 Thread Jonathan Bergh
I have found the Springboot plugin for Netbeans works really well,
including the SpringBoot Initializer. You get x2 nice Maven project types.

Works fine in 8.2 & 10 so far.

Search for it in the plugins listing

On Tue, May 21, 2019 at 11:19 PM  wrote:

> Try this introduction
>
> https://www.baeldung.com/the-persistence-layer-with-spring-data-jpa
>
> It uses maven to get all dependencies.
>
> I had no problems.
>
> Daniel
>
> Dne 21.05.2019 23:04, Michael Spence napsal:
>
> I am trying to set up a project using Spring Boot to avoid "just use
> Eclipse".  I have not been able to get this to work in either 8.2 or 11
> (not sure if 11 is supposed to support this).  Is there a how-to somewhere,
> or even a pom that works that I could study?
>
> Thanks,
> Michael D. Spence
> Mockingbird Data Systems, Inc.
>
>
>
>


Re: Questions related to the use of Netbeans

2019-04-17 Thread Jonathan Bergh
 1. What are the best Netbeans plugins to use you think? And do you know
some funny ones??
SpringBoot, Darcula

2. Are there any upcoming cool features?
C/C++

3. What could be improved?
Gradle integration used to be slightly irritating (Netbeans used to always
open a project preferentially as a maven project if a pom.xml was also
present, even if the previous session opened it as a gradle project)
but gradle support is now integrated and this shouldnt be a problem
anymore.

4. Why should the whole world use this IDE?
Open source, multi-language support, from HTML / JS to Java / Groovy to
C/C++, even Python. You never have to switch to another IDE between
projects.
Awesome for J2EE support

5. First IDE that you ever used? And why?
Eclipse, as this is what the institute i was at recommended.

On Tue, Apr 16, 2019 at 1:31 PM Ko Turk  wrote:

> Hi Netbeans Users,
>
> currently I am researching the strengths and weaknesses of different IDEs.
> I think Netbeans is awesome in the integration with Maven. But I am also
> curious what you think about this great IDE!
>
> I hope you can help me in answering the following questions:
>
> 1. What are the best Netbeans plugins to use you think? And do you know
> some funny ones??
> 2. Are there any upcoming cool features?
> 3. What could be improved?
> 4. Why should the whole world use this IDE?
> 5. First IDE that you ever used? And why?
>
> Hope you can help me. Thanks!
>
> Regards,
> Ko Turk
>