Re: Netbeans outdated method references

2022-02-18 Thread Luff, Chris
I built the whole project from the terminal, removed the cache and user dir 
again then reopened NetBeans - problem is gone. Really not sure what that was 
all about or how I could recreate it!

On 18 Feb 2022, at 16:20, Luff, Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Additionally, the code is good and compiles and runs all the tests that are 
marked as syntactically incorrect in Netbeans. There must be a cache stored 
somewhere?!?!

On 18 Feb 2022, at 16:04, Luff, Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Thanks, but I don’t think the size of the project is the problem. Is there 
another place that I need to clean out to get it to allow it to read the 
interface correctly. The interface it’s getting wrong is in the same project.

Product Version: Apache NetBeans IDE 13-rc4
Java: 17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8-LTS
Runtime: OpenJDK Runtime Environment 17.0.2+8-LTS
System: Mac OS X version 12.2.1 running on x86_64; UTF-8; en_GB (nb)



On 18 Feb 2022, at 15:29, Alonso Del Arte 
mailto:alonso.dela...@gmail.com>> wrote:

For what it's worth, I don't think I have ever experienced that, but it could 
be that it has happened to me but I just failed to notice. What's been 
happening to me more often is a general slow-down with no completion popup at 
all. NetBeans is not as heavy as IntelliJ, but sometimes I do have to be 
careful not to overtax the system...

Al

On Fri, Feb 18, 2022 at 10:19 AM Luff, Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
Hi all,

Curious if anyone else has experienced this behaviour and how did they correct 
it.

I have changed some method names but in the unit tests, the old method name is 
in the popup completion and free typing the new name purports that it is 
incorrect. I have cleared the cache and the user directory, but the reference 
is still incorrect.


Thanks
Chris


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=04%7C01%7CChris.Luff%40cerner.com%7C63625f4de02748b67eb808d9f2fa960d%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807980346653451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=5ch696hBUfVt1gNENicSnYVgTbr%2BiH5Px2tmXV2wvfk%3D=0>



--
Alonso del Arte
Author at 
SmashWords.com<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.smashwords.com%2Fprofile%2Fview%2FAlonsoDelarte=04%7C01%7CChris.Luff%40cerner.com%7C63625f4de02748b67eb808d9f2fa960d%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807980346653451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=024e10hM3Zqv65zILRXgorVZnxdnYGabHtzhtv5K31g%3D=0>
Musician at 
ReverbNation.com<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.reverbnation.com%2Falonsodelarte=04%7C01%7CChris.Luff%40cerner.com%7C63625f4de02748b67eb808d9f2fa960d%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807980346653451%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=l0rNgRcala5kOmObMe2%2FuMpQhleg5a552b8M9SmN6jI%3D=0>





Re: Netbeans outdated method references

2022-02-18 Thread Luff, Chris
Additionally, the code is good and compiles and runs all the tests that are 
marked as syntactically incorrect in Netbeans. There must be a cache stored 
somewhere?!?!

On 18 Feb 2022, at 16:04, Luff, Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Thanks, but I don’t think the size of the project is the problem. Is there 
another place that I need to clean out to get it to allow it to read the 
interface correctly. The interface it’s getting wrong is in the same project.

Product Version: Apache NetBeans IDE 13-rc4
Java: 17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8-LTS
Runtime: OpenJDK Runtime Environment 17.0.2+8-LTS
System: Mac OS X version 12.2.1 running on x86_64; UTF-8; en_GB (nb)



On 18 Feb 2022, at 15:29, Alonso Del Arte 
mailto:alonso.dela...@gmail.com>> wrote:

For what it's worth, I don't think I have ever experienced that, but it could 
be that it has happened to me but I just failed to notice. What's been 
happening to me more often is a general slow-down with no completion popup at 
all. NetBeans is not as heavy as IntelliJ, but sometimes I do have to be 
careful not to overtax the system...

Al

On Fri, Feb 18, 2022 at 10:19 AM Luff, Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
Hi all,

Curious if anyone else has experienced this behaviour and how did they correct 
it.

I have changed some method names but in the unit tests, the old method name is 
in the popup completion and free typing the new name purports that it is 
incorrect. I have cleared the cache and the user directory, but the reference 
is still incorrect.


Thanks
Chris


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=04%7C01%7CChris.Luff%40cerner.com%7Cdeb6a3b34bb343663e7908d9f2f84eb2%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807971756483537%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=AXvT0EW4I98%2BmoDM%2FwL7lCQbWkglqy%2BCtYvKBUlEU0U%3D=0>



--
Alonso del Arte
Author at 
SmashWords.com<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.smashwords.com%2Fprofile%2Fview%2FAlonsoDelarte=04%7C01%7CChris.Luff%40cerner.com%7Cdeb6a3b34bb343663e7908d9f2f84eb2%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807971756483537%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=9lDD7m2Dlpi%2BfuLUB36o1UkubU40LheuzQ2ST5ZDuA4%3D=0>
Musician at 
ReverbNation.com<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.reverbnation.com%2Falonsodelarte=04%7C01%7CChris.Luff%40cerner.com%7Cdeb6a3b34bb343663e7908d9f2f84eb2%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807971756483537%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=C4nbDOBnPZE0B1kQ5T%2FPPR8VqLY5b53wX7wOfU22Rvw%3D=0>




Re: Netbeans outdated method references

2022-02-18 Thread Luff, Chris
Thanks, but I don’t think the size of the project is the problem. Is there 
another place that I need to clean out to get it to allow it to read the 
interface correctly. The interface it’s getting wrong is in the same project.

Product Version: Apache NetBeans IDE 13-rc4
Java: 17.0.2; OpenJDK 64-Bit Server VM 17.0.2+8-LTS
Runtime: OpenJDK Runtime Environment 17.0.2+8-LTS
System: Mac OS X version 12.2.1 running on x86_64; UTF-8; en_GB (nb)



On 18 Feb 2022, at 15:29, Alonso Del Arte 
mailto:alonso.dela...@gmail.com>> wrote:

For what it's worth, I don't think I have ever experienced that, but it could 
be that it has happened to me but I just failed to notice. What's been 
happening to me more often is a general slow-down with no completion popup at 
all. NetBeans is not as heavy as IntelliJ, but sometimes I do have to be 
careful not to overtax the system...

Al

On Fri, Feb 18, 2022 at 10:19 AM Luff, Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
Hi all,

Curious if anyone else has experienced this behaviour and how did they correct 
it.

I have changed some method names but in the unit tests, the old method name is 
in the popup completion and free typing the new name purports that it is 
incorrect. I have cleared the cache and the user directory, but the reference 
is still incorrect.


Thanks
Chris


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=04%7C01%7CChris.Luff%40cerner.com%7C6a04c820d65f47b5670708d9f2f38953%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807951106548298%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=idvG9rvpSQ0DLjNzeStPH37QN4ajws0bgTzaBsNzlyc%3D=0>



--
Alonso del Arte
Author at 
SmashWords.com<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.smashwords.com%2Fprofile%2Fview%2FAlonsoDelarte=04%7C01%7CChris.Luff%40cerner.com%7C6a04c820d65f47b5670708d9f2f38953%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807951106548298%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=T8e%2FTr4XJ9LJLf7isj5LWBuSQB3qjEOGltzfnMoxPlc%3D=0>
Musician at 
ReverbNation.com<https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.reverbnation.com%2Falonsodelarte=04%7C01%7CChris.Luff%40cerner.com%7C6a04c820d65f47b5670708d9f2f38953%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637807951106548298%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000=lLVOATBeR7u08KVgqbOrEVq14TwyxUGuHkGwJNNo9bc%3D=0>



Netbeans outdated method references

2022-02-18 Thread Luff, Chris
Hi all,

Curious if anyone else has experienced this behaviour and how did they correct 
it.

I have changed some method names but in the unit tests, the old method name is 
in the popup completion and free typing the new name purports that it is 
incorrect. I have cleared the cache and the user directory, but the reference 
is still incorrect.


Thanks
Chris


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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 com.sun.source.tree.Tree.getKind()

2021-11-09 Thread Luff, Chris

Well it was still happening, but I traced to a piece of code in just one file. 
It was compiling but something about NetBeans did not like it at all and was 
throwing this error. I used 12.5 on JDK17 and 11 and then 12.6-RC2 on JDK17 all 
throwing the same error. I can only imagine there was something corrupt in the 
file. I removed that excerpt and suddenly no problem. I rewrote the logic block 
in the same file and low and behold no issue. I moved the offending block to a 
new file and the NPE pops up again. I would love to share it, but it’s closed 
source so we’ll chalk this up to something inept that I did!!

Thanks Neil!


On 9 Nov 2021, at 14:43, Luff, Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:


Hey all,

I am getting an NPE on com.sun.source.tree.Tree.getKind() frequently in Java 
files. Anybody else seen this before I log a Jira?

  Mac OS X, 11.5, x86_64
  OpenJDK 64-Bit Server VM, 17.0.1+12-LTS, OpenJDK Runtime Environment, 
17.0.1+12-LTS
  Apache NetBeans IDE 12.5
  
  NullPointerException: Cannot invoke 
"com.sun.source.tree.Tree.getKind()" because "tree" is null

java.lang.NullPointerException: Cannot invoke 
"com.sun.source.tree.Tree.getKind()" because "tree" is null
at com.sun.source.util.TreePath.(TreePath.java:107)
at 
org.netbeans.modules.java.source.matching.CopyFinder.checkListsWithMultistatementTrees(CopyFinder.java:741)
at 
org.netbeans.modules.java.source.matching.CopyFinder.checkLists(CopyFinder.java:627)
at 
org.netbeans.modules.java.source.matching.CopyFinder.visitMethodInvocation(CopyFinder.java:618)
at 
org.netbeans.modules.java.source.matching.CopyFinder.visitMethodInvocation(CopyFinder.java:116)
at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1776)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:90)
at 
org.netbeans.modules.java.source.matching.CopyFinder.doSuperScan(CopyFinder.java:586)
at 
org.netbeans.modules.java.source.matching.CopyFinder.superScan(CopyFinder.java:578)
at 
org.netbeans.modules.java.source.matching.CopyFinder.scan(CopyFinder.java:473)
at 
org.netbeans.modules.java.source.matching.CopyFinder.scan(CopyFinder.java:314)
at 
org.netbeans.modules.java.source.matching.CopyFinder.internalComputeDuplicates(CopyFinder.java:181)
at org.netbeans.api.java.source.matching.Matcher.match(Matcher.java:177)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:540)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)





CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.



NPE com.sun.source.tree.Tree.getKind()

2021-11-09 Thread Luff, Chris

Hey all,

I am getting an NPE on com.sun.source.tree.Tree.getKind() frequently in Java 
files. Anybody else seen this before I log a Jira?

  Mac OS X, 11.5, x86_64
  OpenJDK 64-Bit Server VM, 17.0.1+12-LTS, OpenJDK Runtime Environment, 
17.0.1+12-LTS
  Apache NetBeans IDE 12.5
  
  NullPointerException: Cannot invoke 
"com.sun.source.tree.Tree.getKind()" because "tree" is null

java.lang.NullPointerException: Cannot invoke 
"com.sun.source.tree.Tree.getKind()" because "tree" is null
at com.sun.source.util.TreePath.(TreePath.java:107)
at 
org.netbeans.modules.java.source.matching.CopyFinder.checkListsWithMultistatementTrees(CopyFinder.java:741)
at 
org.netbeans.modules.java.source.matching.CopyFinder.checkLists(CopyFinder.java:627)
at 
org.netbeans.modules.java.source.matching.CopyFinder.visitMethodInvocation(CopyFinder.java:618)
at 
org.netbeans.modules.java.source.matching.CopyFinder.visitMethodInvocation(CopyFinder.java:116)
at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1776)
at com.sun.source.util.TreeScanner.scan(TreeScanner.java:90)
at 
org.netbeans.modules.java.source.matching.CopyFinder.doSuperScan(CopyFinder.java:586)
at 
org.netbeans.modules.java.source.matching.CopyFinder.superScan(CopyFinder.java:578)
at 
org.netbeans.modules.java.source.matching.CopyFinder.scan(CopyFinder.java:473)
at 
org.netbeans.modules.java.source.matching.CopyFinder.scan(CopyFinder.java:314)
at 
org.netbeans.modules.java.source.matching.CopyFinder.internalComputeDuplicates(CopyFinder.java:181)
at org.netbeans.api.java.source.matching.Matcher.match(Matcher.java:177)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.doComputeHints(HintsInvoker.java:540)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHintsImpl(HintsInvoker.java:283)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:228)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:193)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:166)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsInvoker.computeHints(HintsInvoker.java:128)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:114)
at 
org.netbeans.modules.java.hints.spiimpl.hints.HintsTask.run(HintsTask.java:65)
[catch] at 
org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:273)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(TaskProcessor.java:561)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:786)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)






CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Having NetBeans form data hit Java derby DB automagically

2021-03-10 Thread Luff,Chris
Lot’s of scenarios and plenty of options. Usually, you would write a set of 
interfaces to the data structure of the database that encapsulate update, 
insert and delete methods.

> On 10 Mar 2021, at 02:02, Amy Wolf  wrote:
>
> I have a front end form and have set up a Java derby db with a table & 
> columns.
>
> When the GUI is filled out, how does the record hit the db in the right 
> fields? Is there Java code for this?
>
> Thanks!
>
> -
> 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://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=04%7C01%7CChris.Luff%40cerner.com%7Ce97dabb359d14074eb4f08d8e3689b1d%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637509385849726148%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000sdata=XHTu7XDxhUcdQZNnpjUYe0L151fysVb4ayJBosVnW3s%3Dreserved=0
>



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Running NetBeans faster on Apple Mac M1

2021-02-25 Thread Luff,Chris


Excellent - working with my company to get ahold of an M1 based Mac to test 
large maven reactor projects!

On 25 Feb 2021, at 13:03, Carl Mosca 
mailto:carljmo...@gmail.com>> wrote:

Yes, and "wow"

On Thu, Feb 25, 2021 at 8:00 AM Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com.invalid>>
 wrote:
I was reading through this and looking for the "but..." and there wasn't any. 
Awesome, thanks a lot for this info.

Gj

On Thu, Feb 25, 2021 at 1:55 PM David Gradwell 
mailto:da...@gradwell.com>> wrote:
Hi,

I do my development on an Apple Mac M1 using NetBeans 12.2

I downloaded the macOS Arm 64 bit version of jdk.15 from  
https://www.azul.com/downloads/zulu-community/?architecture=arm-64-bit=jdk
  installed the JDK and am running it in terminal at the moment until I trust 
it enough to change the NetBeans config.

Terminal command as follows:


"/Applications/NetBeans/Apache NetBeans 12.2.app/Contents/MacOS/netbeans"  
--jdkhome  /Library/Java/JavaVirtualMachines/zulu-15.jdk/Contents/Home

The result is that I have NetBeans running on an Arm native jdk which is, at a 
guess, 5 times faster than using NetBeans on a “normal” jdk.  A maven project 
with 40 files builds in 2 or 3 seconds.

There seem to be no problems with NetBeans and this version of Java.

Hope that’s of interest.

Regards

David G




--
Carl J. Mosca



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Build parent module in nbactions.xml

2021-02-19 Thread Luff,Chris
Hmm, sounds like you need to implement a maven solution and then just append 
that to the nbactions - something like; mvn clean compile test exec:java 
--projects javase --also-make 

You’ll need to configure the exec plugin in the parent and the executable 
module.


> On 18 Feb 2021, at 16:15, Steve Hannah  wrote:
> 
> Thanks for taking the time to reply.
> 
> My Project structure is:
> 
> root
>- common
>- javase
>- ios
>- android
>- ... some others.
> 
> Running the project on desktop should always run the javase project, which 
> has "common" as a dependency.
> 
> Most of the code is developed in the "common" module.  If I'm in the common 
> module, and I press "run", I want it to run the "javase" project.  Running 
> the root project would accomplish this also.
> 
> 
> 
> On Thu, Feb 18, 2021 at 8:09 AM Luff,Chris  wrote:
> Can I ask what you are trying to achieve with that? Assuming your parent is 
> set up correctly all the plugins, profiles, dependency management will flow 
> to the child. If you want to ensure you’re building all dependent modules of 
> the child from the parent, then you can just right-click and hit build with 
> dependencies “mvn --also-make —projects myprojectChild".
> 
> > On 18 Feb 2021, at 15:54, Steve Hannah  wrote:
> >
> > I have a multi-module maven project.  I'm trying to set up nbactions.xml so 
> > that when I'm working on a file inside a child module, if I press "Run", it 
> > will execute a goal on the parent module.
> >
> > I've been trying every back-handed way I can to inject something like the 
> > "-f ../pom.xml" into the mvn command call, but to no avail.
> >
> > Any pointers appreciated.
> >
> > Thanks
> >
> > Steve
> 
> 
> 
> CONFIDENTIALITY NOTICE This message and any included attachments are from 
> Cerner Corporation and are intended only for the addressee. The information 
> contained in this message is confidential and may constitute inside or 
> non-public information under international, federal, or state securities 
> laws. Unauthorized forwarding, printing, copying, distribution, or use of 
> such information is strictly prohibited and may be unlawful. If you are not 
> the addressee, please promptly delete this message and notify the sender of 
> the delivery error by e-mail or you may call Cerner's corporate offices in 
> Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, 
> Registered in England no 2519305, Registered Office 37 North Wharf Road, 
> London W2 1AF.
> 
> 
> -- 
> Steve Hannah
> Web Lite Solutions Corp.



Re: git toolbar

2021-02-19 Thread Luff,Chris
Right click the toolbar and check Git :D

On 18 Feb 2021, at 23:49, Alonso Del Arte 
mailto:alonso.dela...@gmail.com>> wrote:

I'm using NetBeans 11.2. I'm guessing you're using 12. But I would not imagine 
the Git toolbar is new in 12. How do I bring it up? (I don't know because I 
mostly use the command line to manage Git commits).

Al

On Thu, Feb 18, 2021 at 12:26 PM Glenn Holmer 
mailto:ce...@kolabnow.com.invalid>> wrote:
I love the git support in NetBeans, but in the toolbar, what are the two
blue lines on either side of "Create Branch" and "Switch To Branch"
supposed to be? Separators? (see screenshot)

--
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."




-
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


--
Alonso del Arte
Author at 
SmashWords.com
Musician at 
ReverbNation.com



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Build parent module in nbactions.xml

2021-02-18 Thread Luff,Chris
Can I ask what you are trying to achieve with that? Assuming your parent is set 
up correctly all the plugins, profiles, dependency management will flow to the 
child. If you want to ensure you’re building all dependent modules of the child 
from the parent, then you can just right-click and hit build with dependencies 
“mvn --also-make —projects myprojectChild".

> On 18 Feb 2021, at 15:54, Steve Hannah  wrote:
>
> I have a multi-module maven project.  I'm trying to set up nbactions.xml so 
> that when I'm working on a file inside a child module, if I press "Run", it 
> will execute a goal on the parent module.
>
> I've been trying every back-handed way I can to inject something like the "-f 
> ../pom.xml" into the mvn command call, but to no avail.
>
> Any pointers appreciated.
>
> Thanks
>
> Steve



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Maven Web App deployment

2021-01-18 Thread Luff,Chris
Without seeing anything, it would seem that you have bound the plugin to 
multiple phases. Can you share the relevant pom.xml excerpts. I was running the 
tomcat plugin just yesterday and did not see this problem.

On 16 Jan 2021, at 18:13, Dragan Bjedov 
mailto:draganbje...@gmail.com>> wrote:

Hello,

I have an issue with the Maven web app.
When I hit run, it gets deployed two times.
The Page opened on the first deployment has an error message, but the page 
opened on the second deployment works fine.

This is output log:
Deploying on Apache Tomcat or TomEE
profile mode: false
debug mode: false
force redeploy: true
Undeploying ...
undeploy?path=/spring-security-demo
OK - Undeployed application at context path [/spring-security-demo]
In-place deployment at 
/home/bjedov/NetBeansProjects/spring-security-demo/target/spring-security-demo-1.0-SNAPSHOT
Deployment is in progress...
deploy?config=file%3A%2Ftmp%2Fcontext4118861961478191874.xml=/spring-security-demo
OK - Deployed application at context path [/spring-security-demo]
Start is in progress...
start?path=/spring-security-demo
OK - Started application at context path [/spring-security-demo]
Deploying on Apache Tomcat or TomEE
profile mode: false
debug mode: false
force redeploy: true
Undeploying ...
undeploy?path=/spring-security-demo
OK - Undeployed application at context path [/spring-security-demo]
In-place deployment at 
/home/bjedov/NetBeansProjects/spring-security-demo/target/spring-security-demo-1.0-SNAPSHOT
deploy?config=file%3A%2Ftmp%2Fcontext9162120569393006448.xml=/spring-security-demo
OK - Deployed application at context path [/spring-security-demo]
Start is in progress...
start?path=/spring-security-demo
OK - Started application at context path [/spring-security-demo]
Note: There are no errors in server logs.

My setup is:
NetBeans 12.2
Apache Tomcat 9.0.41
Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 (Zulu JDK 15)
OS: Ubuntu 20.04

What is the problem here?

Kind regards,

Dragan Bjedov, MSc



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: NetBeans hanging

2020-12-08 Thread Luff,Chris
@James do you happen to have Junchi’s Rainbow Braces plugin installed? As soon 
as I installed it, the Lombok classes failed to open for me causing the hang. I 
uninstalled the plugin and everything began working again. Logged a report to 
Junchi - https://github.com/junichi11/netbeans-rainbow-braces/issues/11

@Junchi if you see this – happy to help with any debugging!

From: Luff,Chris 
Date: Tuesday, 8 December 2020 at 14:44
To: James Ostrowick , Luff,Chris 

Cc: NetBeans Users , d...@netbeans.apache.org 

Subject: Re: NetBeans hanging
So, in my case anyway, I can recreate when I have Lombok annotations. Junit 
annotation do not cause the same behaviour and files with no annotations open 
normally.

Cleaned up NetBeans again, enabled only the base Java modules and built the 
project. Low and behold the Lombok classes open again, no hangs! I installed 
nb-javac no problem so far…

I am going to enable other things bit by bit and will report back if I see the 
same behaviour but it looks like just a proper clean out is the best thing 
right now.

From: James Ostrowick 
Date: Tuesday, 8 December 2020 at 12:21
To: Luff,Chris 
Cc: NetBeans Users , d...@netbeans.apache.org 

Subject: Re: NetBeans hanging
+1 to this - have exactly the same issue (same config too)




On 08 Dec 2020, at 14:19, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Well, after changing to the release version and running net.java.openjdk.cmd 
“AppleWindowTabbingMode” to prevent full screen tabs that caused hangs - I am 
getting some odd behaviours. Every now and again I am getting hangs with no 
obvious cause.

In the hang that just occurred, EntityReport.java was opened from a maven 
project with other files open and everything operating just fine. NetBeans was 
not in full screen, but whilst opening it hung and has not responded since.



BigSur 11.0.1
MacBook Pro 2018
Product Version: Apache NetBeans IDE 12.2
Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9
Runtime: OpenJDK Runtime Environment 15.0.1+9
System: Mac OS X version 10.16 running on x86_64; UTF-8; en_GB (nb)






I have cleared the user and cache dir, removed all old versions of NetBeans and 
re-installed from the released version as of yesterday. Weirdly I was not 
experiencing this on the macOS installer voting candidate. I don’t have that 
download anymore to verify. If someone has the link, I will try that again!





CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.



Re: NetBeans hanging

2020-12-08 Thread Luff,Chris
So, in my case anyway, I can recreate when I have Lombok annotations. Junit 
annotation do not cause the same behaviour and files with no annotations open 
normally.

Cleaned up NetBeans again, enabled only the base Java modules and built the 
project. Low and behold the Lombok classes open again, no hangs! I installed 
nb-javac no problem so far…

I am going to enable other things bit by bit and will report back if I see the 
same behaviour but it looks like just a proper clean out is the best thing 
right now.

From: James Ostrowick 
Date: Tuesday, 8 December 2020 at 12:21
To: Luff,Chris 
Cc: NetBeans Users , d...@netbeans.apache.org 

Subject: Re: NetBeans hanging
+1 to this - have exactly the same issue (same config too)



On 08 Dec 2020, at 14:19, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Well, after changing to the release version and running net.java.openjdk.cmd 
“AppleWindowTabbingMode” to prevent full screen tabs that caused hangs - I am 
getting some odd behaviours. Every now and again I am getting hangs with no 
obvious cause.

In the hang that just occurred, EntityReport.java was opened from a maven 
project with other files open and everything operating just fine. NetBeans was 
not in full screen, but whilst opening it hung and has not responded since.


BigSur 11.0.1
MacBook Pro 2018
Product Version: Apache NetBeans IDE 12.2
Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9
Runtime: OpenJDK Runtime Environment 15.0.1+9
System: Mac OS X version 10.16 running on x86_64; UTF-8; en_GB (nb)




I have cleared the user and cache dir, removed all old versions of NetBeans and 
re-installed from the released version as of yesterday. Weirdly I was not 
experiencing this on the macOS installer voting candidate. I don’t have that 
download anymore to verify. If someone has the link, I will try that again!




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.



NetBeans hanging

2020-12-08 Thread Luff,Chris
Well, after changing to the release version and running net.java.openjdk.cmd 
“AppleWindowTabbingMode” to prevent full screen tabs that caused hangs - I am 
getting some odd behaviours. Every now and again I am getting hangs with no 
obvious cause.

In the hang that just occurred, EntityReport.java was opened from a maven 
project with other files open and everything operating just fine. NetBeans was 
not in full screen, but whilst opening it hung and has not responded since.

BigSur 11.0.1
MacBook Pro 2018
Product Version: Apache NetBeans IDE 12.2
Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9
Runtime: OpenJDK Runtime Environment 15.0.1+9
System: Mac OS X version 10.16 running on x86_64; UTF-8; en_GB (nb)


I have cleared the user and cache dir, removed all old versions of NetBeans and 
re-installed from the released version as of yesterday. Weirdly I was not 
experiencing this on the macOS installer voting candidate. I don’t have that 
download anymore to verify. If someone has the link, I will try that again!


[cid:B4C7CE62-3C71-4634-8BED-7104D977924B]


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: The 12.2 release for MacOS is worse than the 12.1 release.

2020-12-03 Thread Luff,Chris
I don’t like being internet guy, but come on, how is this helpful?

You could try giving us some idea of your machine specs, JDK, how many projects 
and size you have open or maven indexed repos? Are any errors in the 
notifications?

I am using 12.2 on the very same macOS version and I have experienced none of 
what you describe?!


On 3 Dec 2020, at 03:13, Mark A. Flacy 
mailto:mfl...@verizon.net.INVALID>> wrote:

Greetings,

I've been attempting to use the projected 12.2 version in my work projects
under MacOS Catalina (10.15.7).

In my experience, it is a pile of dung (GUI freezes.  Background scanning
doesn't happen but when it does, you have to force quit the Netbeans process).

I haven't tried it on my Linux boxes yet, but my MacOS experience is pushing
me to use IntelliJ (which my company pays for) on my work machine.  I HATE the
Intellij interface.

I'll stay with 12.1 until there are test projects that aren't trivial for the
Netbeans team to test against.

--
Mark A. Flacy
mfl...@verizon.net



-
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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=04%7C01%7CChris.Luff%40cerner.com%7Cb9afa5b845404c94ce9508d8973981d7%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637425620545091955%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=HO7V8drsR2TVaPVFg33BXhjuA7kuDmk4CI0lJS7DM0I%3Dreserved=0




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: How to make a different JDK the "default"

2020-11-25 Thread Luff,Chris
[cid:B2C8B5F8-D1FA-4AFB-940C-EE9B08841455@Home]

You can select a default in the Maven config.

Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com | Cerner 
Limited

On 25 Nov 2020, at 07:42, Thomas Kellerer 
mailto:sham...@gmx.net>> wrote:

Hello,

I am running NetBeans on OpenJDK 14, but all projects I have, are using Java 11 
so I have an OpenJDK 11 defined through "Java Platforms".

However, when I open a Maven or Gradle project, I always have to manually 
select JDK 11 in the project options despite the projects defining the source 
level to 11.

Is there a way I can define my JDK 11 as the "default" JDK without running 
NetBeans on it (so keeping --jdk-home pointing to JDK 14)?

I am using NetBeans 12.1 on Windows 10

Regards
Thomas

-
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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=04%7C01%7CChris.Luff%40cerner.com%7Cd59dd3d3411447394e6308d89115b1f8%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637418869659252224%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000sdata=fhMinXYbACI3MyusNOrusXIfxNcB6i2vL%2BM8n7CdZSQ%3Dreserved=0




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: JavaFX Maven project

2020-08-21 Thread Luff,Chris
Caused by: java.lang.IllegalStateException: Location is not set.
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2459)

You need to check that you have specified the correct location for your FXML.

On 20 Aug 2020, at 16:36, HRH 
mailto:hrh...@yahoo.com.INVALID>> wrote:

Hi,

The maven-based JavaFX projects are created with a pre-defined folder 
structure. Thus far, I have been implementing my application, controller, and 
other supporting classes in the org.javafx.$Project_name_folder (i.e. 
org.javafx.mavenfilteredtableview). This time, I created a project called " 
sortedaddressbook" and created a different folder called 
"org.me.sortedaddressbook" and placed all my classes in it. I modified the POM 
as follow:

http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
4.0.0
 org.me
sortedaddressbook
1.0-SNAPSHOT

UTF-8
11
11



org.openjfx
javafx-controls
14


org.openjfx
javafx-fxml
14





org.apache.maven.plugins
maven-compiler-plugin
3.8.0

11



org.openjfx
javafx-maven-plugin
0.0.4

 
org.me.sortedaddressbook.FilteredTableViewApp





default-cli




debug



-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:8000





ide-debug



-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}





ide-profile


${profiler.jvmargs.arg1}
${profiler.jvmargs.arg2}
${profiler.jvmargs.arg3}
${profiler.jvmargs.arg4}
${profiler.jvmargs.arg5}









Finally, I modified the module-info.java file as follow:

module org.me.sortedaddressbook  {
requires javafx.controls;
requires javafx.fxml;
requires java.base;

opens org.me.sortedaddressbook  to javafx.fxml;
exports org.me.sortedaddressbook;
}

This leads to a RunTimeException and here is the stack trace:


Exception in Application start method
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464)
at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at 
java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
Caused by: java.lang.RuntimeException: Exception in Application start method
at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)
at 
javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.IllegalStateException: Location is not set.
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2459)
at javafx.fxml/javafx.fxml.FXMLLoader.load(FXMLLoader.java:2435)
at 

Re: JavaFX 12

2020-08-10 Thread Luff,Chris
You’ll need the javafx-maven-plugin...

org.openjfx
javafx-maven-plugin
0.0.4

Then configure the run action in nbactions to execute that;


run

jar


clean
javafx:run



On 10 Aug 2020, at 12:55, HRH 
mailto:hrh...@yahoo.com.INVALID>> wrote:

Chuck,
Thanks for the prompt response. During the installation and initial setup, I 
changed the artifact versions per instructions given by Getting Started with 
JavaFX


Getting Started with JavaFX
Getting started with JavaFX for Java desktop application development

Here is the snap-shot of my pom.xml for these artifacts. Am I missing something 
else?



org.openjfx
javafx-controls
14


org.openjfx
javafx-fxml
14




Thanks
On Monday, August 10, 2020, 3:39:52 PM GMT+4:30, Chuck Davis 
mailto:cjgun...@gmail.com>> wrote:


Update your POM to latest versions of Maven artifacts.

On Mon, Aug 10, 2020 at 3:34 AM HRH 
mailto:hrh...@yahoo.com.invalid>> wrote:
I forgot to indicated, that I have already modified the
 
 

org.me.learningfx.control.MavenFxBasicDemo
 

in the pom.xml file.

Thanks


On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH 
mailto:hrh...@yahoo.com.invalid>> wrote:


Hi,

While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run 
its pre-configured App.java, creating a new package with a new main class fails 
to compile with the following error. Any insights on which resources need to be 
modified?

Thanks in advance.

Error msg:
Error: JavaFX runtime components are missing, and are required to run this 
application
Command execution failed.

org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit 
value: 1)
at org.apache.commons.exec.DefaultExecutor.executeInternal 
(DefaultExecutor.java:404)
--
Total time:  5.034 s
Finished at: 2020-08-10T14:49:10+04:30

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec 
(default-cli) on project Mavenbasedlearningfx: Command execution failed.: 
Process exited with an error: 1 (Exit value: 1) -> [Help 1]







CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Maven Modular Projects with Java 11

2020-07-06 Thread Luff,Chris
+1

I have been using Maven projects with modules for some time. Use NetBeans to 
generate the module-info in the default package. Will like need some tweaking 
to export the right packages for consumption by the other projects.

> On 6 Jul 2020, at 09:26, Neil C Smith  wrote:
>
> On Mon, 6 Jul 2020 at 08:21, Shaun Flynn  
> wrote:
>> My question is: is there a way to create a Maven project which uses the Java 
>> Module system?
>>
>> I do have a work around but it feels quite hacky: each Java is it's own 
>> Maven project, or is this how it is supposed to be?
>
> Sounds right to me.  You probably want to look at using a parent
> project - New Project / POM Project - with each module as a separate
> sub-project of that.
>
> Would recommend reading up on Maven's parent POM, multi-modules, etc.
> though if you haven't already done so.  Good to know what's going on
> underneath.
>
> 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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7Cb172671e478043240efd08d8218659f2%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637296208218298863sdata=BtPfiiS8FSM63ZBaYkY9JNOWPSxYpUpbEv%2F6iSHyCH8%3Dreserved=0
>



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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: Scala plugin status for netbeans 12.0 ?

2020-06-29 Thread Luff,Chris
Morning, I am the repo owner - checkout the master branch and build changing 
this property RELEASE120 using JDK1.8. 
Locate all 22 NetBeans Modules (nbm) in the target directories and install 
using the downloaded tab of the plugin manager.

I am working upon it when I get time - a complete refactor and removal of 
unnecessary code and dependencies. The current incarnation cannot be released 
because I do not own the coordinate org.netbeans, surprisingly, and needs a lot 
of work to bring support for later versions of Scala.

Happy coding!
Chris

On 28 Jun 2020, at 20:02, Alonso Del Arte 
mailto:alonso.dela...@gmail.com>> wrote:

>From what I can tell, it's on a 
>backburner:https://github.com/cbm64chris/nbscala
> So I'm sticking with IntelliJ for all my heavy duty Scala programming for the 
>time being. As much help as IntelliJ gives for learning Scala, I just like the 
>way NetBeans works with Java a lot better and wish that was available for 
>Scala.

Al

On Sun, Jun 28, 2020 at 5:01 AM hanasaki@gmail 
mailto:hanas...@gmail.com>> wrote:
Is anyone actively working on the scala/sbt support?

Thank you,


-
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



--
Alonso del Arte
Author at 
SmashWords.com
Musician at 
ReverbNation.com



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: NetBeans Terminal $PATH

2020-06-21 Thread Luff,Chris
Oh I see the problem, the NetBeans terminal is using the root directory not the 
user directory. If I load the zshrc into the NetBeans terminal it is fine, but 
maven is still using the root path.

> On 21 Jun 2020, at 10:21, Luff,Chris  wrote:
> 
> Hey everyone; just noticed that the path from the NetBeans embedded terminal 
> is different to that of the macOS terminal? Is there configuration so it can 
> be the same?
> 
> #Terminal
> ➜  ~ echo $PATH
> /Users/chris/.rvm/gems/ruby-2.4.1/bin:/Users/chris/.rvm/gems/ruby-2.4.1@global/bin:/Users/chris/.rvm/rubies/ruby-2.4.1/bin:/usr/local/opt/sqlite/bin:/Users/chris/.nvm/versions/node/v8.4.0/bin:/usr/local/sbin:/Users/chris/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Vbrick/nodejs/bin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/chris/.rvm/bin
> 
> 
> #NetBeans Terminal
> ➜  ~ echo $PATH
> /usr/local/opt/sqlite/bin:/Users/chris/.nvm/versions/node/v8.4.0/bin:/usr/local/sbin:/Users/chris/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/chris/.rvm/bin
> 
> 
> NetBeans 12.0
> macOS 10.15.5
> 
> Thx
> Chris
> 
> 
> 
> CONFIDENTIALITY NOTICE This message and any included attachments are from 
> Cerner Corporation and are intended only for the addressee. The information 
> contained in this message is confidential and may constitute inside or 
> non-public information under international, federal, or state securities 
> laws. Unauthorized forwarding, printing, copying, distribution, or use of 
> such information is strictly prohibited and may be unlawful. If you are not 
> the addressee, please promptly delete this message and notify the sender of 
> the delivery error by e-mail or you may call Cerner's corporate offices in 
> Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, 
> Registered in England no 2519305, Registered Office 37 North Wharf Road, 
> London W2 1AF.



NetBeans Terminal $PATH

2020-06-21 Thread Luff,Chris
Hey everyone; just noticed that the path from the NetBeans embedded terminal is 
different to that of the macOS terminal? Is there configuration so it can be 
the same?

#Terminal
➜  ~ echo $PATH
/Users/chris/.rvm/gems/ruby-2.4.1/bin:/Users/chris/.rvm/gems/ruby-2.4.1@global/bin:/Users/chris/.rvm/rubies/ruby-2.4.1/bin:/usr/local/opt/sqlite/bin:/Users/chris/.nvm/versions/node/v8.4.0/bin:/usr/local/sbin:/Users/chris/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Vbrick/nodejs/bin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/chris/.rvm/bin


#NetBeans Terminal
➜  ~ echo $PATH
/usr/local/opt/sqlite/bin:/Users/chris/.nvm/versions/node/v8.4.0/bin:/usr/local/sbin:/Users/chris/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/chris/.rvm/bin


NetBeans 12.0
macOS 10.15.5

Thx
Chris



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: How do you setup JUnit with Maven?

2020-05-21 Thread Luff,Chris
No, nothing like that should be needed. Make sure your source packages are 
mirrored in the test sources. Prefix your classes with Test. Maven should run 
them fine.



> On 21 May 2020, at 15:30, Ty Young  wrote:
>
> Hi,
>
>
> Can anyone tell me how to setup Maven with Netbeans? I've tried multiple 
> times and the result is always the same: it tries to test but doesn't seem to 
> be able to find them and doesn't do anything.
>
>
> I'm guessing I need to override the default package name JUnit uses to look 
> for classes to run, but I'm not sure where that is.
>
>
> -
> 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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7Cedddf29ac5ef4d6312d408d7fd93a0a5%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637256682807874580sdata=Z8J%2FjPHzPGi76mwCvCegEFOF3BcfPin2Npdg%2BPSML7A%3Dreserved=0
>



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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 14 missing pack200 is a problem even for older NetBeans plugins!?

2020-05-21 Thread Luff,Chris
Being managed here: https://issues.apache.org/jira/browse/NETBEANS-3985


On 21 May 2020, at 10:11, Emilian Bold 
mailto:emilian.b...@gmail.com>> wrote:

I assumed the removal of pack200 is a problem only for the NetBeans
installer, but apparently NetBeans cannot even install older modules:

WARNING [org.netbeans.updater]
java.io.IOException: CreateProcess error=2, The system cannot find the
file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:483)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
Caused: java.io.IOException: Cannot run program "C:\Program
Files\Java\jdk-14.0.1\bin\unpack200.exe" (in directory
"C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules"):
CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
[catch] at org.netbeans.updater.ModuleUpdater.unpack200(ModuleUpdater.java:567)
at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:465)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)
INFO [org.netbeans.updater]: File
C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules\ro-emilianbold-modules-maven-search-remote.jar.pack.gz
deleted.
INFO [org.netbeans.updater]: Ignore non-readable files
java.io.FileNotFoundException:
C:\Users\X\AppData\Roaming\NetBeans\12.0-beta4\modules\ro-emilianbold-modules-maven-search-remote.jar
(The system cannot find the file specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:212)
at java.base/java.io.FileInputStream.(FileInputStream.java:154)
at org.netbeans.updater.UpdateTracking.getFileCRC(UpdateTracking.java:507)
[catch] at org.netbeans.updater.ModuleUpdater.unpack(ModuleUpdater.java:469)
at org.netbeans.updater.ModuleUpdater.run(ModuleUpdater.java:117)

So NetBeans forks a separate process to do the unpacking and with JDK
14 that unpack200 executable no longer exists. Maybe it should use a
library for unpack?

--emi

-
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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7C133650a7e8de43cc53a608d7fd670dcd%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637256491365002300sdata=IG64HjqKG1%2BghCRVND7382dzHpG%2F6TVRPTQcSt%2Bw01k%3Dreserved=0




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: How to Alt + Enter on mac?

2020-04-27 Thread Luff,Chris
Ah now - indeed Alt+Enter does work. However, intermittently, as in I am unable 
to reproduce the conditions in which it occurs, it stops working and a restart 
of NetBeans is needed.

On 22 Apr 2020, at 22:31, Malcolm Fitzgerald 
mailto:malc...@notyourhomework.net>> wrote:

These keys are modifiable in Systems Preferences, so if you're using a keyboard 
that hasn't been manufactured for Apple, you can tell another key, e.g., the 
Windows key, to be the ALT key.

Malcolm

Peter Ford wrote on 23/04/20 1:27 AM:
On a Mac keyboard option-enter is the magic you need: on my keyboards options 
is also labelled alt

Pete

On 22 Apr 2020, at 12:57, Geertjan Wielenga 
mailto:geert...@apache.org>> wrote:

Probably the Apple keyboard key CMD and then Enter — or just click the 
lightbulb.

Gj

On Wed, 22 Apr 2020 at 13:54, Ewan Slater 
mailto:ewan.sla...@oracle.com>> wrote:
Hi,

Could somebody please tell me how to do Alt+Enter on Mac (and yes, I
have googled and looked at "help > keyboard shortcuts card" but to no
avail).

Context: netbeans is suggesting I hit Alt Enter for hints.

Cheers,

Ewan






CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Netbeans, JavaFX, and Maven

2020-04-16 Thread Luff,Chris
I’ll also add that this was for JDK11 and references the JPackager that has 
since been replaced with JPackage in JDK14 for which the arguments are a little 
different. I’ve posted a supplemental article on DZone just now but it will be 
a few days before that appears.


  org.codehaus.mojo
  exec-maven-plugin
  1.6.0
  

  create-package
  package
  
exec
  
  
${JAVA_HOME}/bin/jpackage
false

  ${java.home}


  -t
  ${bundle.type}
  -n
  ${moduleName}
  -m
  ${moduleName}/${mainClass}
  -p
  ${project.build.directory}/modules
  --icon
  ${icons}
  --dest
  ${project.build.directory}/package
  --app-version
  ${project.version}
  --copyright
  Luff Corp
  --vendor
  Luff Corp
  --description
  My JavaFX App.
  ${win-menu}
  ${win-dir-chooser}
  --verbose

  

  



  
macos

  
mac
  


  pkg
  ${javaFX.icon.path}/person.icns
  mac
  
  

  
  
windows

  
windows
  


  msi
  ${javaFX.icon.path}/person.ico
  win
  --win-dir-chooser
  --win-menu

  

On 16 Apr 2020, at 09:10, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Hi Ty,

It can be a little confusing; can I recommend you follow a set of DZone[1] 
articles I authored on getting OpenJFX running happily in NetBeans. The 
articles target JDK 11 but there are no changes for 14. Using Maven there is no 
need to include local libraries other than that which Maven will load into your 
.m2.


[1]:https://dzone.com/articles/adoptopenjdk-11-openjfx-netbeans<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdzone.com%2Farticles%2Fadoptopenjdk-11-openjfx-netbeans=02%7C01%7CChris.Luff%40cerner.com%7Cc2364d89e54d497685a308d7e1dff912%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637226224386834011=vzcFmg8Nxm5VEw%2FaOp%2F%2FXkGYeH2YraKX2W9RPDq7CdA%3D=0>


On 16 Apr 2020, at 08:51, Ty Young 
mailto:youngty1...@gmail.com>> wrote:


On 4/15/20 11:50 PM, Ernie Rael wrote:
I don't know enough about maven/javafx to give a definitive answer. The pom 
generated by NB for a javafx project seems to imply that there is a separate 
artifact for each javafx-module (as in java defined module). The program runs, 
so stuff is getting downloaded.



The issue seems to be:



org.openjfx
javafx
14
pom


which when replaced with both yours and Chris's dep config started working.


Does anyone know why this is though? I included JavaFX via Netbean's own GUI by 
right clicking "dependencies", add, then under "search".


Also, per the JavaFX Netbeans tutorial, version 14 of JavaFX requires runtime 
arguments(manual module include of graphics). What am I supposed to do about 
that? Currently I have it pointing to a local download but that isn't exactly 
ideal.


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

For further information about the NetBeans mailing lists, visit:
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7Cb0e8e9cd1d4640e10dca08d7e1db084f%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637226203163845076sdata=dsudmbYhEd2XrmW0m1g4nZ9%2B8ByuYMaDfPWG8XiE5lc%3Dreserved=0<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=02%7C01%7CChris.Luff%40cerner.com%7Cc2364d89e54d497685a308d7e1dff912%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637226224386844001=36i3M6cm0Fegs%2Fdjwk2Ou0eZkPAPXDv%2F%2B1Xw1BJfI4E%3D=0>



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.



Re: Netbeans, JavaFX, and Maven

2020-04-16 Thread Luff,Chris
Hi Ty,

It can be a little confusing; can I recommend you follow a set of DZone[1] 
articles I authored on getting OpenJFX running happily in NetBeans. The 
articles target JDK 11 but there are no changes for 14. Using Maven there is no 
need to include local libraries other than that which Maven will load into your 
.m2.


[1]:https://dzone.com/articles/adoptopenjdk-11-openjfx-netbeans


On 16 Apr 2020, at 08:51, Ty Young 
mailto:youngty1...@gmail.com>> wrote:


On 4/15/20 11:50 PM, Ernie Rael wrote:
I don't know enough about maven/javafx to give a definitive answer. The pom 
generated by NB for a javafx project seems to imply that there is a separate 
artifact for each javafx-module (as in java defined module). The program runs, 
so stuff is getting downloaded.



The issue seems to be:



org.openjfx
javafx
14
pom


which when replaced with both yours and Chris's dep config started working.


Does anyone know why this is though? I included JavaFX via Netbean's own GUI by 
right clicking "dependencies", add, then under "search".


Also, per the JavaFX Netbeans tutorial, version 14 of JavaFX requires runtime 
arguments(manual module include of graphics). What am I supposed to do about 
that? Currently I have it pointing to a local download but that isn't exactly 
ideal.


-
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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7Cb0e8e9cd1d4640e10dca08d7e1db084f%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637226203163845076sdata=dsudmbYhEd2XrmW0m1g4nZ9%2B8ByuYMaDfPWG8XiE5lc%3Dreserved=0




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: NetBeans and Derby

2020-03-19 Thread Luff,Chris
Yeah, it is not the easiest thing - which jar from the derby installation did 
you use to create the connection?

> On 19 Mar 2020, at 04:42, Klerman  wrote:
>
> Hello,
> I'm not sure if this is the right place to post this question.
> I'm trying to configure NetBeans 11.3 so it can be used with Derby.
> I guess that Derby is correctly installed, as I can execute commands with its 
> utilities in the Ubuntu Terminal.
> I registered the Derby software in NetBeans, with Databases/Java 
> Db/Properties.
> NetBeans created a sample database automatically, but when I try to connect 
> to it with Database Connection/Connect, I always get a message saying that a 
> suitable jdbc client driver can't he found.
> Ubuntu 18.04.4 LTS
> Java 11.0.6
> Apache Netbeans 11.3
> Derby 10.15.1.3
>
> Any suggestion will be greatly appreciated.
>
> Klerman Gutierrez
>
>



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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



Profiler

2020-03-16 Thread Luff,Chris
Hi all,

I am profiling a remote JVM that I have some code running upon. Whilst the 
visual view is good I would like to look at some specific events in more 
detail. Is the raw data saved off?

Thanks
Chris


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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: File Browser macOS 10.15

2020-01-08 Thread Luff,Chris
Ok, problem solved it was simply that somehow Plugins was not prompting for 
access. When I spun up the JFileChooser it prompted for access and now NetBeans 
has access too.

> On 8 Jan 2020, at 10:01, Emilian Bold  wrote:
> 
> Interesting. Can somebody else confirm? (I'm keeping my laptop on
> 10.14 since I haven't seen any reason to move to 10.15 so far, quite
> the contrary).
> 
> Can you make a simple Swing app that opens a JFileChooser there?
> 
> --emi
> 
> On Wed, Jan 8, 2020 at 11:36 AM Luff,Chris
>  wrote:
>> 
>> Hi All,
>> 
>> I have just noticed that the Plugins module with Apache NetBeans 11.2 on 
>> macOS 10.15.2 I cannot browse for files in the Documents and Downloads 
>> folder. I did a quick search in the mailing list and cannot find anything 
>> similar. Is this a known issue possibly related to the way that macOS now 
>> requires you to grant permissions for those folders?
>> 
>> I have given NetBeans has Full Disk Access and the Java executable that 
>> NetBeans is executed upon.
>> 
>> Searching for an Existing Project in the Downloads directory uses a native 
>> file browser and works fine. Attempting to install a plugin using the 
>> Downloaded tab and browsing Downloads fails to return any files. There is no 
>> error that I can perceive.
>> 
>> Has anyone else seen this behaviour, are the steps to overcome or diagnose?
>> 
>> Thx
>> 
>> 
>> 
>> 
>> 
>> CONFIDENTIALITY NOTICE This message and any included attachments are from 
>> Cerner Corporation and are intended only for the addressee. The information 
>> contained in this message is confidential and may constitute inside or 
>> non-public information under international, federal, or state securities 
>> laws. Unauthorized forwarding, printing, copying, distribution, or use of 
>> such information is strictly prohibited and may be unlawful. If you are not 
>> the addressee, please promptly delete this message and notify the sender of 
>> the delivery error by e-mail or you may call Cerner's corporate offices in 
>> Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, 
>> Registered in England no 2519305, Registered Office 37 North Wharf Road, 
>> London W2 1AF.
>> 
>> -
>> 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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7Cf97d1f9a881b44b6739208d79421e3ba%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637140745588936777sdata=VM9I4%2FL37OsHQgzuP8KfbXgWezLGgbgrNsUYafcwNtU%3Dreserved=0
>> 
> 
> -
> 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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7Cf97d1f9a881b44b6739208d79421e3ba%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637140745588936777sdata=VM9I4%2FL37OsHQgzuP8KfbXgWezLGgbgrNsUYafcwNtU%3Dreserved=0
> 


-
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



File Browser macOS 10.15

2020-01-08 Thread Luff,Chris
Hi All,

I have just noticed that the Plugins module with Apache NetBeans 11.2 on macOS 
10.15.2 I cannot browse for files in the Documents and Downloads folder. I did 
a quick search in the mailing list and cannot find anything similar. Is this a 
known issue possibly related to the way that macOS now requires you to grant 
permissions for those folders?

I have given NetBeans has Full Disk Access and the Java executable that 
NetBeans is executed upon.

Searching for an Existing Project in the Downloads directory uses a native file 
browser and works fine. Attempting to install a plugin using the Downloaded tab 
and browsing Downloads fails to return any files. There is no error that I can 
perceive.

Has anyone else seen this behaviour, are the steps to overcome or diagnose?

Thx





CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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: [JavaFX] project jar file

2019-12-19 Thread Luff,Chris
Without more info about what toolchain you are using to build your project such 
as which JDK, what toolchain etc we can only help to a point.

If you project is modularised then you need to use jlink to have the JavaFX 
modules included in the runtime. If not, and I suspect this is what you are 
doing, you’ll need to change the way in which you build. One example is a 
shaded JAR that includes the OpenJFX dependencies and then a new main class 
that statically calls the main of the class that extends Application will do 
what this.

> On 18 Dec 2019, at 18:26, Huckleberry Finn  wrote:
>
> To create a deplyable version of my project  I make a clean & Build project 
> on it. Netbeans will create a jar file in the dist subfolder of the project 
> along with the fx libraries in the lib subfolder of dist.
>
> When I run java -jar myproject.jar, I get
> Error: JavaFX runtime components are missing, and are required to run this 
> application
> How should I include the fx libraries inside the jar file



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: [ scala ] Just asking for update on Scala for NetBeans

2019-12-02 Thread Luff,Chris
Long story short - at the moment the Scala compiler is 2.11.3 on JDK 1.8 but 
you can build your code on NetBeans 11.2 with JDK 11 and Maven.

I recently removed the dependency on a specific NetBeans version. Have you 
tried to install on 11.1?

On 28 Nov 2019, at 13:54, Mark Phipps 
mailto:mark.phi...@sucfin.com>> wrote:


Hi Chris,

Does your fork work when running  NB 11 under JDK 11 with a JDK 11 Maven 
project?

Thanks

Mark

On 01/10/2019 09:41, Luff,Chris wrote:
I have not been focused to much on this plugin of late - I have a few minutes 
this morning to push some changes that are needed to have it build on 11.1 and 
11.2-beta1.

I should have installable nbms by the end of the day.

Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com<mailto:chris.l...@cerner.com> | Cerner 
Limited<http://www.cerner.com/>

On 1 Oct 2019, at 04:21, Alonso Del Arte 
mailto:alonso.dela...@gmail.com>> wrote:

Cool, thanks, I'll give it a whirl tomorrow. Al

On Mon, Sep 30, 2019 at 6:07 PM Brett Ryan 
mailto:brett.r...@gmail.com>> wrote:
I’m going to have to give this a try, I did manage building for 8.2 but it was 
a lot of trouble. Was hoping i could free my time to help but it’s been hectic.

I think the whole big data community has been using intellij for scala (myself 
included). There’s several reasons there. Python is big in BD due to the strong 
academia influx and they all use pycharm (JetBrains) so the IntelliJ pickup is 
natural for scala.

It would be neat to use scala in nb again so am keen to try. We did move away 
from sbt to maven for our spark builds, wonder how that might go.



> On 1 Oct 2019, at 06:38, Emilian Bold 
> mailto:emilian.b...@gmail.com>> wrote:
>
> I think the most recent development wrt Scala is
> https://github.com/cbm64chris/nbscala<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcbm64chris%2Fnbscala=02%7C01%7CChris.Luff%40cerner.com%7Cf302461cde704c8691df08d7740a84d9%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C1%7C637105460848304485=oRb4%2F99tPlTLMfn0aPuubJ6J94UnCqe1MMyXgaWy4v8%3D=0>
>  by Chris Luff and the plugin
> would be at 
> http://plugins.netbeans.org/plugin/75542/nbscala<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fplugins.netbeans.org%2Fplugin%2F75542%2Fnbscala=02%7C01%7CChris.Luff%40cerner.com%7Cf302461cde704c8691df08d7740a84d9%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C1%7C637105460848314477=c61Jkg%2BFbj1Rv4ZHyo%2BzEiZ5PX0d%2FUf7CoSdp4IlvsU%3D=0>
>  (added
> 2019-03-13).
>
> So either you register the whole plugin portal update center URL or
> you download the NBM and add it by and in the Plugins window.
>
> --emi
>
> On Mon, Sep 30, 2019 at 11:20 PM Alonso Del Arte
> mailto:alonso.dela...@gmail.com>> wrote:
>>
>> I've been using NetBeans 11.1 for about a week now. Smooth sailing with all 
>> my Java projects I started on NetBeans 8.2.
>>
>> For several months I've been aware of Geertjan Wielenga's 2013 tutorial for 
>> installing Scala for NetBeans 7.3.1. But when I only had one computer for 
>> programming, I was reluctant to even touch the NetBeans configuration file. 
>> So I wrote Scala in Notepad and compiled it on the command line.
>>
>> Then I got a MacBook and installed NetBeans and IntelliJ on it, I've been 
>> using IntelliJ for most of my Scala programming. Now I figured I should give 
>> the Scala for NetBeans plugin a try on my MacBook.
>>
>> I followed Geertjan's tutorial up to Step 4, at which point I just couldn't 
>> find the Scala plugin from within NetBeans 8.2. Then I upgraded to 11.1 and 
>> couldn't find the plugin either. Then I found the plugin through a Web 
>> browser, the page said it was verified for 8.1. I downloaded it and then 
>> just didn't know what to do with it.
>>
>> Is the Scala plugin for Apache NetBeans in active development, or is it on 
>> the back-burner, or has it been dropped?
>>
>> Al
>>
>> --
>> Alonso del Arte
>> Author at 
>> SmashWords.com<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2FSmashWords.com=02%7C01%7CChris.Luff%40cerner.com%7Cf302461cde704c8691df08d7740a84d9%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C1%7C637105460848314477=aIPla22PKFTG6vBCHBBZdx1revliM1pG9KnNx%2BeHCF0%3D=0>
>> Musician at 
>> ReverbNation.com<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2FReverbNation.com=02%7C01%7CChris.Luff%40cerner.com%7Cf302461cde704c8691df08d7740a84d9%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C1%7C637105460848324470=26uZ98XbfI13rVE7JNqjoAG0qVuCk0SnYyyOdH6MKrc%3D=0>
>
> -
> To unsubscribe, e-mail: 
> users-unsubscr...@netbe

Re: deployable javafx app

2019-12-02 Thread Luff,Chris
Right, it depends on if you want modular or non-modular and that is generally 
predicated by what kind of dependencies you include that you cannot influence.

If you want a non-modular binary you can use a shaded JAR with a launcher class 
that literally calls the main method of the main that extends the JavaFX 
Application. and Jlink. You’ll obviously need to include all the JavaFX 
dependencies.




org.apache.maven.plugins
maven-compiler-plugin
3.8.1

${maven.compiler.version}



org.openjfx
javafx-maven-plugin
0.0.3

${mainClass}



org.apache.maven.plugins
maven-shade-plugin
3.2.1


package

shade



true

project-classifier

${project.build.directory}/jar/${project.artifactId}.jar


${launcherClass}









Simply run this and you’ll get an executable binary for the platform you are 
running.
mvn org.openjfx:javafx-maven-plugin:0.0.3:jlink

If however, you want a modular project it’s somewhat more complex but 
nonetheless doable; you could follow my tutorial on DZone[1]. It does need 
updating a little - in that you can use the JDK 14ea JPackage to do the 
packaging now but it is generally all still applicable.

Hope this helps!

On 1 Dec 2019, at 11:03, joe schmo 
mailto:geekyguy...@hotmail.com>> wrote:

I have created a javafx application using Netbeans 11.1, it is a maven based 
project.  I want to create a deployable executable jar file.  Is there a good 
tutorial or documentation on how to do this with Netbeans/maven?

Thanks



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


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

2019-10-18 Thread Luff,Chris
You bumping into a JavaEE  dependency…that class is no longer in the JDK as of 
^11 hence why it does not work on 13. You just need to add some dependencies to 
your project. Full explanation in this StackOverflow[1] response.

[1]: https://stackoverflow.com/a/43574427

Chris Luff | Associate Principal Engineer | UK Development - Care Insight and 
Delivery Dev | chris.l...@cerner.com | +44 
(0)7970 735175 | Cerner Limited

On 18 Oct 2019, at 10:38, Juan Miguel Escribano 
mailto:juan.es...@gmail.com>> wrote:

It only compiles without problems when I start Netbeans over Java 8 and compile 
the project with Java 8.

But starting Netbeans over Java 13 and compile the project with Java 8 does not 
work. Same problem.

I would like to start Netbeans over Java 13 

Un saludo

Juan Miguel
El 18 oct 2019 11:31 +0200, Emilian Bold 
mailto:emilian.b...@gmail.com>>, escribió:
I suppose you need to compile the project with Java 8 or something older.

--emi

vin., 18 oct. 2019, 11:54 Juan Miguel Escribano 
mailto:juan.es...@gmail.com>> a scris:
Hi all,

I’m trying to clean and build a project with a Web Service Client.
It is a Ant project (please, don’t ask why, it must be Ant 路‍♂️)
I have attached screenshots with info.

And every time I try Clean and Build I have the following:

/Users/juan/NetBeansProjects/OPVSoftware/Pruebas/TestingWS/nbproject/jaxws-build.xml:22:
java.lang.NoClassDefFoundError: Could not initialize class 
com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl
 at 
com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.(RuntimeTypeInfoSetImpl.java:63)
 at 
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:128)
 at 
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:84)
 at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:162)
 at 
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.(RuntimeModelBuilder.java:92)
 at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:452)
 at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:300)
 at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:139)
 at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1158)
 at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:567)
 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:262)
 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:249)
 at javax.xml.bind.ContextFinder.find(ContextFinder.java:456)
 at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:656)
 at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
 at 
com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getCustomizationContext(BindInfo.java:336)
 at 
com.sun.tools.xjc.reader.xmlschema.bindinfo.BindInfo.getCustomizationUnmarshaller(BindInfo.java:362)
 at 
com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl$1.(AnnotationParserFactoryImpl.java:85)
 at 
com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl.create(AnnotationParserFactoryImpl.java:84)
 at 
com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.createAnnotationParser(NGCCRuntimeEx.java:365)
 at com.sun.xml.xsom.impl.parser.state.annotation.action0(annotation.java:88)
 at 
com.sun.xml.xsom.impl.parser.state.annotation.enterElement(annotation.java:113)
 at 
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
 at 
com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:113)
 at 
com.sun.xml.xsom.impl.parser.state.complexType.enterElement(complexType.java:649)
 at 
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
 at 
com.sun.xml.xsom.impl.parser.state.NGCCHandler.revertToParentFromEnterElement(NGCCHandler.java:150)
 at 
com.sun.xml.xsom.impl.parser.state.foreignAttributes.enterElement(foreignAttributes.java:90)
 at 
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
 at 
com.sun.xml.xsom.impl.parser.state.NGCCHandler.spawnChildFromEnterElement(NGCCHandler.java:113)
 at 
com.sun.xml.xsom.impl.parser.state.complexType.enterElement(complexType.java:510)
 at 
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
 at 
com.sun.xml.xsom.impl.parser.state.complexType.enterElement(complexType.java:329)
 at 
com.sun.xml.xsom.impl.parser.state.NGCCRuntime.sendEnterElement(NGCCRuntime.java:417)
 at 

Re: Dark Mode / Mac OS X Catalina

2019-10-14 Thread Luff,Chris
+1 Emillian, we should get our own dark mode created and toggle with the 
detected OS.

Get Outlook for iOS

From: James Ostrowick 
Sent: Saturday, October 12, 2019 11:27:33 AM
To: Emilian Bold 
Cc: NetBeans Mailing List 
Subject: Re: Dark Mode / Mac OS X Catalina

Hi Emilian,

Thanks, awesome - much better!

I agree, it should auto-detect or at least include a dark mode switch.



On 12 Oct 2019, at 12:21, Emilian Bold 
mailto:emilian.b...@gmail.com>> wrote:

It's a NetBeans bug. We should probably detect dark mode and toggle our own 
dark mode flag.

In the meantime you can install the Darcula plugin 
http://plugins.netbeans.org/plugin/62424/darcula-laf-for-netbeans
 which I think also works for 11.1

--emi


On Sat, Oct 12, 2019 at 1:11 PM James Ostrowick 
mailto:ja...@ostrowick.co.za>> wrote:
Hi,

Has anyone else downloaded and run NB in Catalina in Dark mode?

I’m struggling with it to get the colours even something close to useable.

Some of the items in things like template manager are virtually invisible
And even the project browser its a grey background with white text.

This happens in NB 11.1 and 11.2 B2

Am I just missing a simple setting?





CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Intellij formatting rules in NetBeans?

2019-10-09 Thread Luff,Chris
You could have a go at resurrecting 
https://github.com/geertjanw/eclipsecodeformatter_for_netbeans to accept the 
intellij formatting.

Chris Luff | Associate Principal Engineer | UK Development - Care Insight and 
Delivery Dev | chris.l...@cerner.com | +44 
(0)7970 735175 | Cerner Limited

On 8 Oct 2019, at 22:47, Juan Algaba 
mailto:jalg...@colef.mx>> wrote:

Also, this is the first time I've heard about editorconfig, I haven't checked 
the netbeans plugin, but I imagine that event if the plugin worked it wouldn't 
achieve the desired results
because the editorconfig standard seems to have too few properties that can be 
controlled compared to your tipical IDE's formatting options 
https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties

It did however, give me an idea to implement  UTF-8 / LF enforcement trough my 
CI 
https://ec4j.github.io/editorconfig-maven-plugin/

Though I wish the java ecosystem had something as mature as PHP-CS-Fixer

--
Juan Algaba



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: [ scala ] Just asking for update on Scala for NetBeans

2019-10-01 Thread Luff,Chris
I have not been focused to much on this plugin of late - I have a few minutes 
this morning to push some changes that are needed to have it build on 11.1 and 
11.2-beta1.

I should have installable nbms by the end of the day.

Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com | Cerner 
Limited

On 1 Oct 2019, at 04:21, Alonso Del Arte 
mailto:alonso.dela...@gmail.com>> wrote:

Cool, thanks, I'll give it a whirl tomorrow. Al

On Mon, Sep 30, 2019 at 6:07 PM Brett Ryan 
mailto:brett.r...@gmail.com>> wrote:
I’m going to have to give this a try, I did manage building for 8.2 but it was 
a lot of trouble. Was hoping i could free my time to help but it’s been hectic.

I think the whole big data community has been using intellij for scala (myself 
included). There’s several reasons there. Python is big in BD due to the strong 
academia influx and they all use pycharm (JetBrains) so the IntelliJ pickup is 
natural for scala.

It would be neat to use scala in nb again so am keen to try. We did move away 
from sbt to maven for our spark builds, wonder how that might go.



> On 1 Oct 2019, at 06:38, Emilian Bold 
> mailto:emilian.b...@gmail.com>> wrote:
>
> I think the most recent development wrt Scala is
> https://github.com/cbm64chris/nbscala
>  by Chris Luff and the plugin
> would be at 
> http://plugins.netbeans.org/plugin/75542/nbscala
>  (added
> 2019-03-13).
>
> So either you register the whole plugin portal update center URL or
> you download the NBM and add it by and in the Plugins window.
>
> --emi
>
> On Mon, Sep 30, 2019 at 11:20 PM Alonso Del Arte
> mailto:alonso.dela...@gmail.com>> wrote:
>>
>> I've been using NetBeans 11.1 for about a week now. Smooth sailing with all 
>> my Java projects I started on NetBeans 8.2.
>>
>> For several months I've been aware of Geertjan Wielenga's 2013 tutorial for 
>> installing Scala for NetBeans 7.3.1. But when I only had one computer for 
>> programming, I was reluctant to even touch the NetBeans configuration file. 
>> So I wrote Scala in Notepad and compiled it on the command line.
>>
>> Then I got a MacBook and installed NetBeans and IntelliJ on it, I've been 
>> using IntelliJ for most of my Scala programming. Now I figured I should give 
>> the Scala for NetBeans plugin a try on my MacBook.
>>
>> I followed Geertjan's tutorial up to Step 4, at which point I just couldn't 
>> find the Scala plugin from within NetBeans 8.2. Then I upgraded to 11.1 and 
>> couldn't find the plugin either. Then I found the plugin through a Web 
>> browser, the page said it was verified for 8.1. I downloaded it and then 
>> just didn't know what to do with it.
>>
>> Is the Scala plugin for Apache NetBeans in active development, or is it on 
>> the back-burner, or has it been dropped?
>>
>> Al
>>
>> --
>> Alonso del Arte
>> Author at SmashWords.com
>> Musician at ReverbNation.com
>
> -
> 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
>


--
Alonso del Arte
Author at 
SmashWords.com
Musician at 

Re: JavaFX deployment library not found in active JDK

2019-09-18 Thread Luff,Chris
Have a look at my GitHub that supports some articles I write for DZone on how 
to run JavaFX - the folder structure will support that line.

https://github.com/cbm64chris/JavaFXMavenNetBeans

Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com | Cerner 
Limited

On 17 Sep 2019, at 17:48, Chris Olsen  wrote:

Hi, Bernd --

 Thank you very much for your wisdom!  Geertjan suggested using Maven, and I am 
trying that.  I also stumbled around and fixed the conflict you mention. I 
created a new Maven project (in Java 8 at home) and copied over all my files. 
Everything was fine except this line:

String css = getClass().getResource("/css/DataManager.css").toExternalForm();

 Still scratching my head trying to figure out the problem.  I'm guessing it 
has something to do with some difference in the package organization between 
Ant and Maven.  Ah, well, that's what makes programming an exciting endeavor!

 When I get to the office tomorrow I am going to try to duplicate my success, 
this time with Java 11. I'll dragoon one of my former statistics students to 
help...

 Thanks again for your wisdom -- have a great day...

 -- Chris

- Original Message -
From: Bernd Michaely mailto:i...@bernd-michaely.de>>
To: users@netbeans.apache.org
Sent: Tue, 17 Sep 2019 12:29:58 -0400 (EDT)
Subject: Re: JavaFX deployment library not found in active JDK

Hi,

| warning: [options] bootstrap class path not set in conjunction with
-source 8

it seems you are using JDK 11 (which needs a separate OpenJavaFX), but
with target Java version 8 (which contains its own JavaFX8), so there is
a conflict ...

(so e.g. inside NetBeans see:

Project Properties > Sources > Source/Binary Format

and try to use JDK11 as target)

bm

On 17.09.19 00:39, Chris Olsen wrote:
Hello, Everyone --

"Trigger" warning -- I am not a developer, just an amateur programmer
with a large FX project.

I am not sure what information would be helpful, but here is my story:

I am running with two PCs, Windows 7 and 10, and have arrived at the
same problem. I have installed (I believe successfully) AdoptOpenJDK
11.0.2 and Apache Netbeans 11.1 and javafx. I am getting no compile
errors (i.e. the javafx library seems to be found successfully.)
However, I am getting the output below. I am not sure which of it is
relevant, so I copied all of it. I am not Ant-proficient at all, so I
have fewer clues than one what the jfx-impl.xml lines are trying to
tell me. I was not able to discern from StackOverflow what to do about
"JavaFX deployment library not found in active JDK." It was claimed I
might still be able to run the program from the command line, but
since my Unix/Linux/DOS looms small in my rear view mirrow, I want
Apache Netbeans to do all this for me.

Might someone unravel what the problem might be, and where I might go
to seek a solution?

Thank you in advance!

-- Chris Olsen

---

ant -f C:\\Users\\olsenc\\Documents\\NetBeansProjects\\Splat jfx-rebuild
jfx-rebuild:
init:
deps-clean:
Updating property file:
C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\built-clean.properties
Deleting directory C:\Users\olsenc\Documents\NetBeansProjects\Splat\build
clean:
init:
deps-jar:
Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build
Updating property file:
C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\built-jar.properties
Created dir:
C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\empty
Created dir:
C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\generated-sources\ap-source-output
Compiling 356 source files to
C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
warning: [options] bootstrap class path not set in conjunction with
-source 8
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Copying 18 files to
C:\Users\olsenc\Documents\NetBeansProjects\Splat\build\classes
compile:
Created dir: C:\Users\olsenc\Documents\NetBeansProjects\Splat\dist
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK release
Warning: Nashorn engine is planned to be removed from a future JDK 

Re: Language Support

2019-08-29 Thread Luff,Chris
Sweet, I’ll give that a read and reach out to you if I need help, appreciate it!

From: Ian Utley 
Date: Wednesday, 28 August 2019 at 23:38
To: "Luff,Chris" 
Cc: Neil C Smith , Geertjan Wielenga 
, NetBeans Mailing List 
Subject: Re: Language Support

You may also find 
http://wiki.netbeans.org/SyntaxColoringANTLR<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.netbeans.org%2FSyntaxColoringANTLR=02%7C01%7CChris.Luff%40cerner.com%7C29db059160e84f41de8b08d72c0878dd%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637026287262763110=9HY402tDadoIxCLGl0L27HTEtou5SwDkx5IcA0vPCG8%3D=0>
 helpful if you are using ANTLR as your lexer/parser of choice.
I'm currently writing a Prolog language support module, which supports syntax 
highlighting, code completion, code folding, navigation bar and custom project 
type as a maven project against Netbeans 11, so feel free to ask me any 
questions while the topic is fresh in my mind!

Ian.

On Wed, Aug 28, 2019 at 4:13 PM Luff,Chris  
wrote:
It is fine, I am trying to understand the mechanics before I get in too deep. I 
have not done much with language parsers.

> On 28 Aug 2019, at 16:01, Neil C Smith 
> mailto:neilcsm...@apache.org>> wrote:
>
> 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<mailto:users-unsubscr...@netbeans.apache.org>
> For additional commands, e-mail: 
> users-h...@netbeans.apache.org<mailto:users-h...@netbeans.apache.org>
>
> For further information about the NetBeans mailing lists, visit:
> https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7Cfd3dd8c85da643296ecb08d72bc8a826%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637026013168023905sdata=iSOKdc8kbmLP9QYnp0tQKFNGji2eJ8C8Bqe5CEUDfnc%3Dreserved=0<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=02%7C01%7CChris.Luff%40cerner.com%7C29db059160e84f41de8b08d72c0878dd%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637026287262773103=61j8gJVpyY3Jrjr5xP11%2FHSfRUzNLOnJqUpt6R9qQIE%3D=0>
>



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=02%7C01%7CChris.Luff%40cerner.com%7C29db059160e84f41de8b08d72c0878dd%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637026287262773103=61j8gJVpyY3Jrjr5xP11%2FHSfRUzNLOnJqUpt6R9qQIE%3D=0>


Re: Language Support

2019-08-28 Thread Luff,Chris
It is fine, I am trying to understand the mechanics before I get in too deep. I 
have not done much with language parsers.

> On 28 Aug 2019, at 16:01, Neil C Smith  wrote:
>
> 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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7Cfd3dd8c85da643296ecb08d72bc8a826%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637026013168023905sdata=iSOKdc8kbmLP9QYnp0tQKFNGji2eJ8C8Bqe5CEUDfnc%3Dreserved=0
>



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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 Luff,Chris
Yeah, was somewhat skeptical about its age, any newer tutorials or resources 
that I can checkout?

Chris Luff | Associate Principal Engineer | UK Development - Care Insight and 
Delivery Dev | chris.l...@cerner.com<mailto:chris.l...@cerner.com> | +44 
(0)7970 735175 | Cerner Limited<http://www.cerner.com/>

**Join us on Microsoft 
Teams<https://teams.microsoft.com/l/channel/19:c2e663c377ec4aac8dfbea8b05474b55@thread.skype/Clinical%20Timeline?groupId=2b7a095c-9971-48f7-b185-2ddb366be648=fbc493a8-0d24-4454-a815-f4ca58e8c09d>**

On 28 Aug 2019, at 15:40, Geertjan Wielenga 
mailto:geert...@apache.org>> wrote:

An article from 2008 using a really old language technology called Schliemann. 
Ignore it, it will not work.

Gj

On Wed, 28 Aug 2019 at 15:19, Luff,Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
Hi All,

I am trying to build a language support module following 
https://dzone.com/articles/quickstart-guide-language-supp<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdzone.com%2Farticles%2Fquickstart-guide-language-supp=02%7C01%7CChris.Luff%40cerner.com%7C8d228a0f072b4b6c45db08d72bc5c247%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637026000688095583=eN%2FnycgH9t9ob%2BvzUAR9n6cUkAo5gpB1bMgP79RXBOc%3D=0>
 However, I am using Maven and I don’t see how to create the Language Support 
file.

Using NetBeans 11.1 on macOS.

Thx


Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com<mailto:chris.l...@cerner.com> | Cerner 
Limited<http://www.cerner.com/>


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 
1AF<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.google.com%2Fmaps%2Fsearch%2F37%2BNorth%2BWharf%2BRoad%2C%2BLondon%2BW2%2B1AF%3Fentry%3Dgmail%26source%3Dg=02%7C01%7CChris.Luff%40cerner.com%7C8d228a0f072b4b6c45db08d72bc5c247%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C637026000688095583=Gu5sBvG970lAlMfZFAaAvdd9I%2FDaNdH5%2FRsAGsL7ouU%3D=0>.



Re: Replacing dependency on tools.jar in Java 11

2019-08-23 Thread Luff,Chris
Hey all, this is a plugin I have put time into in the past - the whole thing 
needs to be modularised to take advantage of later JDK and Scala versions. I 
have started but time to work on it is limited. Additionally, some of the 
sub-projects are a little weirdly laid down so they probably need sorting to. 
You may be stuck with JDK 8 for now, which is by no means a bad thing!


On 23 Aug 2019, at 12:14, Peter Hull 
mailto:peterhul...@gmail.com>> wrote:

On Fri, Aug 23, 2019 at 4:41 AM Alex Kotchnev 
mailto:akoch...@gmail.com>> wrote:
  the code needs a few classes from the compiler tree API (e.g. 
com.sun.source.util - TreePath, Trees, etc). I looked around but couldn't find 
what dependency to add to the project instead. It seems that those classes are 
still available in newer SDKs, but the compilation fails in them.
They have been put into the jdk.compiler module[1] so I think this
means you'll have to 'modularise' your plugin, unless there's a legacy
way to do it (personally I have not been able to figure out modules
yet...)
Pete
[1]: 
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.oracle.com%2Fen%2Fjava%2Fjavase%2F11%2Fdocs%2Fapi%2Fjdk.compiler%2Fcom%2Fsun%2Fsource%2Futil%2Fpackage-summary.htmldata=02%7C01%7CChris.Luff%40cerner.com%7C04e7b1841a4241bda92708d727bb1e8f%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C1%7C637021556935563115sdata=5bPY6IKljWF%2FEB7O%2FZKgcICwQ9YZ30Hs6mskP1l9Evg%3Dreserved=0

-
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://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=02%7C01%7CChris.Luff%40cerner.com%7C04e7b1841a4241bda92708d727bb1e8f%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C1%7C637021556935563115sdata=AybTDR3M2qsqTZbnESNrkBNWcIcSlmLAypJEAvb4yk0%3Dreserved=0




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


NPE WizardDescriptor

2019-08-08 Thread Luff,Chris
Morning/Afternoon/Evening

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).

The dialog will close, the new project does not get created and Notification 
indicating a NPE will show up. If I then try the very same workflow without 
restarting the New Project will not display at all. Other New Project workflows 
work as expected. I also changed the runtime to 11.0.2 just to be sure.

java.lang.NullPointerException
at 
org.apache.maven.artifact.versioning.ComparableVersion.parseVersion(ComparableVersion.java:357)
at 
org.apache.maven.artifact.versioning.ComparableVersion.(ComparableVersion.java:348)
at 
org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.performOperation(NBMNativeMWI.java:384)
at 
org.netbeans.modules.maven.apisupport.NBMNativeMWI$AdditionalOperations.performOperation(NBMNativeMWI.java:141)
at 
org.netbeans.modules.maven.model.Utilities.performPOMModelOperations(Utilities.java:318)
at 
org.netbeans.modules.maven.spi.newproject.CreateProjectBuilder.create(CreateProjectBuilder.java:146)
at 
org.netbeans.modules.maven.apisupport.NBMNativeMWI.instantiate(NBMNativeMWI.java:69)
at 
org.netbeans.modules.maven.apisupport.NbmWizardIterator.instantiate(NbmWizardIterator.java:130)
at 
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1028)
at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:580)
at 
org.netbeans.modules.project.ui.NewProjectWizard.handleInstantiate(NewProjectWizard.java:51)
at 
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:414)
at 
org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:223)
at 
org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:135)
at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1605)
at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1546)
at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:67)
[catch] at 
org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2233)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)


Product Version: Apache NetBeans IDE 11.1
Java: 12.0.1; Java HotSpot(TM) 64-Bit Server VM 12.0.1+12
Runtime: Java(TM) SE Runtime Environment 12.0.1+12
System: Mac OS X version 10.14.6 running on x86_64; UTF-8; en_GB (nb)


Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com | Cerner Limited



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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



Apache NetBeans Day UK 2019 - September 27th

2019-08-05 Thread Luff,Chris
Shout out to the group - our annual UK Apache NetBeans Day is getting closer. 
Schedule is looking amazing! There is still one slot for a speaker and plenty 
of tickets available to attend. I’m getting some goodies made up to give away 
on the day, stickers, flash drives maybe even some t-shirts etc.

Ping me if you want more information or have a specific question - I am open to 
ideas on how to make the day even better!

Chris

Associate Principal Engineer | UK Development - Care Insight and Delivery Dev | 
chris.l...@cerner.com | Cerner 
Limited



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Profiling Maven project in NetBeans 11 fails with recent versions of Maven

2019-06-25 Thread Luff,Chris
Are you able to post a Gist or Github project so we can take a look?

On 24 Jun 2019, at 15:05, Lister Jonathan 
mailto:jonathan.lis...@vaisala.com>> wrote:

Profiling still fails with the latest Open JDK:

cd C:\Users\pjl\Source\VSP\platform-weather-data-ingester; 
JAVA_HOME=C:\\Users\\pjl\\Downloads\\openjdk-12.0.1\\jdk-12.0.1 
M2_HOME=C:\\Users\\pjl\\Downloads\\apache-maven-3.6.1\\apache-maven-3.6.1 cmd 
/c 
"\"\"C:\\Users\\pjl\\Downloads\\apache-maven-3.6.1\\apache-maven-3.6.1\\bin\\mvn.cmd\"
 -Dexec.args=\"-agentpath:\\\"C:/Program 
Files/NetBeans-11.0/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\NetBeans-11.0\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\pjl\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\391249365\\org-netbeans-modules-profiler
  -classpath %classpath com.vaisala.platform.tools.weather.data.ingester.Main 
--vsp.sdk.observation.service.base-url=http://localhost:8080/api/ 
--ingester.retry-count=1 --server.port=8092 --spring.profiles.active=iceobs 
--iceobs.startOfSearch=2018-06-01T00:00:00Z 
--logging.level.com.vaisala.platform=DEBUG --iceobs.organizationIds[0]=317\" 
-Dexec.executable=C:\\Users\\pjl\\Downloads\\openjdk-12.0.1\\jdk-12.0.1\\bin\\java.exe
 -Dmaven.ext.class.path=\"C:\\Program 
Files\\NetBeans-11.0\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
-Dfile.encoding=UTF-8 process-classes 
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
The syntax of the command is incorrect.

From: Lister Jonathan 
mailto:jonathan.lis...@vaisala.com>>
Sent: Monday, 24 June, 2019 14:40
To: Luff,Chris mailto:chris.l...@cerner.com>>
Cc: users@netbeans.apache.org<mailto:users@netbeans.apache.org>
Subject: RE: Profiling Maven project in NetBeans 11 fails with recent versions 
of Maven

Thanks for the suggestion Chris.

I tried Netbeans 11.0 with apache maven 3.6.2 and it still failed:

cd C:\Users\pjl\Source\VSP\platform-weather-data-ingester; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_202" 
M2_HOME=C:\\Users\\pjl\\Downloads\\apache-maven-3.6.1\\apache-maven-3.6.1 cmd 
/c 
"\"\"C:\\Users\\pjl\\Downloads\\apache-maven-3.6.1\\apache-maven-3.6.1\\bin\\mvn.cmd\"
 -Dexec.args=\"-agentpath:\\\"C:/Program 
Files/NetBeans-11.0/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\NetBeans-11.0\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\pjl\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\391249365\\org-netbeans-modules-profiler
  -classpath %classpath com.vaisala.platform.tools.weather.data.ingester.Main 
--vsp.sdk.observation.service.base-url=http://localhost:8080/api/  
--ingester.retry-count=1 --server.port=8092 --spring.profiles.active=iceobs 
--iceobs.startOfSearch=2018-06-01T00:00:00Z 
--logging.level.com.vaisala.platform=DEBUG --iceobs.organizationIds[0]=317\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_202\\bin\\java.exe\" 
-Dmaven.ext.class.path=\"C:\\Program 
Files\\NetBeans-11.0\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
-Dfile.encoding=UTF-8 process-classes 
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
The syntax of the command is incorrect.

I guess I’ll try a different JDK next since I have the Oracle and you had 
success with Open JDK.

From: Luff,Chris mailto:chris.l...@cerner.com>>
Sent: Friday, 21 June, 2019 16:04
To: Lister Jonathan 
mailto:jonathan.lis...@vaisala.com>>
Cc: users@netbeans.apache.org<mailto:users@netbeans.apache.org>
Subject: Re: Profiling Maven project in NetBeans 11 fails with recent versions 
of Maven

Have you tried 3.6.x? Profiling and Debugging works for me on 10, 11 and 11.1 
with Adopt Open JDK 11.

On 21 Jun 2019, at 14:39, Lister Jonathan 
mailto:jonathan.lis...@vaisala.com>> wrote:

We use Maven 3.5.2 and have configured NetBeans 11.0 to use the external maven 
via Tools | Options | Java | Maven and selecting the path to the Maven 3.2.2 
folder.
Most operations work just fine, but when trying to Profile a project I get:
“The syntax of the command is incorrect.”

The path of the actual command was:
cd C:\Users\pjl\Source\VSP\platform-weather-data-ingester; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_202" 
M2_HOME=C:\\ProgramData\\chocolatey\\lib\\maven\\apache-maven-3.5.2 cmd /c 
"\"\"C:\\ProgramData\\chocolatey\\lib\\maven\\apache-maven-3.5.2\\bin\\mvn.cmd\"
 -Dexec.args=\"-agentpath:\\\"C:/Program 
Files/NetBeans-11.0/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\NetBeans-11.0\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\pjl\\Ap

Re: Profiling Maven project in NetBeans 11 fails with recent versions of Maven

2019-06-21 Thread Luff,Chris
Have you tried 3.6.x? Profiling and Debugging works for me on 10, 11 and 11.1 
with Adopt Open JDK 11.

On 21 Jun 2019, at 14:39, Lister Jonathan 
mailto:jonathan.lis...@vaisala.com>> wrote:

We use Maven 3.5.2 and have configured NetBeans 11.0 to use the external maven 
via Tools | Options | Java | Maven and selecting the path to the Maven 3.2.2 
folder.
Most operations work just fine, but when trying to Profile a project I get:
“The syntax of the command is incorrect.”

The path of the actual command was:
cd C:\Users\pjl\Source\VSP\platform-weather-data-ingester; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_202" 
M2_HOME=C:\\ProgramData\\chocolatey\\lib\\maven\\apache-maven-3.5.2 cmd /c 
"\"\"C:\\ProgramData\\chocolatey\\lib\\maven\\apache-maven-3.5.2\\bin\\mvn.cmd\"
 -Dexec.args=\"-agentpath:\\\"C:/Program 
Files/NetBeans-11.0/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\NetBeans-11.0\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\pjl\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\391249365\\org-netbeans-modules-profiler
  -classpath %classpath com.vaisala.platform.tools.weather.data.ingester.Main 
--vsp.sdk.observation.service.base-url=http://localhost:8080/api/  
--ingester.retry-count=1 --server.port=8092 --spring.profiles.active=iceobs 
--iceobs.startOfSearch=2018-06-01T00:00:00Z 
--logging.level.com.vaisala.platform=DEBUG --iceobs.organizationIds[0]=317\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_202\\bin\\java.exe\" 
-Dmaven.ext.class.path=\"C:\\Program 
Files\\NetBeans-11.0\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
-Dfile.encoding=UTF-8 process-classes 
org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""

Switching back to the version of Maven bundled with NetBeans doesn’t work 
because our pom files are incompatible with the older Maven version:

cd C:\Users\pjl\Source\VSP\platform-weather-data-ingester; 
"JAVA_HOME=C:\\Program Files\\Java\\jdk1.8.0_202" 
M2_HOME=C:\\Users\\pjl\\Downloads\\incubating-netbeans-11.0-bin\\netbeans\\java\\maven
 cmd /c 
"\"\"C:\\Users\\pjl\\Downloads\\incubating-netbeans-11.0-bin\\netbeans\\java\\maven\\bin\\mvn.cmd\"
 -Dexec.args=\"-agentpath:\\\"C:/Program 
Files/NetBeans-11.0/netbeans/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\Program
 Files\\NetBeans-11.0\\netbeans\\profiler\\lib\\\",5140,10 
-XX:+HeapDumpOnOutOfMemoryError 
-XX:HeapDumpPath=C:\\Users\\pjl\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\391249365\\org-netbeans-modules-profiler
  -classpath %classpath com.vaisala.platform.tools.weather.data.ingester.Main 
--vsp.sdk.observation.service.base-url=http://localhost:8080/api 
--ingester.retry-count=1 --server.port=8092 --spring.profiles.active=iceobs 
--iceobs.startOfSearch=2018-06-01T00:00:00Z 
--logging.level.com.vaisala.platform=DEBUG --iceobs.organizationIds[0]=317\" 
-Dexec.executable=\"C:\\Program Files\\Java\\jdk1.8.0_202\\bin\\java.exe\" 
-Dmaven.ext.class.path=\"C:\\Program 
Files\\NetBeans-11.0\\netbeans\\java\\maven-nblib\\netbeans-eventspy.jar\" 
process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
Scanning for projects...
[ERROR] Some problems were encountered while processing the POMs:
Non-resolvable parent POM for 
com.vaisala.platform.tools:platform-weather-data-ingester:MASTER-SNAPSHOT: 
Could not transfer artifact 
com.vaisala.platform:platform-foundation:pom:2.1.0-b99 from/to vai-nexus 
(${nexus.repository.base}/${nexus.repository.releases}): Cannot access 
${nexus.repository.base}/${nexus.repository.releases} with type default using 
the available connector factories: BasicRepositoryConnectorFactory and 
'parent.relativePath' points at wrong local POM @ line 5, column 13
@

I found this bug report from 2017 that seems to be related: 
https://netbeans.org/bugzilla/show_bug.cgi?id=271059
Is it likely that future releases of Netbeans will use a current release of 
maven?



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered 

Re: Error: JavaFX runtime components are missing, and are required to run this application

2019-06-10 Thread Luff,Chris
Awesome!

On 10 Jun 2019, at 11:47, Geertjan Wielenga 
mailto:geert...@apache.org>> wrote:

https://blogs.apache.org/netbeans/entry/apache-netbeans-openjfx-and-adoptopenjdk



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Error: JavaFX runtime components are missing, and are required to run this application

2019-06-06 Thread Luff,Chris
Agree with @Geertjan here….you need to choose an approach. I prefer maven which 
is by no means perfect but has good resource!

I published some articles on modular JavaFX in NetBeans on DZone[1], probably 
should start blogging for Apache NetBeans (Geertjan?).

[1]: https://dzone.com/articles/adoptopenjdk-11-openjfx-netbeans


On 6 Jun 2019, at 13:16, Geertjan Wielenga 
mailto:geert...@apache.org>> wrote:

The key problem is that you need to make a choice: are you using Ant or Maven? 
Are you creating a modular application or not?

No one can help you if in each and every mail you send you're trying something 
completely different -- i.e., now you suddenly mention module-info.java, which 
means you're creating a modular application.

What is it that you want to achieve? No one can help you, if you don't know.

Gj

On Thu, Jun 6, 2019 at 2:13 PM Eef Custers 
mailto:ecust...@orenda-it.nl>> wrote:
Hi Jose,

Thanks for your respons.

This commandline was generated by Netbeans in case one did not wanted to use 
Ant. This generated line contains errors ( colons instead of semecolons), which 
I ofcourse removed. The rest of the config is collected from internal settings. 
Indeed the mods directory is also configured in Netbeans. In another programs I 
used the module-info.java. That build went OK, but alo the run failed. I am 
really amased that these new versions do not match. I am now almost two weeks 
going over the internet and trying all kinds of ways of working, but I did not 
find a solution. Maybe the advise will be: stay at version 8 for Java/JavaFX 
and Netbeans?

Regards,

Eef




Op do 6 jun. 2019 om 13:50 schreef 
jose.per...@gluonhq.com 
mailto:jose.per...@gluonhq.com>>:
Hi Eef,

Your command line says otherwise, but it tells what it is ultimately running:

c:\java_lib\jdk-12.0.1/bin/java \
-p C:\java_lib\javafx-jmods-12.0.1;
   C:\java_lib\javafx-jmods-12.0.1;
   
C:\java_lib\javafx-sdk-12.0.1\lib\javafx-swt.jar;C:\java_lib\javafx-sdk-12.0.1\lib\javafx.base.jar;
 *C:\java_lib\javafx-sdk-12.0.1\lib\javafx.controls.jar;
*C:\java_lib\javafx-sdk-12.0.1\lib\javafx.fxml.jar;... \
 -cp C:\java_lib\javafx-sdk-12.0.1\lib\javafx-swt.jar;
C:\java_lib\javafx-sdk-12.0.1\lib\javafx.base.jar;
 *C:\java_lib\javafx-sdk-12.0.1\lib\javafx.controls.jar;...
;D:\NbProjects\FxApp01_c\dist\FxApp01_c.jar \
 fxapp01_c.FxApp01_c

In this command line there are a few issues:
- No "--add-modules javafx.controls,javafx.fxml"
- JavaFX jmods and SDK mixed in the same module-path
- Weird path " *C:\...", this looks bad.

Please follow the sample: 
https://github.com/openjfx/samples/tree/master/IDE/NetBeans/Non-Modular/Java

And make sure you have the right libraries and Path.

Jose

On 2019/06/06 11:36:17, Eef Custers 
mailto:ecust...@orenda-it.nl>> wrote:
> Hi Jose,
>
> I did not missed step 5, I had that configured. As you can read in my other
> reply to Geertjan something is going wrong at the initialisation of the
> boot layer. The VM parameters processing is complaining about the last
> value in the list, no matter what the value is.
>
> Regards,
> Eef
>
> Op do 6 jun. 2019 om 10:34 schreef 
> jose.per...@gluonhq.com <
> jose.per...@gluonhq.com>:
>
> > Hi, you can still use Ant, of course, but as Geertjan already pointed out,
> > you are missing this:
> >
> > --add-modules javafx.fxml,javafx.controls
> >
> > (no need for javafx.base nor javafx.graphics, as these are transitive
> > dependencies of javafx.controls).
> >
> > which is also shown in the pic
> > https://openjfx.io/openjfx-docs/images/ide/netbeans/ide/netbeans07.png
> > that is part of the mentioned tutorial (step 5 VM options).
> >
> > About your module-path, there is an issue too: you shouldn't mix
> > javafx-jmods with javafx-sdk paths. Mods are only required to do a custom
> > image from a modular project, which doesn't seem to be your case now.
> >
> > Jose
> >
> > On 2019/06/06 05:08:23, Geertjan Wielenga 
> > mailto:geert...@apache.org>> wrote:
> > > Even without javafx.graphics there, it works.
> > >
> > > Gj
> > >
> > > On Thu, Jun 6, 2019 at 7:07 AM Geertjan Wielenga 
> > > mailto:geert...@apache.org>>
> > > wrote:
> > >
> > > > For me, it suddenly started working when I was following the
> > instructions

Default JDK naming

2019-05-09 Thread Luff,Chris
Afternoon everyone; only nit, but in the Java Platforms the JDK that loaded 
NetBeans is labeled JDK 12 (Default) - where is that string obtained from? I 
would much rather it obtained its name from the actual version in my case; 
OpenJDK 12 as is done in the About NetBeans dialog.

If it cannot be changed locally, can anyone give me a starting point so I can 
make a change.

Thanks
C




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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 for JavaFX in Netbeans 11

2019-04-23 Thread Luff,Chris
Strikethrough “remove”.

On 23 Apr 2019, at 08:21, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Manually, I’m afraid! Locate the libraries (.m2 for maven) and remove add the 
appropriate classifier -javadoc.jar. NetBeans will pick it up right away.

javafx-media-11.0.2-javadoc ->javafx-media-11.0.2-mac-javadoc.jar for example.

On 14 Apr 2019, at 08:57, Helmut Leininger 
mailto:h.leinin...@gmx.at>> wrote:


Hi,

I am running Netbeans 11 on Windows 10,  openjdk-11, openjfx-12.

How do I get javadoc for JavaFX to work? Whatever I try, I get the error 
message  "Cannot perform Show Javadoc here".

Note:
Javadoc for openjdk is ok.

Regards
Helmut


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.



Re: javadoc for JavaFX in Netbeans 11

2019-04-23 Thread Luff,Chris
Manually, I’m afraid! Locate the libraries (.m2 for maven) and remove add the 
appropriate classifier -javadoc.jar. NetBeans will pick it up right away.

javafx-media-11.0.2-javadoc ->javafx-media-11.0.2-mac-javadoc.jar for example.

On 14 Apr 2019, at 08:57, Helmut Leininger 
mailto:h.leinin...@gmx.at>> wrote:


Hi,

I am running Netbeans 11 on Windows 10,  openjdk-11, openjfx-12.

How do I get javadoc for JavaFX to work? Whatever I try, I get the error 
message  "Cannot perform Show Javadoc here".

Note:
Javadoc for openjdk is ok.

Regards
Helmut



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Built-in support of Tomcat TomEE

2019-04-23 Thread Luff,Chris
+1 on 11.0, but I have been successfully using Tomcat in NetBeans before and 
after donation up to today. Deploy, debug etc all work as expected.

On 22 Apr 2019, at 20:02, Geertjan Wielenga 
mailto:geert...@apache.org>> wrote:

I’d recommen only trying with Apache NetBeans 11.0 since there Java Web and EE 
are officially supported for the first time.

Gj


On Mon, 22 Apr 2019 at 21:43, DESMET, JO 
mailto:jd3...@att.com>> wrote:
I have been trying to test some of my applications using NetBeans 9, 10, or 11 
with TomEE 7 and 8.
So far it seems to even fail starting up (The process starts, but then starts 
spewing errors).
The server seems to be up, however the application did not deploy correctly , 
and it also seems like NetBeans does no see that the server is actually already 
up.

I could also not find any references to this issue.
Note that for NetBeans 9/10, I used the old NetBeans 8.2 plugins.

Before I do any further testing, or I go any deeper into this and start 
gathering logs and detailed environment,
I am just wondering if this can be confirmed that it is or should be working?

Thanks,
Jo.
-
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



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Apache NetBeans IDE 10.0 (Build 20190312-unknown-revn)

2019-03-12 Thread Luff,Chris
Curious…I just built from source…is this build version valid? I am about to 
release a  nbscala version to the plugin repository. I want to make sure it 
will install happily on others machines.

Thanks
C


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Calling for Speakers at Netbeans Day London 2019

2019-03-08 Thread Luff,Chris
The EventBrite site has been created for Netbeans Day UK 2019.

https://www.eventbrite.co.uk/e/apache-netbeans-day-2019-uk-tickets-56803479737


On 8 Mar 2019, at 12:44, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Awesome news, we have three speakers already and a slightly revised timings 
(thanks Geertjan for the advice). Still happy to rework as things develop. The 
good news is, the pub is right across the street so we can run a little longer 
is needed :D

  *   9:30 Registration and Coffee
  *   10:30 Apache Netbeans Status Report
  *   11:00 Writing and executing Scala with the Netbeans Scala plugin (Chris 
Luff)
  *   11:45 Enterprise Javascript development with Apache Netbeans (Geertjan 
Wielenga)
  *   12:15 Write Now, Run Anytime (Neil Smith)
  *   13:00 Lunch
  *   14:00 Workshops
 *   [TBA]
 *   [TBA]
  *   15:15 Workshops
 *   [TBA]
 *   [TBA]
  *   16:30 Wrap up & Pub!

I am going put this schedule up onto Eventbrite and note that speakers not on 
this mailing list will be able to get involved by contacting me directly.

Thanks
C

On 8 Mar 2019, at 12:17, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

All,

As you may have heard, we are planning the 5th annual Netbeans Day in London 
Friday September 27th 2019. The location is the London head quarters of Cerner 
in Paddington.

I am looking at a schedule similar to that of past years;

  *   9:00 Registration
  *   9:30 Apache Netbeans Status Report
  *   10:00 [TBA]
  *   10:45 [TBA]
  *   11:30 [TBA]
  *   12:15 Writing and executing Scala with the Netbeans Scala plugin (Chris 
Luff)
  *   13:00 Lunch
  *   14:00 Workshops 1
 *   [TBA]
 *   [TBA]
  *   15:15 Workshops 2
 *   [TBA]
 *   [TBA]
  *   16:30 Wrap up & Pub!

I am looking for speakers to fill the slots marked as TBA. We have the 
capability to run parallel tracks in the afternoon if there are enough 
speakers. Sessions are 45 minutes in length but If you have a something that 
may need more time, we can work with the schedule to accommodate it somehow. 
The rules for acceptable topics are pretty simple, we can cover any topic or 
technology, but it must be applicable to Netbeans as an IDE or Platform.

To get the ball rolling I have penciled myself in to talk through installing 
and working with Scala in Netbeans. @Geertjan, could you be persuaded to take 
the status report, as you have in the past?

Nothing is written in stone yet so suggestions are more than welcome!

I am creating an EventBrite registration site to manage attendees. If however, 
you are a confirmed speaker you will not need to register.

Thanks
Chris

CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.




Re: Calling for Speakers at Netbeans Day London 2019

2019-03-08 Thread Luff,Chris
Awesome news, we have three speakers already and a slightly revised timings 
(thanks Geertjan for the advice). Still happy to rework as things develop. The 
good news is, the pub is right across the street so we can run a little longer 
is needed :D

  *   9:30 Registration and Coffee
  *   10:30 Apache Netbeans Status Report
  *   11:00 Writing and executing Scala with the Netbeans Scala plugin (Chris 
Luff)
  *   11:45 Enterprise Javascript development with Apache Netbeans (Geertjan 
Wielenga)
  *   12:15 Write Now, Run Anytime (Neil Smith)
  *   13:00 Lunch
  *   14:00 Workshops
 *   [TBA]
 *   [TBA]
  *   15:15 Workshops
 *   [TBA]
 *   [TBA]
  *   16:30 Wrap up & Pub!

I am going put this schedule up onto Eventbrite and note that speakers not on 
this mailing list will be able to get involved by contacting me directly.

Thanks
C

On 8 Mar 2019, at 12:17, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

All,

As you may have heard, we are planning the 5th annual Netbeans Day in London 
Friday September 27th 2019. The location is the London head quarters of Cerner 
in Paddington.

I am looking at a schedule similar to that of past years;

  *   9:00 Registration
  *   9:30 Apache Netbeans Status Report
  *   10:00 [TBA]
  *   10:45 [TBA]
  *   11:30 [TBA]
  *   12:15 Writing and executing Scala with the Netbeans Scala plugin (Chris 
Luff)
  *   13:00 Lunch
  *   14:00 Workshops 1
 *   [TBA]
 *   [TBA]
  *   15:15 Workshops 2
 *   [TBA]
 *   [TBA]
  *   16:30 Wrap up & Pub!

I am looking for speakers to fill the slots marked as TBA. We have the 
capability to run parallel tracks in the afternoon if there are enough 
speakers. Sessions are 45 minutes in length but If you have a something that 
may need more time, we can work with the schedule to accommodate it somehow. 
The rules for acceptable topics are pretty simple, we can cover any topic or 
technology, but it must be applicable to Netbeans as an IDE or Platform.

To get the ball rolling I have penciled myself in to talk through installing 
and working with Scala in Netbeans. @Geertjan, could you be persuaded to take 
the status report, as you have in the past?

Nothing is written in stone yet so suggestions are more than welcome!

I am creating an EventBrite registration site to manage attendees. If however, 
you are a confirmed speaker you will not need to register.

Thanks
Chris

CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.



Re: Calling for Speakers at Netbeans Day London 2019

2019-03-08 Thread Luff,Chris
Neil, thanks for responding so quickly. It would be awesome if you could do 
that, fascinating topic! I’ll pencil you in for right before lunch. Always goof 
to break on a high.

Thanks
C

On 8 Mar 2019, at 12:30, Neil C Smith 
mailto:neilcsm...@apache.org>> wrote:

Hi Chris,

I'd be happy to do my Write Now, Run Anytime talk if you'd like? Description at
https://www.meetup.com/South-West-Java/events/254882628/<https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.meetup.com%2FSouth-West-Java%2Fevents%2F254882628%2F=02%7C01%7CChris.Luff%40cerner.com%7C523f6abf47b5486fdbc108d6a3c1e234%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636876450498947993=b8u2sEb7a2rWX6n1W3uoF5wFzQTZafC7TuFLjpaBi8U%3D=0>

It has a (hopefully) fun and noisy-ish ending, so might be good before lunch or 
at the end of the day?

Either way I aim to come along.

Best wishes,

Neil


On Fri, 8 Mar 2019, 12:17 Luff,Chris, 
mailto:chris.l...@cerner.com.invalid>> wrote:
All,

As you may have heard, we are planning the 5th annual Netbeans Day in London 
Friday September 27th 2019. The location is the London head quarters of Cerner 
in Paddington.

I am looking at a schedule similar to that of past years;

  *   9:00 Registration
  *   9:30 Apache Netbeans Status Report
  *   10:00 [TBA]
  *   10:45 [TBA]
  *   11:30 [TBA]
  *   12:15 Writing and executing Scala with the Netbeans Scala plugin (Chris 
Luff)
  *   13:00 Lunch
  *   14:00 Workshops 1
 *   [TBA]
 *   [TBA]
  *   15:15 Workshops 2
 *   [TBA]
 *   [TBA]
  *   16:30 Wrap up & Pub!

I am looking for speakers to fill the slots marked as TBA. We have the 
capability to run parallel tracks in the afternoon if there are enough 
speakers. Sessions are 45 minutes in length but If you have a something that 
may need more time, we can work with the schedule to accommodate it somehow. 
The rules for acceptable topics are pretty simple, we can cover any topic or 
technology, but it must be applicable to Netbeans as an IDE or Platform.

To get the ball rolling I have penciled myself in to talk through installing 
and working with Scala in Netbeans. @Geertjan, could you be persuaded to take 
the status report, as you have in the past?

Nothing is written in stone yet so suggestions are more than welcome!

I am creating an EventBrite registration site to manage attendees. If however, 
you are a confirmed speaker you will not need to register.

Thanks
Chris

CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.



Calling for Speakers at Netbeans Day London 2019

2019-03-08 Thread Luff,Chris
All,

As you may have heard, we are planning the 5th annual Netbeans Day in London 
Friday September 27th 2019. The location is the London head quarters of Cerner 
in Paddington.

I am looking at a schedule similar to that of past years;

  *   9:00 Registration
  *   9:30 Apache Netbeans Status Report
  *   10:00 [TBA]
  *   10:45 [TBA]
  *   11:30 [TBA]
  *   12:15 Writing and executing Scala with the Netbeans Scala plugin (Chris 
Luff)
  *   13:00 Lunch
  *   14:00 Workshops 1
 *   [TBA]
 *   [TBA]
  *   15:15 Workshops 2
 *   [TBA]
 *   [TBA]
  *   16:30 Wrap up & Pub!

I am looking for speakers to fill the slots marked as TBA. We have the 
capability to run parallel tracks in the afternoon if there are enough 
speakers. Sessions are 45 minutes in length but If you have a something that 
may need more time, we can work with the schedule to accommodate it somehow. 
The rules for acceptable topics are pretty simple, we can cover any topic or 
technology, but it must be applicable to Netbeans as an IDE or Platform.

To get the ball rolling I have penciled myself in to talk through installing 
and working with Scala in Netbeans. @Geertjan, could you be persuaded to take 
the status report, as you have in the past?

Nothing is written in stone yet so suggestions are more than welcome!

I am creating an EventBrite registration site to manage attendees. If however, 
you are a confirmed speaker you will not need to register.

Thanks
Chris


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Netbeans Day

2019-01-25 Thread Luff,Chris
I am going to suggest Friday September 27th for Netbeans Day 2019. Our facility 
is available. Shall we go for this and work from there?

On 22 Jan 2019, at 14:16, Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com>> 
wrote:

Awesome!

Gj

On Tue, Jan 22, 2019 at 2:58 PM Luff,Chris 
mailto:chris.l...@cerner.com>> wrote:
Hey,

I have just had meeting with the executive in my organisation who has the final 
say and we are good to go. We have confirmed that the event can take place on 
the Cerner presentation floor in our Paddington office. I have suggested late 
summer, as per your query, to the space organiser; they are going to look for a 
Friday when there are no commercial activities going on around that timeframe.

They have authorised up 50 to 60 people at this stage to gather in our 
presentation suite and one other breakout room with presenting facilities; free 
unlimited internet access, screens, audio etc. Tea, coffee and biscuits 
throughout the day. Given our location in Paddington and the availability of 
food vendors we would not be able to supply lunch. If demand exceeds the 
aforementioned number I will revisit the possibilities.

We will need to organise registration so a list of names are available to the 
building the space facilitators. Without pre-registration, attendance will not 
be possible as access cards are created for each attendee. They would likely be 
on Cerner branded lanyards, is that ok within the rules?

I will let y’all know what dates come from the space organisers.

Thanks
C



On 20 Jan 2019, at 11:17, Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com.INVALID>>
 wrote:

When would you suggest for this event?

(Sorry, I keep getting '.invalid' in your e-mail address, so not sure if you're 
getting responses from me.)

Gj


On Thu, Jan 17, 2019 at 2:18 PM Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com>> 
wrote:
Excellent, when would you suggest?

Maybe September?

Gj

On Tue, Jan 15, 2019 at 6:01 PM Luff,Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
I have an agreement in principle from my organisation's hierarchy to host a 
Netbeans day. The organisation is based in Paddington London with hosting 
facilities. Cerner.com<http://cerner.com/>

Do we have any ideas on dates; the space is heavily utilised so this will be 
the difficult part, but I feel sure it can be done. I don’t think we can meet 
the usual April timeframe so perhaps later in the year.

How does registration/invite usually function?

Thanks
C

On 11 Jan 2019, at 15:56, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Sweet…will work within the parameters and see what is possible! 
Standby…commercial organisation!


On 11 Jan 2019, at 15:49, Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com.INVALID>>
 wrote:

Awesome!

Requirements: 
https://cwiki.apache.org/confluence/display/NETBEANS/NetBeans+Events<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FNetBeans%2BEvents=02%7C01%7CChris.Luff%40cerner.com%7Cf5c6c623cab14650186708d680743512%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636837633933360436=gX2sWC3ZQW0oXxeuRCyl87mKYUdkNxvlEfLjZeB62xk%3D=0>

Gj

On Fri, Jan 11, 2019 at 4:47 PM Luff,Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
@Geertjan and others; Netbeans Day…if I had a venue, what are the prerequisites?


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=02%7C01%7CChris.Luff%40cerner.com%7Cf5c6c623cab14650186708d680743512%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636837633933360436=vdB%2B5FcbkGXs33eNQaCCu8x5YVB6u9wOOLn%2B82QJNcA%3D=0>






Re: Netbeans Day

2019-01-22 Thread Luff,Chris
Hey,

I have just had meeting with the executive in my organisation who has the final 
say and we are good to go. We have confirmed that the event can take place on 
the Cerner presentation floor in our Paddington office. I have suggested late 
summer, as per your query, to the space organiser; they are going to look for a 
Friday when there are no commercial activities going on around that timeframe.

They have authorised up 50 to 60 people at this stage to gather in our 
presentation suite and one other breakout room with presenting facilities; free 
unlimited internet access, screens, audio etc. Tea, coffee and biscuits 
throughout the day. Given our location in Paddington and the availability of 
food vendors we would not be able to supply lunch. If demand exceeds the 
aforementioned number I will revisit the possibilities.

We will need to organise registration so a list of names are available to the 
building the space facilitators. Without pre-registration, attendance will not 
be possible as access cards are created for each attendee. They would likely be 
on Cerner branded lanyards, is that ok within the rules?

I will let y’all know what dates come from the space organisers.

Thanks
C



On 20 Jan 2019, at 11:17, Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com.INVALID>>
 wrote:

When would you suggest for this event?

(Sorry, I keep getting '.invalid' in your e-mail address, so not sure if you're 
getting responses from me.)

Gj


On Thu, Jan 17, 2019 at 2:18 PM Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com>> 
wrote:
Excellent, when would you suggest?

Maybe September?

Gj

On Tue, Jan 15, 2019 at 6:01 PM Luff,Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
I have an agreement in principle from my organisation's hierarchy to host a 
Netbeans day. The organisation is based in Paddington London with hosting 
facilities. Cerner.com<http://cerner.com/>

Do we have any ideas on dates; the space is heavily utilised so this will be 
the difficult part, but I feel sure it can be done. I don’t think we can meet 
the usual April timeframe so perhaps later in the year.

How does registration/invite usually function?

Thanks
C

On 11 Jan 2019, at 15:56, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Sweet…will work within the parameters and see what is possible! 
Standby…commercial organisation!


On 11 Jan 2019, at 15:49, Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com.INVALID>>
 wrote:

Awesome!

Requirements: 
https://cwiki.apache.org/confluence/display/NETBEANS/NetBeans+Events<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FNetBeans%2BEvents=02%7C01%7CChris.Luff%40cerner.com%7Cd80630381b384df9c50b08d67ec8f2d3%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636835798869461912=Ez8%2B5tS8IUEjf29GxxrWKZwyKYWNTcszDOpEZsqtOww%3D=0>

Gj

On Fri, Jan 11, 2019 at 4:47 PM Luff,Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
@Geertjan and others; Netbeans Day…if I had a venue, what are the prerequisites?


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=02%7C01%7CChris.Luff%40cerner.com%7Cd80630381b384df9c50b08d67ec8f2d3%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636835798869461912=mmBDTOseaoCZ9xqSG0GN%2BEkvWhlBHLp9CJNmCUayHaQ%3D=0>





Services Plugin

2019-01-17 Thread Luff,Chris
Hey all,

Been looking, but I am unable to find how to create a plugin for the services 
panel? Add a new Service category and then build the tools beneath.

Thanks
C


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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 Day

2019-01-15 Thread Luff,Chris
I have an agreement in principle from my organisation's hierarchy to host a 
Netbeans day. The organisation is based in Paddington London with hosting 
facilities. Cerner.com<http://Cerner.com>

Do we have any ideas on dates; the space is heavily utilised so this will be 
the difficult part, but I feel sure it can be done. I don’t think we can meet 
the usual April timeframe so perhaps later in the year.

How does registration/invite usually function?

Thanks
C

On 11 Jan 2019, at 15:56, Luff,Chris 
mailto:chris.l...@cerner.com.INVALID>> wrote:

Sweet…will work within the parameters and see what is possible! 
Standby…commercial organisation!


On 11 Jan 2019, at 15:49, Geertjan Wielenga 
mailto:geertjan.wiele...@googlemail.com.INVALID>>
 wrote:

Awesome!

Requirements: 
https://cwiki.apache.org/confluence/display/NETBEANS/NetBeans+Events<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FNetBeans%2BEvents=02%7C01%7CChris.Luff%40cerner.com%7Cb0522600377d4a1ac3e908d677dd6cfc%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636828190230536633=YDbUHybAAV%2BykSepxSeWBxMcVPm3HxncviCeNBUczKM%3D=0>

Gj

On Fri, Jan 11, 2019 at 4:47 PM Luff,Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
@Geertjan and others; Netbeans Day…if I had a venue, what are the prerequisites?


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=02%7C01%7CChris.Luff%40cerner.com%7Cb0522600377d4a1ac3e908d677dd6cfc%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636828190230546642=psZydmIV3A%2BX8iHRuZeoZJI4NU5k%2BWrw6QmSHRxshsw%3D=0>




Netbeans Day

2019-01-11 Thread Luff,Chris
@Geertjan and others; Netbeans Day…if I had a venue, what are the prerequisites?


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.

-
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



Connect profiler to Maven build

2018-12-06 Thread Luff,Chris
I have just tried to connect the Profiler to a maven build. The build is JDK 
1.8 on Maven 3.5.4 reactor build of 6 modules. When hitting attach the already 
running Java process I get a message dialog; Error 0.

Something I am not doing correctly, stupidity or possibly an issue?

Product Version: Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-365-on-20181105)
Updates: NetBeans IDE is updated to version NetBeans 8.2 Patch 
2
Java: 10.0.2; Java HotSpot(TM) 64-Bit Server VM 10.0.2+13
Runtime: Java(TM) SE Runtime Environment 10.0.2+13
System: Mac OS X version 10.13.6 running on x86_64; UTF-8; en_US (nb)

Associate Principal Software Engineer | IP Development - Care Insight and 
Delivery Dev | chris.l...@cerner.com | Cerner 
Limited



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Removal of org-jdesktop-layout

2018-07-12 Thread Luff,Chris
What has this got to do with the removal of jdesktop. Please try not to pollute 
or hijak other discussions. Feel free to ask a new question however!

Associate Principal Software Engineer | IP Development - Care Insight and 
Delivery Dev | chris.l...@cerner.com | Cerner 
Limited

On Jul 12, 2018, at 2:54 PM, * William 
mailto:william.full.m...@gmail.com>> wrote:

Hail fellow users,

I've been running the Netbeans RC1 for a few weeks now and I find many new 
files are NOT being added to the SVN  project (s).  The only reason I found 
this was that I often I bring my work home on a ThumbDrive.  I port a fresh svn 
update  of the the latest commit(s).  I have frequently unzipped the project 
folder to find MISSING files.

When I get back to the office, and compare the zipped folder with the current 
(live) project -- Yes the _missing_ file(s) are not committed.

Subsequently I need to use an external tool like TortiseSvn (windows)  or 
RabbitSvn (linux) to add the missing file to the project.  Things like history 
are working OK.

I  find that  behaviour Strange because Netbeans has Asked and has been-given 
the SVN sign-on for the project.

I don't recall this happening with (Oracle) Netbeans 8.2.  The (Apavhe) 
Netbeans 9rc1 --userdir is a copy/clone from the Netbeans v8 --userdir x

Definitely not what I need on production projects...  But(?) is it a bug?



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: Removal of org-jdesktop-layout

2018-07-12 Thread Luff,Chris
Yeah, that is what I had been doing. Thanks though!

Associate Principal Software Engineer | IP Development - Care Insight and 
Delivery Dev | chris.l...@cerner.com<mailto:chris.l...@cerner.com> | Cerner 
Limited<http://www.cerner.com/>

On Jul 12, 2018, at 12:26 PM, Wade Chandler 
mailto:wadechand...@apache.org>> wrote:

Sometimes in those cases you'll have to go outside the IDE. I would open up a 
good editor, and then replace those packages with the same layout from Swing; 
GroupLayout. You have to remember to edit the .form file as well.

Wade



On Thu, Jul 12, 2018, 06:57 Luff,Chris 
mailto:chris.l...@cerner.com.invalid>> wrote:
Morning people, the removal of org.netbeans.api:org-jdesktop-layout means we 
now have to use swing, no problem. But what if the form editor created the 
code. I am uplifting the scala plugin in prep for approval of the voting 
candidates but I can't modify the form generated code?!? Is there an override? 
Removing the form editor coupling?

Thanks!

Associate Principal Software Engineer | IP Development - Care Insight and 
Delivery Dev | chris.l...@cerner.com<mailto:chris.l...@cerner.com> | +44 
(0)7970 735175 | Cerner Limited<http://www.cerner.com/>

**Join us on Microsoft 
Teams<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fteams.microsoft.com%2Fl%2Fchannel%2F19%3Ac2e663c377ec4aac8dfbea8b05474b55%40thread.skype%2FClinical%2520Timeline%3FgroupId%3D2b7a095c-9971-48f7-b185-2ddb366be648%26tenantId%3Dfbc493a8-0d24-4454-a815-f4ca58e8c09d=02%7C01%7CChris.Luff%40cerner.com%7Cdf195cea9d56479b321808d5e7ea581e%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636669916042487194=6f%2BCTydOqiRbI7a8DQtdfQBN9UEM%2BPN%2Fee%2F8mZ6zE0w%3D=0>**


CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.



Removal of org-jdesktop-layout

2018-07-12 Thread Luff,Chris
Morning people, the removal of org.netbeans.api:org-jdesktop-layout means we 
now have to use swing, no problem. But what if the form editor created the 
code. I am uplifting the scala plugin in prep for approval of the voting 
candidates but I can't modify the form generated code?!? Is there an override? 
Removing the form editor coupling?

Thanks!

Associate Principal Software Engineer | IP Development - Care Insight and 
Delivery Dev | chris.l...@cerner.com | +44 
(0)7970 735175 | Cerner Limited

**Join us on Microsoft 
Teams**



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: NetBeans 9 RC1 and JDK 10

2018-06-26 Thread Luff,Chris
Hey Peter, yes you need to add the other JDKs to the Java Platforms from the 
Tools menu. Additionally, in the project properties ensure you have set the 
compile JDK, that is what Netbeans will use. The source binary should match 
especially if you want type inference to work. I have it running fine on my 
device right now. The in line warning is indicating you can change it to an 
explicit type.

@Dreamteam, does a feature exist so that be changed to a lightbulb instead of a 
warning or is it something I need to get onto the backlog?

Thx
Chris

[cid:CFDFC8D1-5972-4840-9F96-91AE77AA29E4@cerner.com]


On Jun 26, 2018, at 9:45 AM, Peter Hull 
mailto:peterhul...@gmail.com>> wrote:

I've downloaded and have been using RC1. Overall it's working very well for
me.
I have a quick question - is it possible to develop for a different JDK
than the one that NetBeans itself is running on? NB is using JDK 1.8 but I
have set up a "JDK 10" platform. I can select this and choose JDK10 as my
source/binary format in a Java SE project, but I cannot use features like
'var' (red errors in the IDE). However I can clean and build using NB, then
run the JAR from the command line and it's OK.
Should I be able to use a different JDK than the NetBeans one?
Thanks
Peter

-
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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blists=02%7C01%7CChris.Luff%40cerner.com%7C404048cbfb6546697e0308d5db414b73%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C1%7C636655995872957823=2YNgUUJ9nHjVV8N4Q9WlN57DLPnsS4%2BGll5HMGM5pf4%3D=0




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


A org.openide.util.RequestProcessor$FastItem exception has occurred.

2018-06-06 Thread Luff,Chris
Getting a FastItem exception pretty frequently when there is a syntax error in 
another part of the code.

I simply put the dot after the object and up pops the exception. Any thoughts 
before I log a JIRA.

***STACK TRACE

  Product Version = Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-302-on-20180517)
  Operating System= Mac OS X version 10.13.5 running on x86_64
  Java; VM; Vendor= 10.0.1; Java HotSpot(TM) 64-Bit Server VM 
10.0.1+10; Oracle Corporation
  Runtime = Java(TM) SE Runtime Environment 10.0.1+10
  Java Home   = 
/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home
  System Locale; Encoding = en_US (nb); UTF-8


java.lang.AssertionError: Analyzer error when processing: selectedCellsMap = 
new SelectedCellsMap>(this::fireCustomSelectedCellsListChangeEvent){


(javafx.collections.ListChangeListener> x0) {
super(x0);
}

@Override()
public boolean isCellSelectionEnabled() {
return TableViewArrayListSelectionModel.this.isCellSelectionEnabled();
}
};
at com.sun.tools.javac.util.Assert.error(Assert.java:162)
at com.sun.tools.javac.comp.Analyzer.doAnalysis(Analyzer.java:575)
at com.sun.tools.javac.comp.Analyzer$2.flush(Analyzer.java:546)
at com.sun.tools.javac.comp.Analyzer.flush(Analyzer.java:583)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1493)
at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1461)
at com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:497)
at com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:644)
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:500)
at 
org.netbeans.modules.java.source.nbjavac.parsing.TreeLoader.loadTreeFor(TreeLoader.java:190)
at com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1703)
at com.sun.tools.javac.code.Symbol$ParamSymbol.getSimpleName(Symbol.java:1670)
at 
org.netbeans.modules.editor.java.JavaCompletionItem$MethodItem.(JavaCompletionItem.java:1781)
at 
org.netbeans.modules.editor.java.JavaCompletionItem$MethodItem.(JavaCompletionItem.java:1730)
at 
org.netbeans.modules.editor.java.JavaCompletionItem.createExecutableItem(JavaCompletionItem.java:180)
at 
org.netbeans.modules.editor.java.JavaCompletionItemFactory.createExecutableItem(JavaCompletionItemFactory.java:111)
at 
org.netbeans.modules.editor.java.JavaCompletionItemFactory.createExecutableItem(JavaCompletionItemFactory.java:49)
at 
org.netbeans.modules.java.completion.JavaCompletionTask.addMembers(JavaCompletionTask.java:3589)
at 
org.netbeans.modules.java.completion.JavaCompletionTask.insideMemberSelect(JavaCompletionTask.java:1795)
at 
org.netbeans.modules.java.completion.JavaCompletionTask.resolve(JavaCompletionTask.java:358)
at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:93)
at 
org.netbeans.modules.java.completion.JavaCompletionTask.run(JavaCompletionTask.java:58)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130)
at 
org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181)
at 
org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178)
at 
org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153)
at 
org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335)
at 
org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118)
at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178)
at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81)
at 
org.netbeans.modules.editor.java.JavaCompletionProvider$JavaCompletionQuery.query(JavaCompletionProvider.java:193)
at 
org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:198)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Caused: org.openide.util.RequestProcessor$FastItem: task failed due to




CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be 

Maven modules

2018-05-14 Thread Luff,Chris
Hey I am watching 
https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
 but I want to populate my local maven repo with the mavenized artifacts from 
the incubator. I can see there is a "patch-for-maven” ant task in each module. 
Ant not being my usual build tool I am not familiar with what needs to happen 
to get this to run recursively across the IDE. Are there any pre-steps?

Thanks
Chris



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.


Re: JDK10 NB205-20180202

2018-05-10 Thread Luff,Chris
Working nicely, thanks!!

On May 10, 2018, at 12:02 PM, Luff,Chris 
<chris.l...@cerner.com.INVALID<mailto:chris.l...@cerner.com.INVALID>> wrote:

Thanks Geertjan, I’ll pull and build that!

Associate Principal Software Engineer, Clinical Dev | 
chris.l...@cerner.com<mailto:chris.l...@cerner.com> | +44 (0)7970 735175 | 
Cerner Limited<http://www.cerner.com/>

**Join us on Microsoft 
Teams<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fteams.microsoft.com%2Fl%2Fchannel%2F19%3Ac2e663c377ec4aac8dfbea8b05474b55%40thread.skype%2FClinical%2520Timeline%3FgroupId%3D2b7a095c-9971-48f7-b185-2ddb366be648%26tenantId%3Dfbc493a8-0d24-4454-a815-f4ca58e8c09d=02%7C01%7CChris.Luff%40cerner.com%7C4616041839454bc983ef08d5b665821d%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636615469445788535=Lsnv0auDU8K1ChmfipRJtb1X0b9ZrMnCtak4bFn3DXE%3D=0>**

On May 10, 2018, at 11:59 AM, Geertjan Wielenga 
<geertjan.wiele...@googlemail.com<mailto:geertjan.wiele...@googlemail.com>> 
wrote:

https://github.com/apache/incubator-netbeans/pull/495<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-netbeans%2Fpull%2F495=02%7C01%7CChris.Luff%40cerner.com%7C02e7bd9ed418466d36b508d5b6652a66%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636615467976566815=Ph9s5ZyvxXAkBEksoDu%2F2x6VpfKx2JEX46eyv3lAhAk%3D=0>

Gj

On Thu, May 10, 2018 at 12:53 PM, Luff,Chris 
<chris.l...@cerner.com.invalid<mailto:chris.l...@cerner.com.invalid>> wrote:
Hey, I have a JDK10 maven project…I thought I would trial some JDK 10 syntax by 
adding a var keyword. However, it is not recognized. I have set the source and 
target binaries in my pom to 10.0 but the highest available in the properties 
of my maven project is 9.  Is there something else that needs to be set for the 
maven project to recognize 10 syntax?

A straightforward Java Application in my current netbeans allows me to set the 
binary to 10 and it works fine.

Thanks
C



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.





Re: JDK10 NB205-20180202

2018-05-10 Thread Luff,Chris
Thanks Geertjan, I’ll pull and build that!

Associate Principal Software Engineer, Clinical Dev | 
chris.l...@cerner.com<mailto:chris.l...@cerner.com> | +44 (0)7970 735175 | 
Cerner Limited<http://www.cerner.com/>

**Join us on Microsoft 
Teams<https://teams.microsoft.com/l/channel/19:c2e663c377ec4aac8dfbea8b05474b55@thread.skype/Clinical%20Timeline?groupId=2b7a095c-9971-48f7-b185-2ddb366be648=fbc493a8-0d24-4454-a815-f4ca58e8c09d>**

On May 10, 2018, at 11:59 AM, Geertjan Wielenga 
<geertjan.wiele...@googlemail.com<mailto:geertjan.wiele...@googlemail.com>> 
wrote:

https://github.com/apache/incubator-netbeans/pull/495<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fincubator-netbeans%2Fpull%2F495=02%7C01%7CChris.Luff%40cerner.com%7C02e7bd9ed418466d36b508d5b6652a66%7Cfbc493a80d244454a815f4ca58e8c09d%7C0%7C0%7C636615467976566815=Ph9s5ZyvxXAkBEksoDu%2F2x6VpfKx2JEX46eyv3lAhAk%3D=0>

Gj

On Thu, May 10, 2018 at 12:53 PM, Luff,Chris 
<chris.l...@cerner.com.invalid<mailto:chris.l...@cerner.com.invalid>> wrote:
Hey, I have a JDK10 maven project…I thought I would trial some JDK 10 syntax by 
adding a var keyword. However, it is not recognized. I have set the source and 
target binaries in my pom to 10.0 but the highest available in the properties 
of my maven project is 9.  Is there something else that needs to be set for the 
maven project to recognize 10 syntax?

A straightforward Java Application in my current netbeans allows me to set the 
binary to 10 and it works fine.

Thanks
C



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in 
England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF.