Re: Versions of Java

2019-07-19 Thread Neil C Smith
On Fri, 19 Jul 2019 at 10:31, Richard Grin
 wrote:
> Why "JDK 10 (Default)" under the entry "Java Dependencies" in the Projects 
> tab?

The (Default) sounds like you're running on a Java 10 JDK?

Best wishes,

Neil

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

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



Re: Versions of Java

2019-07-19 Thread Neil C Smith
On Fri, 19 Jul 2019 at 11:03, Richard Grin
 wrote:
>
> NetBeans is running with Java 10.0.1 (certainly the reason of
> "Defaults") but the entry "Java Dependencies" is under the project and I
> changed the version of Java for the project to Java 11.
>
> Perhaps a right click on the projects > Properties does not change
> anything when the project is built with Maven?

The property you're talking about is the JDK that is being used to run
Maven, etc.  You can add additional ones under Tools / Java Platforms
in the main menu.  The (default) refers to the JDK the IDE is running
on.

The pom.xml content you quoted has nothing to do with what JDK you're
building on, but what compatibility you're building with.  There
doesn't need to be a link, except the source and target (or release)
level needs to be supported by the chosen JDK.

I've never tried setting a newer JDK there than NetBeans is running on
- not sure what implications there might be to do so?  I do have a
number of different 8 and 11 platforms configured.

Out of interest, why run the IDE on an out-of-support JDK anyway?

Best wishes,

Neil

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

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



[ANNOUNCE] Apache NetBeans 11.1 released

2019-07-22 Thread Neil C Smith
The Apache NetBeans team is pleased to announce the release of Apache
NetBeans 11.1.  Apache NetBeans is a full IDE for Java SE, Java EE,
PHP and JavaScript development with some Groovy language support.

Apache NetBeans 11.1 is the first Apache NetBeans release outside the
Apache Incubator and the first release of the new quarterly release
cycle.  The LTS release of the Apache NetBeans 11 cycle is Apache
NetBeans 11.0. The 11.1 release has not been as heavily tested as the
LTS release. Use 11.1 to access the latest features and to provide
feedback for the next LTS release, scheduled for April 2020.

New & noteworthy features of the 11.1 release:

https://netbeans.apache.org/download/nb111/index.html

Downloads:

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

Feel free to share the good news!

Thanks everyone, and best wishes,

Neil C Smith
Voluntary Release Manager for Apache NetBeans 11.1
on behalf of Apache NetBeans PMC

-
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: How to update NB 11.1-beta3 to final version?

2019-08-07 Thread Neil C Smith
On Wed, 7 Aug 2019 at 10:08, Laszlo Kishalmi  wrote:
> By default they are using the same user/cache dir, so by reinstalling it you 
> won't actually loose anything.

Depends whether the previous installation was somewhere the IDE could
install modules inside itself though!  That might just affect the JS
parser but it can lead to lots of errors about missing dependencies.
It's fixable, but unless you've been doing lots of work with a
beta(?!) it's better to clear out the userdir and cache and start
again.

For some reason the dialog about disabling modules missing
dependencies consistently crashed GNOME entirely for me!

Best wishes,

Neil

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

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



Re: NPE WizardDescriptor

2019-08-08 Thread Neil C Smith
On Thu, 8 Aug 2019 at 09:24, Luff,Chris  wrote:
> Following the New Project workflow in NetBeans 11.1 a Maven based NetBeans 
> Module, could someone else try this and tell me if they get the same 
> behaviour?
>
> File -> New Project -> Java with Maven -> NetBeans Module -> Complete Name 
> and Location Prompts -> Select RELEASE111 (also tried 110 and 100).

Yes, I can replicate (Ubuntu, JDK 11).  I tried inside and outside of
an RCP project with same results.

Also, I noticed the RCP application also fails to run with the
extra-quote in cache dir issue that I thought was fixed.  Still,
currently I'm still working with an Ant platform build personally, so
I may be missing something in the Maven config.

The UI changes were added late in the day in the NB 11.1 release cycle
and won't have had much testing yet - that's one reason we have
non-LTS!  Please open a JIRA ticket and put 11.1 in the affected /
11.2 in the fix version.

At the moment, looks like you'll probably have to create Maven
projects for modules manually.  AFAIK it should just be a UI issue,

Best wishes,

Neil

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

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



Re: How to update NB 11.1-beta3 to final version?

2019-08-08 Thread Neil C Smith
On Thu, 8 Aug 2019, 16:00 Ulf Zibis,  wrote:

> To have a better basis to decide, can one link me to the bugs/issues
> that have been changed between beta 3 and final?
>

Can't link directly right now, but check out the PRs syncing with master
for first voting candidate and then beta 4. Nothing changed from beta 4
before release but between 3 and 4 had a number of critical fixes,
particularly  but not only around J2EE stuff.

Betas are not intended for use! And don't have an upgrade path. I would
wait for final release of 11.2 before committing to it.

Best wishes

Neil

>


Re: Javadoc popup works, but "Show Javadoc" does not.

2019-08-13 Thread Neil C Smith
On Tue, 13 Aug 2019 at 11:38, Peter Toye  wrote:
> I have a similar problem, but with the Oracle JDK. I specify the Javadoc 
> index as
>https://docs.oracle.com/en/java/javase/12/docs/api/

Does making that
https://docs.oracle.com/en/java/javase/12/docs/api/java.base/ (kind
of) work for you?

I guess the problem is that the Javadoc support isn't JPMS aware
still?  Docs from sources works.

Best wishes,

Neil

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

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



Re: Javadoc popup works, but "Show Javadoc" does not.

2019-08-13 Thread Neil C Smith
On Tue, 13 Aug 2019 at 13:45, Thomas Kellerer  wrote:
>
> Neil C Smith schrieb am 13.08.2019 um 12:57:
> > Does making that
> > https://docs.oracle.com/en/java/javase/12/docs/api/java.base/ (kind
> > of) work for you?
>
> No, that does not make a difference (and I would prefer the local JavaDocs 
> anyway)

Interesting.  That works fine here, at least for anything in java.base!

> What I understand why the popup works just fine, but not the display in the 
> browser.
> Where does the popup get the JavaDocs from?

As I said, it's using the source code as far as I know.

Best wishes,

Neil

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

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



Re: Add compilation classpath support to groovy classes created from a Netbeans plugin

2019-08-20 Thread Neil C Smith
On Wed, 21 Aug 2019, 00:54 rohan julka,  wrote:

> Any idea on how to set a specific classpath to the plugin source code (we
> know what dependencies to add but don't know where to put them in order to
> let groovy scripts see them) so that Netbeans will recognize related
> imports and so code autocompletion will be available?
>
I've done this for in-memory Java files. I assume the Groovy support will
require something similar. Register a ClassPathProvider in global services,
and also make sure the paths are in the global path registry.

My code doing this is at
https://github.com/praxis-live/praxis-live/tree/master/praxis.live.pxj/src/org/praxislive/ide/pxj

Best wishes,

Neil


Re: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Neil C Smith
On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M  wrote:
>
> That is true, but Netbeans runs on JDK 11, but I want to build my 
> applications using jdk-7.
>
> How do I set the default JDK within the Netbeans environment to build and run 
> using jdk-7?

You can't!  Unfortunately this is broken in NB 11.1, but might be
fixed in NB 11.2.  For now, you'll probably have to stick with NB
11.0.

See -

https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E
https://issues.apache.org/jira/browse/NETBEANS-2884
https://issues.apache.org/jira/browse/NETBEANS-2878
https://github.com/apache/netbeans/pull/1396

Best wishes,

Neil

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

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



Re: Error while building the installers of a netbeans platform application

2019-08-21 Thread Neil C Smith
Hi,

On Wed, 21 Aug 2019 at 15:28, Andreas Hauffe
 wrote:
> thanks for the answer. With JDK 11 I'm still getting the same error.

Yes,as far as I know, the installers can't be built with JDK 11 yet.
See pending PR https://github.com/apache/netbeans/pull/1414

Best wishes,

Neil

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

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



Re: Language Support

2019-08-28 Thread Neil C Smith
On Wed, 28 Aug 2019 at 15:53, Luff,Chris  wrote:
>
> Thx, a proprietary language called CCL[1] modelled on SQL but with some 
> significant differences.

Is the IDE's SQL language support not a good starting point?

Best wishes,

Neil

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

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



Re: Building netbeans source question

2019-08-30 Thread Neil C Smith
Hi,

On Fri, 30 Aug 2019, 23:40 ,  wrote:

> If those two steps were added to the instructions , it would save people
> situated as I was someconsiderable  time and confusion.
>

The steps you've outlined seem wrong and shouldn't be required. The
instructions are correct, and work fine on at least Ubuntu 18.04 (I stick
with LTS).

Best wishes,

Neil

>


Re: Releasing a Netbeans platform application to the general public

2019-09-15 Thread Neil C Smith
On Sun, 15 Sep 2019, 20:36 Jerome Lelasseux, 
wrote:

> I see. I thought most Windows users had a JRE installed...
>

I wouldn't rely on that going forward ...

>
> Bundling a JRE adds 40MB to my 18MB package, it's a pity... Is there a way
> to do it simply directly from Netbeans ?
>

Are you using Ant or Maven? PraxisLIVE has an Ant target to build an
installer with InnoSetup and a bundled JDK. Personally I'd l recommend that
approach over NetBeans installer if bundling.

Eg. https://github.com/praxis-live/praxis-live/blob/master/build.xml#L70

Interested in seeing your application!

Best wishes,

Neil


Re: Releasing a Netbeans platform application to the general public

2019-09-17 Thread Neil C Smith
On Tue, 17 Sep 2019 at 06:23, Emilian Bold  wrote:
>
> Note that Azul Zulu has some specific terms of use which are not good if you 
> allow random people to download it:
>
> > You also represent and warrant that you do not intend to distribute the 
> > software in a manner that is not compliant with relevant export control  
> > laws or regulations administered by the U.S. Commerce Department, OFAC, or 
> > any other government agency.
>
> If you sell the app and KYC it might be manageable.
>

Possibly an interesting read in this context -
https://www.gnu.org/licenses/gpl-faq.en.html#ExportWarranties

Still, if it bothers you, or for lots of other reasons, there's always
AdoptOpenJDK.

(semi-OT - I'm currently enjoying running NetBeans with AdoptOpenJDK's
OpenJ9 and have been for the last few months)

Best wishes,

Neil

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

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



Re: Releasing a Netbeans platform application to the general public

2019-09-17 Thread Neil C Smith
On Sun, 15 Sep 2019 at 22:06, Jerome Lelasseux
 wrote:
> 1/ bundle a JRE and it must be OpenJDK
> or
> 2/ have the installer check if a JRE is there, and if not, ask user to 
> install a JRE on its own (then he can choose Oracle or whatever). I assume 
> that after JRE installation my Netbeans app will automatically find this JRE ?

Definitely go with 1!

> InnoSetup is probably be a good idea: I guess it's more powerful and flexible 
> than Netbeans installers, but I'm concerned by the time needed to learn yet 
> another topic... Does InnoSetup simplifies the "installer signing" ?

If it's any use, my InnoSetup file is here -
https://github.com/praxis-live/praxis-live/blob/master/resources/pl-installer.iss.template
 It's fairly simple, really, and could do more, but does the job.  I
only recently stopped running this manually and templated it for use
with Ant - only replaces ${app.version}

Should be easy enough to adapt and experiment with.  It's more
flexible more easily than the NetBeans installer, and handles things
like in-place upgrades and shortcut icons much more simply.  But the
primary benefit is not having to rely on the embedded JRE to run.  In
fact, I did start looking at the possibility of a NetBeans IDE
installer with it that could offer to download the JDK as part of the
installation process.

> As some of you seem curious, here is a video I just finished today. It's a 
> private link for preview only, because web site is not online yet, etc.
> https://youtu.be/v80Wm6joYxs

Looks great!  My own first degree (some time ago) was in music, and I
can think of at least one other person around here who should
appreciate a jazz application on NetBeans platform! :-)

Reminds me a little of Frinika, which at one point had a fork on to
NetBeans RCP.  And there's also Blue of course.

I'd be very interested to hear more about the underlying architecture
in use - I write / maintain a variety of audio and media Java
libraries as well.

Best wishes,

Neil

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

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



Re: Appending data to file in a MemoryFileSystem.

2019-09-19 Thread Neil C Smith
On Thu, 19 Sep 2019 at 15:04, Richard Linsdale
 wrote:
> Any suggestions welcome, as I want to avoid copying the existing file
> content to a new file on every append request and then renaming the file
> (which is my probably short term fall back).

The MemoryFileSystem is quite simple, and everything is backed by a
byte[].  What about reading the existing contents with asBytes() and
then writing that into the output stream?  Not much different mind
you!

> In the longer-term, it would be nice to have
> .getOutputStream(boolean append) as a extension to the API,
> but that can come later.

Does it have to be a NetBeans filesystem?  I've seen some NIO2 memory
file systems which have this feature (although are probably doing just
the same thing under the hood).

Best wishes,

Neil

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

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



Re: Appending data to file in a MemoryFileSystem.

2019-09-19 Thread Neil C Smith
On Thu, 19 Sep 2019 at 17:03, William Reynolds
 wrote:
>
> From https://stackoverflow.com/questions/9558979/java-outputstream-skip-offset
...
>FileOutputStream out = new FileOutputStream(file);

There is no File! ;-)

Best wishes,

Neil

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

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



Re: Error Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory

2019-09-20 Thread Neil C Smith
On Fri, 20 Sep 2019 at 15:26, Jerome Lelasseux
 wrote:
> When I start the launcher of my platform app from the command line I notice 
> the error below, although my program runs fine.
>
> $ ./JJazzLab64.exe
> WARNING: An illegal reflective access operation has occurred
...
> On Google a lot of people experienced this error on Linux because of problems 
> between Netbeans 8 and JDK>8. Solution for them was to use NB8+JDK8.

It's not an error, just a warning.  Are you using your own
configuration file in etc/jjazzlab.conf ?  You can add the relevant
--add-opens etc.  The IDE has similar at
https://github.com/apache/netbeans/blob/master/nb/ide.launcher/netbeans.conf#L65
 Or you can ignore it for now.

Actually, NetBeans itself still has a similar warning.

And we should probably update the RCP default conf file?

Best wishes,

Neil

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

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



Re: Problem using NetBeans on Ubuntu

2019-09-20 Thread Neil C Smith
On Fri, 20 Sep 2019, 22:36 Walter Oney,  wrote:

> I installed NetBeans IDE 10.0, in which Netbeans is at 8.3 Patch 2,
>
What exactly does that mean? Try 11.1. NetBeans 10.0 is no longer
supported. There is a Snap available for Ubuntu as well as the installers
and zip.

Best wishes,

Neil


Re: Problem using NetBeans on Ubuntu

2019-09-21 Thread Neil C Smith
On Sat, 21 Sep 2019 at 05:04, Walter Oney  wrote:
> Create new project, Java, Java application, then accept all defaults. I 
> wouldn't dignify a throwaway program like this as an "application"

Well, calling anything an Applet in a Java context is only going to
confuse everyone!

Best wishes,

Neil

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

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



Re: FW: screenshot

2019-09-21 Thread Neil C Smith
On Sat, 21 Sep 2019, 18:38 Geertjan Wielenga,  wrote:

> That setting is set in etc/netbeans.conf in the installation dir but,
> again, if that is wrong then NetBeans itself won’t start up at all.
>

I've definitely seen the reported error before, and it doesn't affect
NetBeans starting. Not sure if it's reproducible without the installer -
haven't used the installer since 8.2 times. When I get a chance I'll see if
I can reproduce again.

Best wishes,

Neil


Re: Netbeans 11 won't launch in Windows 10

2019-09-23 Thread Neil C Smith
On Mon, 23 Sep 2019, 04:56 Carl Burke,  wrote:

>  Even though the name specifies 'hotspot' for the JVM, neither of those
> JDK distributions contain a jre directory. The JRE is packaged separately
> and requires a separate download
>

No, it does not! The problem is that you've not noticed the structure of
the JDK distribution has changed. Just because there is no JRE folder
doesn't mean you need a separate JRE download.

Best wishes,

Neil

>


Re: Question on Netbeans 11 and C++

2019-09-26 Thread Neil C Smith
On Thu, 26 Sep 2019, 21:17 Ulf Zibis,  wrote:

> I've seen, that the C/C++ inclusion has been removed from the release plan.
> So now, what is the future of C/C++ inclusion in NetBeans IDE?
>

The donation didn't make it by the 11.2 feature freeze date. Hopefully it
won't be long now and can be integrated early in the 11.3 cycle. Earlier
the better IMO - I'm somewhat glad we haven't had big features land at the
last minute this time around!

Best wishes,

Neil

>


Re: The last straw

2019-09-28 Thread Neil C Smith
On Sat, 28 Sep 2019 at 16:05, Alan Cameron
 wrote:
> Walter Oney’s email is the last straw for me.

Why?!

> I had been a user of NetBeans 8.2 , using it for self-training in C, C++ and 
> PHP when this Apache incubation thing started and NetBeans 8.2 was dropped 
> from any sort of support. I have been watching the emails to this list with 
> increasing worries that it would never get around to PHP let alone C, C++.

PHP is in, C/C++ should be coming in 11.3 in January, or you can still
install the old plugins as far as I know.

> A radical rethink is long overdue and I wonder how commercial shops can stand 
> the ever mounting problems with this and that. I am surprised there are any 
> commercial users left using NetBeans.

Apache *is* the radical rethink!  Another radical rethink is the last
thing we need right now.

These things take time to happen, like any other community driven
software - I still wouldn't choose to use anything else.  But choose
to use what is right for you!

Best wishes,

Neil

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

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



Re: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Neil C Smith
On Sat, 28 Sep 2019 at 12:04, Walter Oney  wrote:
> My current self-assigned task is to port the app to Linux in the hope that 
> I’ll find more robust WiFi support than Win10 has. I was hopping along as a 
> happy little bunny with NetBeans 8.4 and some version or another of the JDK 
> that included JavaFX. I was misled by the incomplete instructions for 
> installing JNA to omit downloading jna.jar. Someone later corrected my 
> mistake on the stackoverflow forum, but not before I had installed JDK 13, a 
> current release of OpenJFX, and NetBeans 11.1. I ended up in Version Hell, 
> which is where you go when you have mismatched versions of your tools. I 
> don’t even know what the path back might be.

My first thought is are you doing this on the Linux machine you talk
about or still on Windows 10?  If Linux, which OS?  And what exactly
do you mean by "installing"?  Some of the things you mention there
should probably be part of your project but not installed.  Relying on
Linux packages for anything other than perhaps OpenJDK is very hit and
miss!

Best wishes,

Neil

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

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



Re: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Neil C Smith
On Sat, 28 Sep 2019, 18:25 Geertjan Wielenga,  wrote:

> Now don't do anything other than this -- open the New Project dialog, go
> to the Samples category, in the JavaFX category pick one of the two samples
> you see there. Complete the wizard. Run the sample.
>

Note in 11.1 that's the OpenJFX category IIRC.

Best wishes,

Neil

>


Re: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Neil C Smith
On Sat, 28 Sep 2019, 19:08 Walter Oney,  wrote:

>
> I don't want to be on the leading edge here -- I just want to get back to
> developing my app. I got sidetracked by not knowing I needed JNA.JAR in
> addition to JNA-PLATFORM.JAR.
>

What has JNA got to do with this conversation exactly?! It feels like
you're trying to solve multiple problems at the same time.

Neil


Re: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Neil C Smith
On Sat, 28 Sep 2019, 19:28 Walter Oney,  wrote:

> Sure it does. You just didn't see the stackoverflow thread where I got
> help installing JNA, which I need as part of my app. I wandered down the
> rathole of newer JDK versions trying to solve the problem. I'm back to
> being a happy bunny now that I've reverted to JDK 8.
>

Well, I don't think you linked to the thread! ;-) What I meant was that JNA
isn't relevant to getting a working OpenJFX sample on your system. I get
that it's a library dependency of your app.

JavaFX was never, strictly, part of the JDK. But was sometimes shipped with
it. From JavaFX 8 to OpenJFX 11 is a shift, you need to treat it as a
library dependency like you're doing with JNA. Unfortunately sticking with
JDK 8 and JavaFX 8 is unlikely a good long term strategy.


> As I said I would, I'm attaching the log from trying to run
> HelloFXWithMaven. I would like to return to my regularly scheduled nap. I
> realize that I'm probably cutting myself off from getting any help in the
> future, but I'm massively sleep deprived and have no choice today.


No, you're not. Just come back to it when suits you. We're usually a
friendly bunch of volunteers here. :-)

The thing that strikes me in that log is the error on --module-path. Sounds
like something in the build is still picking up Java 8 somewhere?

Best wishes,

Neil


Re: A Bad Thing has happened to the promise of platform independence

2019-09-28 Thread Neil C Smith
On Sat, 28 Sep 2019, 20:31 Geertjan Wielenga,  wrote:

> Yup, it seems to me that the Java environment isn't set up right -- some
> JDK 8 of some kind appears to be set up system wide.
>

Yes, but shouldn't cause an issue should it? The Maven support should set
up the environment for the build platform? Just wondering whether it might
be the sign of a bug in NetBeans or the Gluon projects.

Neil

>


Re: Detected Maven Version: 3.3.9 is not in the allowed range [3.5.0,).

2019-10-01 Thread Neil C Smith
On Tue, 1 Oct 2019 at 10:17, Sterpu Victor  wrote:
> Can I manullay update Maven or can force this project to compile ignoring 
> this error(maybe this is not the right thing to do)?

Under Tools / Options / Java / Maven you can select an external Maven
installation to use instead of the bundled one.

Does somewhat raise the question of why we have a 4-year old bundled
Maven though?!  https://maven.apache.org/docs/history.html

Best wishes,

Neil

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

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



Re: Detected Maven Version: 3.3.9 is not in the allowed range [3.5.0,).

2019-10-01 Thread Neil C Smith
On Tue, 1 Oct 2019 at 10:31, Geertjan Wielenga  wrote:
>
> Yes, we should upgrade it, what version would be best, just the latest one?

Probably should aim to keep in step with upstream where possible?  As
long as we target 11.3 and not 11.2! ;-)

Best wishes,

Neil

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

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



Re: Detected Maven Version: 3.3.9 is not in the allowed range [3.5.0,).

2019-10-01 Thread Neil C Smith
On Tue, 1 Oct 2019 at 10:40, Geertjan Wielenga  wrote:
>
> For sure. :-)
>
> Created the issue: https://issues.apache.org/jira/browse/NETBEANS-3188

Great!  Added missing 11.3 milestone in JIRA and added it to it.

Neil

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

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



Re: Payara Server Plugin requires incubator-netbeans-release-404-on-20190319 in NetBeans 11.1

2019-10-02 Thread Neil C Smith
On Wed, 2 Oct 2019 at 17:50, Paul "TheSlimDude" Morris
 wrote:
>
> OK, that helps. Should it not already be in Installed Plugins then instead of 
> Available Plugins? It's kind of confusing.

It is a bit - presumably in there for NB 11.0.  At the moment, NB 11.0
LTS and NB 11.1 (and coming NB 11.2) share the same plugin centre.

Best wishes,

Neil

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

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



Re: Missing JSF Components in 11.1

2019-10-02 Thread Neil C Smith
On Wed, 2 Oct 2019 at 18:26, Paul "TheSlimDude" Morris
 wrote:
>
> Actually, I was mistaken. The missing components are not actually missing in 
> NB11.1. They're just not there in CoolBeans. FYI: EML

Always pays to try the upstream release! ;-)

Best wishes,

Neil

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

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



Re: JJazzLab : a music application based on the Netbeans Platform

2019-10-05 Thread Neil C Smith
On Sat, 5 Oct 2019, 17:09 Geertjan Wielenga,  wrote:

> Yes, I simply renamed the clusters file in etc to jazzlab.sh.clusters to
> fix this.
>

Yes, the cluster file is looked up based on the executable name, so
renaming it is a bug on any os. Presumably this isn't picking up the right
.conf file either?!

Incidentally, this is a really useful feature in some circumstances - eg.
it's how PraxisLIVE can have multiple launchers that do different things by
loading a different config and set of clusters for each.

Best wishes,

Neil

>


Re: Problem running application with --enable-preview

2019-10-09 Thread Neil C Smith
On Wed, 9 Oct 2019 at 14:57, Helmut Leininger  wrote:
> java.lang.UnsupportedClassVersionError: testapachepoi/TestApachePOI 
> (class file version 56.65535) was compiled with preview features that are 
> unsupported. This version of the Java Runtime only recognizes preview 
> features for class file version 57.65535

This looks suspicious.  It looks like you're compiling with Java 12,
which makes me think it's the fact that we don't in beta2 have
complete Java 13 support still.  Or you've got it set to 12?

Under project properties and Build / Compiling does making sure
Compile on Save is off and Run Compilation in ExternalVM is on make
any difference?

> User directory: C:\Users\hl\AppData\Roaming\NetBeans\11.0

Is 11.0 there by choice?  Or do we have a bug?  It should be using 11.2-beta2

Best wishes,

Neil

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

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



Re: Problem running application with --enable-preview

2019-10-09 Thread Neil C Smith
On Wed, 9 Oct 2019 at 18:57, Helmut Leininger  wrote:
> Setting Compile on Save to OFF did the trick.

Great!  Think that's caused by the issue with shipping the right
nb-javac that's delaying beta3.

> User directory: C:\Users\hl\AppData\Roaming\NetBeans\11.0
>
> Even if I delete it and restart Netbeans, it is recreated (and not 
> ...\11.2-beta2)

Where did you get the beta from?  Installer, binary zip or source zip download?

What does the etc/netbeans.conf file say for userdir?

Thanks,

Neil

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

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



Re: {NetBeans IDE] {JAVA]

2019-10-15 Thread Neil C Smith
On Wed, 9 Oct 2019, 05:13 Lou,  wrote:

> -Dremote.platform.home=/home/pi/jre/
>
...

> '/home/pi/jre//bin/java'
>
That double slash looks suspicious. Maybe the slashes at the end of the
various remote location properties need removing?

Best wishes,

Neil


Re: Netbeans RCP Compatibility

2019-10-17 Thread Neil C Smith
On Thu, 17 Oct 2019 at 00:21, Adam Korynta  wrote:
> I assume Netbeans RCP 8.2 only supports JDK 8. Is this right? And is OpenJDK 
> supported?

8.2 works great with OpenJDK 8, should you need that as a stopgap.  I
shipped Zulu OpenJDK 8 with an 8.2 based application for some time,
although would probably pick AdoptOpenJDK now.

There were few relevant differences between OpenJDK 8 and Oracle Java
8.  From Java 11 there should be no difference, and I would guess a
majority here are not using an Oracle JDK any more(?)


On Thu, 17 Oct 2019 at 09:31, Emilian Bold  wrote:
> Yes, but there aren't necessarily Platform changes between NetBeans
> releases. I think you could look at the individual module versions to
> see if something actually changed.

Note that every NetBeans release has the spec version of every module
increased, so this might not be a useful guide!

Best wishes,

Neil

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

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



Re: Netbeans RCP Compatibility

2019-10-17 Thread Neil C Smith
On Thu, 17 Oct 2019 at 10:03, Emilian Bold  wrote:
>
> > Note that every NetBeans release has the spec version of every module
> increased, so this might not be a useful guide!
>
> So besides diff-ing source code is there some way to see if something
> changed in the Platform?

Well, you can at least see which modules have been touched since at
https://github.com/apache/netbeans/tree/master/platform  May not be
the best way! :-)

Wonder why GitHub shows my spec version PR as last commit for most
modules, but the actual commit on some?!

Neil

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

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



Re: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

2019-10-18 Thread Neil C Smith
On Fri, 18 Oct 2019 at 10:38, Juan Miguel Escribano
 wrote:
>
> It only compiles without problems when I start Netbeans over Java 8 and 
> compile the project with Java 8.

In project properties Build/Compiling have you tried with Compile on
Save off and Run Compilation in External VM on?

Best wishes,

Neil

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

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



Re: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl

2019-10-18 Thread Neil C Smith
On Fri, 18 Oct 2019 at 11:20, Juan Miguel Escribano
 wrote:
> As I said it is a Ant project (Again, don’t ask why) and if I’m understanding 
> StackOberflow, I need to add Java EE to the libraries of my project.
> I have added jaxb-api, jaxb-impl. jaxb-core and activation jars to the 
> libraries of the project (and to Ant, Java , Options, Classpath in Netbeans 
> preferences) but still the same: Starting Netbeans over Java 3 fails to 
> compile, Starting over Java 8 everything ok.

Can you confirm how you're going about setting up the project to
compile against Java 8?

Neil

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

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



Re: Cannot run program "cmd": Malformed argument has embedded quote

2019-10-23 Thread Neil C Smith
On Wed, 23 Oct 2019, 22:15 Richard Grin, 
wrote:

> Is there a recommended workaround? Is it really a problem with the JDK
> version?
>
Not a problem, but a change in behaviour. Try editing netbeans.conf or wait
a few days for 11.2. See https://github.com/apache/netbeans/pull/1581

Best wishes,

Neil

>


Re: Can't build newly cloned project.

2019-10-30 Thread Neil C Smith
On Tue, 29 Oct 2019, 23:36 Greenberg, Gary,  wrote:

> No, I am still running it on Java 8.
>
That issue also affects the latest Java 8 release. Same workaround.

Best wishes,

Neil

>


Re: Can't build newly cloned project.

2019-10-30 Thread Neil C Smith
On Wed, 30 Oct 2019, 09:16 Richard Grin, 
wrote:

> I think that the problem about Java 11.0.5 existed before for other
> versions.
>
It was introduced in JDK updates in mid-Oct, hence why it wasn't picked up
earlier and the workaround only just made it into 11.2

Best wishes,

Neil

>


Re: Can't build newly cloned project.

2019-10-30 Thread Neil C Smith
On Wed, 30 Oct 2019 at 09:40, Richard Grin
 wrote:
>
> I was not clear enough :
>
> I think that the problem about Java 11.0.5 existed before for other versions 
> ** of Java SE **.

Obviously I was not clear enough either! ;-)  I'm also talking about
Java SE.  The problem affecting NetBeans was introduced by a security
update in mid-Oct in JDK 8u231, 11.0.5 and 13.0.1.  All of those
should be broken in the same way with NetBeans 11.0 or 11.1 without
applying the workaround.  The workaround *just* made it into 11.2.

Best wishes,

Neil

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

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



Re: Can't build newly cloned project.

2019-10-30 Thread Neil C Smith
On Wed, 30 Oct 2019 at 17:19, Greenberg, Gary  wrote:
>
> Unfortunately, per company policy we all have to work on Java 8 and versions 
> of Java are downloaded automatically.
> Thus, JDK 8u231 was installed on my machine about a week ago. Before I was 
> using JDK 8u221 and did not have this problem.
> Shall I downgrade?

Just edit netbeans.conf as suggested above.  Add in
-J-Djdk.lang.Process.allowAmbiguousCommands=true as per
https://github.com/apache/netbeans/pull/1581/files

Or you could edit your desktop shortcut to launch NetBeans with that
option instead.

> BTW, I did go to the Oracle site and there is no JDK 11.2 there. 11.0.5 is 
> the latest in Java 11.
> https://www.oracle.com/technetwork/java/javase/overview/index.html

11.2 refers to NetBeans 11.2, which has just been voted for release,
although not announced yet.  That has the fix in netbeans.conf built
in.

Best wishes,

Neil

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

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



Re: GUI builder cannot find generated code

2019-10-31 Thread Neil C Smith
On Thu, 31 Oct 2019 at 11:46, Peter Toye  wrote:
> You should get an error message saying the file is corrupt. If you don't, 
> your system is different from mine.

Yep!  Probably because it is.  Open the OuterPane.java file in a text
editor outside NetBeans and make sure the comments around the
variables section are

  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.ButtonGroup bgColours;

  // End of variables declaration//GEN-END:variables

And in the project properties, remove all external libraries.

Opens fine for me then.

Best wishes,

Neil

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

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



Re: GUI builder cannot find generated code

2019-10-31 Thread Neil C Smith
On Thu, 31 Oct 2019 at 16:53, Peter Toye  wrote:
> Thanks a million. That did the trick.

Great!

> I suspect that the conversion from NB 8 to 11 has some bugs in this area - it 
> probably doesn't add the comments in properly. But now I don't have a working 
> NB 8 so can't test it out.

In general there isn't - I've done a lot of that update over the last
couple of months - in fact, checked against some of mine to see
exactly what was missing.  There is no comment to add in.  Something
in your process has resulted in them being removed.  Not sure if
broken dependencies could cause that problem?!

Best wishes,

Neil

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

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



[ANNOUNCE] Apache NetBeans 11.2 released

2019-11-01 Thread Neil C Smith
The Apache NetBeans team is pleased to announce the release of Apache
NetBeans 11.2. Apache NetBeans is a full IDE for Java SE, Java EE, PHP
and JavaScript development with some Groovy language support.

Apache NetBeans 11.2 is the second Apache NetBeans release outside the
Apache Incubator and the second release of the new quarterly release
cycle.  The LTS release of the Apache NetBeans 11 cycle is Apache
NetBeans 11.0. The 11.2 release has not been as heavily tested as the
LTS release. Use 11.2 to access the latest features and to provide
feedback for the next LTS release, scheduled for April 2020.

New & noteworthy features of the 11.2 release:

https://netbeans.apache.org/download/nb112/index.html

Downloads:

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

Feel free to share the good news!

Thanks everyone, and best wishes,

Neil C Smith
Volunteer Release Manager for Apache NetBeans 11.2
on behalf of Apache NetBeans PMC

-
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: Unable to compile ant-basen Netbeans platform application with Netbeans 11.2

2019-11-01 Thread Neil C Smith
On Fri, 1 Nov 2019 at 14:43, Andreas Hauffe
 wrote:
> I tried to compile my netbeans platform application with netbeans 11.2, but I 
> got an error. The layer.xml validation reports that I've got a not valid 
> layer.xml.
>
> It seems that this commit is the reason:
>
> https://github.com/apache/netbeans/commit/1a0de1d2da2aa0579d003bb7f0dde26dfc28f8b8#diff-2b637bb4c6d604cc031479895333d01c
>
> Do I have to change something in my app?

It's a known issue.  There's a PR for 11.3 which we might be able to
push as an update for 11.2
https://github.com/apache/netbeans/pull/1593

The other option is to manually edit common.xml in the IDE or in an
external harness if you're using one.  Unless it's possible to
override this task in another way?!

Best wishes,

Neil

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

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



Re: How to bypass a local certificate problem

2019-11-06 Thread Neil C Smith
On Wed, 6 Nov 2019 at 17:50, Raymond, Craig A (US)
 wrote:
> Firefox (60.8.0esr, 64-biy RHEL 7) error:
> Your connection is not secure

Guessing that's an old Firefox or OS issue.  Fine here with FF 70 on
latest Ubuntu LTS, so something in that bug Emi linked too!

In the interim, you could disable the Third-party libraries update
centre in Tools / Plugins / Settings which will give you the older
nb-javac from the plugin portal.  Not a bad idea while there's a known
issue with the updated nb-javac - see
https://github.com/apache/netbeans/pull/1604

Or run without nb-javac at all if you're on 11+.  Apart from the
nagging notification, it's working quite well for me.

Incidentally, hg.netbeans.org should be the backup link AFAIK?!

Best wishes,

Neil

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

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



Re: How to bypass a local certificate problem

2019-11-07 Thread Neil C Smith
On Thu, 7 Nov 2019 at 16:04, Leo Donahue  wrote:
>  I did have to switch Look & Feel to Nimbus because the GTK+ has the 
> "Project, Files and Services tabs" all chopped off except the very tops.

That one is curious.  Have you opened a bug for it?  No problem with
GTK+ here on Ubuntu 18.04 with AdoptOpenJDK 11.  Be good to figure out
what breaks it.  Are you using Debian packaged OpenJDK, because if
it's anything like the Ubuntu downstream it's a bit of a mess!

Best wishes,

Neil

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

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



Re: Icons displayed for Netbeans Platform application on MacOS

2019-11-07 Thread Neil C Smith
On Thu, 7 Nov 2019 at 16:12, Joseph Huber  wrote:
> -J-Xdock:icon=/Applications/${APPNAME}.app/Contents/Resources/icon.icns
> -J-Xdock:name=\"ProSuite NA\""
...
> I have also been searching for some documentation on the list of variables 
> (like ${HOME} and ${APPNAME}) that are supported in the myapp.conf file, but 
> I haven't been able to find one.

Reminds me that those dock icon and name arguments are set in the
launcher already
https://github.com/apache/netbeans/blob/master/harness/apisupport.harness/release/launchers/app.sh#L120
 Shows where it, by default, is looking for the icon.  Be good if the
dock name could be set separately to ${APPNAME} there though.

Also you can see where ${APPNAME} comes from in that file.  the .conf
file is just a sourced script.  ${HOME} is a standard environment
variable, part of posix standard as far as I know.

Best wishes,

Neil

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

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



Re: JDK

2019-11-27 Thread Neil C Smith
On Wed, 27 Nov 2019 at 19:10, Geertjan Wielenga  wrote:
> You’ll need to run on JDK 8 to use those. Better to simply use the OpenJFX 
> Gluon templates in the “Java with Maven" category.

While being aware that you need to use Run Maven / Goals / javafx:run
rather than the normal Run in the IDE unless you set up the actions
correctly.  Those templates are a bit of a gotcha!

Best wishes,

Neil

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

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



Re: WARNING: INFECTED: Re: deployable javafx app

2019-12-03 Thread Neil C Smith
On Tue, 3 Dec 2019, 14:53 Chuck Davis,  wrote:

> If you hover on the link google created it indicates it's going to maven
> but then goes anyplace else.
>

It's just a typo, not malicious. Spell Apache right and you're fine.

Best wishes,

Neil


Re: NB 11.2 update 1

2019-12-08 Thread Neil C Smith
On Sun, 8 Dec 2019 at 17:14, Thomas Kellerer  wrote:
> I got some minor updates for two or three modules through the update center.
>
> Is that supposed to be Update 1?
>
> Because e.g. NETBEANS-3257 is not resolved with that (contrary to what the 
> blog announcement for update 1 stated)

Have you been through both rounds of updates?  The first one updates
information about nb-javac, the second round actually updates it.
Does Tools / Plugins / Check for Updates show anything pending?  Is
Third Party Libraries under plugin settings enabled?

Best wishes,

Neil

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

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



Re: NB 11.2 update 1

2019-12-09 Thread Neil C Smith
On Mon, 9 Dec 2019 at 15:08, Thomas Kellerer  wrote:
> Does this mean, there _should_ be a newer version then 2.0.1 on the update 
> center?

That's the version I have here, although it should have taken two
rounds of updates in your original installation to get it.  I can no
longer reproduce the issue with that version.

Agree with Geertjan that a new issue and logs might be needed here.

Best wishes,

Neil

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

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



Re: Increase memory for unit tests.

2019-12-16 Thread Neil C Smith
On Mon, 16 Dec 2019 at 13:11, Andy Turner  wrote:
> Thanks, yes, I've tried that setting already with partial success. With that 
> setting, the test passes when I run a clean and build. The test however fails 
> when I try to run that single test file (which I want to run through the 
> debugger)..

At a guess you want to customize the project properties' Actions /
Test File with exec.args=-Xmx1024m  - not tested but am using that to
pass other test args.

Best wishes,

Neil

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

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



Re: Increase memory for unit tests.

2019-12-16 Thread Neil C Smith
On Mon, 16 Dec 2019 at 13:16, Neil C Smith  wrote:
> At a guess you want to customize the project properties' Actions /
> Test File with exec.args=-Xmx1024m  - not tested but am using that to
> pass other test args.

Sorry, make that argLine= ! :-\

Best wishes,

Neil

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

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



Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Neil C Smith
On Fri, 3 Jan 2020 at 16:24, ronald marangwanda
 wrote:
> I created a .desktop file for Gnome 3 on Ubuntu.
...
> Does netbeans not set the WM_CLASS correctly? How do I fix this?

The answer's in your question! ;-)  Make sure to add the WM_CLASS line
to the .desktop file

eg.

StartupWMClass=Apache NetBeans 11.2

Best wishes,

Neil

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

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



Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-03 Thread Neil C Smith
On Fri, 3 Jan 2020, 21:36 ronald marangwanda, 
wrote:

> I added that line to the .desktop file but I do not know what the correct
> WMClass for Apache Netbeans 11.2 is.
>

Ah, sorry, you're right - it should match the value you get from xprop. And
does seem like the code to set WM_CLASS linked here doesn't work any more?!

https://github.com/apache/netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/view/ui/MainWindow.java#L123


Best wishes,

Neil

>


Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-04 Thread Neil C Smith
On Fri, 3 Jan 2020, 23:16 Laszlo Kishalmi, 
wrote:

> It shall work, here is the line from the Snap package:
>
> StartupWMClass=Apache NetBeans IDE 11.2
>
> It was confirmed to work for 11.2
>
Given the xprop output in the original email I'm not sure it is everywhere.
It also feels familiar. I'll see if I can replicate.

Ronald, can you share your JDK version and vendor.

Best wishes,

Neil

>


Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-06 Thread Neil C Smith
On Sat, 4 Jan 2020 at 19:41, ronald marangwanda
 wrote:
> Im on Ubuntu 18.04 and the java im using is openjdk version "11.0.5"

Thanks.  Just had a bit of time to dig into this.  I can replicate
your issue with the duplicate launcher icon appearing, as of 11.2 -
earlier versions are fine.  I can't replicate the WM_CLASS of the IDE
window being wrong, but it seems the splash now has a WM_CLASS of
java.lang.Thread - is that what you ran xprop on?  Earlier versions
don't seem to have any WM_CLASS on the splash as far as I can tell.
Changing the desktop file to run NetBeans with --nosplash seems to fix
the duplicate icon issue.  Not sure what changed to cause this - I
thought the splash screen changes went into 11.1?!

Note that my StartupWMClass line above was wrong - should be (note
"IDE" was missing)

StartupWMClass=Apache NetBeans IDE 11.2

Best wishes,

Neil

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

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



Re: Opening NetBeans in NetBeans

2020-01-09 Thread Neil C Smith
On Thu, 9 Jan 2020 at 06:11, Laszlo Kishalmi  wrote:
> Well, it is just 12 simple steps.
>

The latter few videos at
https://netbeans.apache.org/participate/build-run-debug-tutorials.html
may also be quite useful for people getting started with this.

Best wishes,

Neil

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

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



Re: MissingResourceException

2020-01-15 Thread Neil C Smith
On Wed, 15 Jan 2020 at 17:17, Eirik Bakke  wrote:
> Though you're on ant, and I'm using Maven (and the bugzilla bug above refers 
> to Maven). Maybe they are two different bugs.

Well, related.  My first thought on this was Compile on Save.  I don't
think I've got that enabled in a single project right now for one
reason or another.  I also wonder if we can support it longer term -
gets disabled without nb-javac?

Best wishes,

Neil

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

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



Re: bringing an old javafx RCP project into the modern era

2020-01-29 Thread Neil C Smith
On Wed, 29 Jan 2020 at 06:58, Boris Heithecker  wrote:
> the problem with including JavaFX in a NetBeans RCP app is deployment, 
> because you need different versions of the extension for different operating 
> systems. All of the having the same class names, so you can't simply package 
> all of them.

Maybe check the JavaFX modules at
https://github.com/apache/netbeans/tree/master/extra

In particular notice the use of OpenIDE-Module-Needs in the manifest,
eg. at 
https://github.com/apache/netbeans/blob/master/extra/libs.javafx.linux/manifest.mf#L8

Doesn't that solve the problem when packaging them all?

Best wishes,

Neil

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

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



Re: bringing an old javafx RCP project into the modern era

2020-01-29 Thread Neil C Smith
On Wed, 29 Jan 2020, 17:06 Scott Palmer,  wrote:

>
> Isn’t the “right” way to create a JRE using jimage which includes the
> JavaFX modules via JavaFX JMOD files and bundle that with your application?
>

Right, maybe. But AFAIK not easily achievable right now. I ideally need to
run an RCP app with a whole load of stuff on the module path in the near
future, but haven't looked much at it yet. Did talk to Jan briefly at NB UK
about it and get the feeling it might be "difficult". :-)

Best wishes,

Neil

>


Re: unable to add resources or resource folder in NetBeans 11.2

2020-02-12 Thread Neil C Smith
On Wed, 12 Feb 2020, 18:17 cryptearth, 
wrote:

> How was I supposed to know I have to add a folder in files view called
> resources under src/main instead of just add a new folder in the projects
> view.
>

There is a node for resources in the project view somewhere. You can do
this via the UI, but knowing how it works under the hood is also important.
Ironically had to use Eclipse for the first time today on a client's VM and
found their Maven integration confusing too. Tools take time to learn.

Best wishes,

Neil

>


Re: CVS plugin org-netbeans-lib-cvsclient

2024-09-25 Thread Neil C Smith
On Wed, 25 Sept 2024 at 09:45,  wrote:
>  From Netbeans 22 on I have not been able to make it work and thus my 
> question:
>
>Is there any CVS plugin for Netbeans that I can not find or is CVS
> support officially 'banned'?

The obvious change between 21 and 22 would be the versioning.util
module moving to require Java 11+ ??

Unfortunately the CVS support relied on code that was not donated to
ASF and is not compatible with the Apache license, as far as I recall.

It's not "banned", but the license and/or lack of donation mean it is
also not possible to continue development within the NetBeans project.
Nothing stopping someone forking, fixing and releasing a plugin under
the original license(s).

Best wishes,

Neil

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

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



Re: JDK23 support

2024-09-20 Thread Neil C Smith
On Fri, 20 Sept 2024 at 16:21, Patrik Karlström  wrote:
>
> Happy to see yet another release, thanks!
>
> >The Apache NetBeans 23 binary releases require JDK 17+, and officially 
> >support running on JDK 17, 21 and 23.
>
> I realize this is about _running_ the IDE on JDK 23, but inspired by this I 
> tried to build my platform application on JDK 23. It failed, both with 
> RELEASE220 and RELEASE230.
>
> Is this the expected behavior at this point?

This might be because you haven't added full to your
compiler configuration?   See eg.
https://github.com/praxis-live/praxis-live/commit/9e2762820900cb0c9be42ca29a0faf4fabe462ad

This is caused by JDK changes in 23 -
https://inside.java/2024/06/18/quality-heads-up/

Best wishes,

Neil

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

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



Re: [somewhat off-topic] need advice for new Mac notarization reqs.

2024-10-03 Thread Neil C Smith
Hi,

NetBeans uses NBPackage to build its PKG installer (not a DMG). This signs
all natives, as well as deep signing and repackaging all macOS natives
inside JAR files.

See eg.
https://github.com/apache/netbeans-nbpackage/blob/master/src/main/java/org/apache/netbeans/nbpackage/macos/AppBundleTask.java#L305

NBPackage will do this for any NetBeans platform application too.

Best wishes,

Neil

On Thu, 3 Oct 2024, 18:37 Thomas Wolf,  wrote:

> Uh, I actually "misspoke" when I said that JGit uses JNA.  It seems that
> it works just fine - at least for how my app uses it (clone and pull) -
> without the JNA jar.  So my app now passes the notarization process.  But I
> do still wonder what others are doing to insulate themselves from what
> appears to be Apple's constant - and unannounced - changes to its
> notarization process?
>
> Best,
> Tom
>
>
> > On Oct 3, 2024, at 1:13 PM, Thomas Wolf  wrote:
> >
> > Hi,
> > I'll be up-front: this isn't strictly a Netbeans question, but I do
> wonder how NB developers handle this situation and, hopefully, get some
> ideas about what I can do myself.
> >
> > Recently, I went through my usual notarization process with my
> application (a DMG installer produced by jpackage) only to see the
> submission fail.  Looking at the log, Apple is now complaining about the
> native macOS executables I'm bundling in my application's jar file as well
> as the JNA jar that JGit's jar depends on.  It seems Apple is getting ever
> more watchful on what runs on their Macs.
> >
> > I was able to get around the notarization failure on my native
> executables by simply encrypting them.  I know, the 'right' thing to do
> would be to actually do the three things Apple now asks for (signing each
> executable, providing a secure time stamp, and having them run in a
> hardened runtime environment), but I have neither the time nor Mac-specific
> knowledge to go down that path.  Encrypting those executables will prevent
> future snooping by Apple as well.
> >
> > But what to do about the JGit JNA dependency?  I read sometime back that
> Netbeans also uses JGit - if that's true, how do the community members that
> provide the DMG installer of NB handle this notarization requirement?  Or
> is there a version of JGit that's pure Java that I could use instead and
> avoid the issue altogether?
> >
> > Thanks in advance,
> > Tom
> >
>
>
> -
> 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: JDK23 support

2024-09-30 Thread Neil C Smith
On Mon, 30 Sept 2024 at 09:57, Jean-Marc Borer  wrote:
> Do you think this would as well fix the issue I recently reported here: 
> https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/issues/200
>
> Annotations seem not to properly generate Bundle.java classes in the 
> "Generated Sources (annotations)" directory...

Yes, that's the same issue.

Neil

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

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



<    1   2   3   4