RE: nbm-maven-plug for java14

2020-06-18 Thread Eric Barboni
Hi,

nbm-maven-plugin depends on

maven-dependency-analyzer which is "parsing" the bytecode. 
As you may notice they do the fix to modern asm 8.0 to be compatible with jdk14
https://github.com/apache/maven-dependency-analyzer/commits/master/pom.xml

But the release is handled by Apache Maven PMC, not NetBeans. We can ask for a 
release but they may want to delay for their own schedule. My opinion is that 
we should not block Apache NetBeans release waiting for all the dependencies 
stack to be updated.

If you clone 
https://github.com/apache/maven-dependency-analyzer
clean install locally
if you clone 
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin
update pom to 1.11.2-SNAPSHOT for analyzer
then you should be able to do jdk14 build. 
(Note that we cannot do release with SNAPSHOT in it. We should wait until 
1.11.2 is released.)

I hope it helps

Best Regards
Eric

-Message d'origine-
De : Richard Linsdale  
Envoyé : jeudi 18 juin 2020 16:21
À : NetBeans Mailing 
Objet : Re: nbm-maven-plug for java14

Eric,

I will see what I can do.

However it does seem to indicate that Java14 development using Maven is not 
supported (at least for NBM plugin or NB Platform application development). I 
guess this should be documented somewhere otherwise others may start down the 
path I have taken and then hit problems.

I would have hoped that whenever a release of Netbeans occurred which included 
support for a later version of Java, the release process would ensuring the 
nbm-maven-plugin was updated as well. Could this point be considered as you 
complete the 12.0 release retrospective?

regards

Richard


On 18/06/2020 14:07, Eric Barboni wrote:
> Hi,
>   I currently don't have jdk 14 installed. By compiling 4.6-SNAPSHOT on your 
> machine you can test if your build pass jdk 14.
> I'm not sure it will because some dependencies of nbm-maven plugin may use 
> old dependencies that cannot "parse" jdk 14 jar.
>
> Best Regards
> Eric
>
> -Message d'origine-
> De : Richard Linsdale  Envoyé : 
> dimanche 14 juin 2020 00:12 À : Emilian Bold  
> Cc : NetBeans Mailing  Objet : Re: 
> nbm-maven-plug for java14
>
> Thanks for the reply.  Your reference is the the GitHub source repository, I 
> was hoping for a maven repository url which holds the binary of the plugin 
> snapshot (4.6-SNAPSHOT).
>
> richard
>
> On 13/06/2020 23:02, Emilian Bold wrote:
>> https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin
>>
>> --emi
>>
>> On Sun, Jun 14, 2020 at 12:45 AM Richard Linsdale 
>>  wrote:
>>> I have just upgraded to Netbeans 12.0 and java14 and am have trouble in 
>>> getting a suitable version of the nbm-maven-plug which works in this 
>>> environment.  Version 4.5 does not accept Java14 compiled classes.  The 
>>> documentation for the plugin states the latest version is 4.6-SNAPSHOT, but 
>>> I can't find any details of where to find snapshot releases for this 
>>> plugin.  Does anyone know the repository url?  Otherwise can I ask when the 
>>> 4.6 version is planned to be released (and by implication will be available 
>>> from Maven Central).
>>>
>>> Product Version: Apache NetBeans IDE 12.0
>>>
>>> Java: 14.0.1; OpenJDK 64-Bit Server VM 14.0.1+7
>>>
>>> Runtime: OpenJDK Runtime Environment 14.0.1+7
>>>
>>> System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB 
>>> (nb)
>>>
>>> User directory: /Users/richard/Library/Application
>>> Support/NetBeans/12.0
>>>
>>> Cache directory: /Users/richard/Library/Caches/NetBeans/12.0
>>>
>>> thanks for any information
>>>
>>> Richard
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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




Re: nbm-maven-plug for java14

2020-06-18 Thread Richard Linsdale

Eric,

I will see what I can do.

However it does seem to indicate that Java14 development using Maven is 
not supported (at least for NBM plugin or NB Platform application 
development). I guess this should be documented somewhere otherwise  
others may start down the path I have taken and then hit problems.


I would have hoped that whenever a release of Netbeans occurred which 
included support for a later version of Java, the release process would 
ensuring the nbm-maven-plugin was updated as well. Could this point be 
considered as you complete the 12.0 release retrospective?


regards

Richard


On 18/06/2020 14:07, Eric Barboni wrote:

Hi,
  I currently don't have jdk 14 installed. By compiling 4.6-SNAPSHOT on your 
machine you can test if your build pass jdk 14.
I'm not sure it will because some dependencies of nbm-maven plugin may use old 
dependencies that cannot "parse" jdk 14 jar.

Best Regards
Eric

-Message d'origine-
De : Richard Linsdale 
Envoyé : dimanche 14 juin 2020 00:12
À : Emilian Bold 
Cc : NetBeans Mailing 
Objet : Re: nbm-maven-plug for java14

Thanks for the reply.  Your reference is the the GitHub source repository, I 
was hoping for a maven repository url which holds the binary of the plugin 
snapshot (4.6-SNAPSHOT).

richard

On 13/06/2020 23:02, Emilian Bold wrote:

https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin

--emi

On Sun, Jun 14, 2020 at 12:45 AM Richard Linsdale
 wrote:

I have just upgraded to Netbeans 12.0 and java14 and am have trouble in getting 
a suitable version of the nbm-maven-plug which works in this environment.  
Version 4.5 does not accept Java14 compiled classes.  The documentation for the 
plugin states the latest version is 4.6-SNAPSHOT, but I can't find any details 
of where to find snapshot releases for this plugin.  Does anyone know the 
repository url?  Otherwise can I ask when the 4.6 version is planned to be 
released (and by implication will be available from Maven Central).

Product Version: Apache NetBeans IDE 12.0

Java: 14.0.1; OpenJDK 64-Bit Server VM 14.0.1+7

Runtime: OpenJDK Runtime Environment 14.0.1+7

System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb)

User directory: /Users/richard/Library/Application
Support/NetBeans/12.0

Cache directory: /Users/richard/Library/Caches/NetBeans/12.0

thanks for any information

Richard

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

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


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

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



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

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



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

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



RE: nbm-maven-plug for java14

2020-06-18 Thread Eric Barboni
Hi,
 I currently don't have jdk 14 installed. By compiling 4.6-SNAPSHOT on your 
machine you can test if your build pass jdk 14. 
I'm not sure it will because some dependencies of nbm-maven plugin may use old 
dependencies that cannot "parse" jdk 14 jar.

Best Regards
Eric

-Message d'origine-
De : Richard Linsdale  
Envoyé : dimanche 14 juin 2020 00:12
À : Emilian Bold 
Cc : NetBeans Mailing 
Objet : Re: nbm-maven-plug for java14

Thanks for the reply.  Your reference is the the GitHub source repository, I 
was hoping for a maven repository url which holds the binary of the plugin 
snapshot (4.6-SNAPSHOT).

richard

On 13/06/2020 23:02, Emilian Bold wrote:
> https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin
>
> --emi
>
> On Sun, Jun 14, 2020 at 12:45 AM Richard Linsdale 
>  wrote:
>> I have just upgraded to Netbeans 12.0 and java14 and am have trouble in 
>> getting a suitable version of the nbm-maven-plug which works in this 
>> environment.  Version 4.5 does not accept Java14 compiled classes.  The 
>> documentation for the plugin states the latest version is 4.6-SNAPSHOT, but 
>> I can't find any details of where to find snapshot releases for this plugin. 
>>  Does anyone know the repository url?  Otherwise can I ask when the 4.6 
>> version is planned to be released (and by implication will be available from 
>> Maven Central).
>>
>> Product Version: Apache NetBeans IDE 12.0
>>
>> Java: 14.0.1; OpenJDK 64-Bit Server VM 14.0.1+7
>>
>> Runtime: OpenJDK Runtime Environment 14.0.1+7
>>
>> System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb)
>>
>> User directory: /Users/richard/Library/Application 
>> Support/NetBeans/12.0
>>
>> Cache directory: /Users/richard/Library/Caches/NetBeans/12.0
>>
>> thanks for any information
>>
>> Richard
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

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

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



-
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



Platform: Saving Editor Fonts & Colors

2020-06-18 Thread Paul Holmes
Hi,

PROBLEM
In my own IDE, built on the NetBeans Platform, I can edit Options->Fonts 
for my language,
and the changes have effect in the Options window, but not in my main editor.
If I close and re-open the Options window, the changes I made are still there.
It's as if the Options window and the main editor are using two different 
locations for their settings.

Note: If I change options for 'All Languages' the main editor reflects the 
changes, but not if I change
the options for 'My Language'.
Any tips on how I might go about debugging this?


BACKGROUND
I've been using the NetBeans IDE for years, but I'm completely new to the NB 
Platform.
I'm developing my first IDE (for a domain-specific language) and I've been 
following the NB Platform Learning trail.
I'm currently at the end of the Lexer tutorial
https://platform.netbeans.org/tutorials/nbm-javacc-lexer.html
The lexer seems to work, but not the options.

Paul