Using Quick Search API in Standalone Swing Apps?

2022-03-03 Thread Tim Mullé
Hi,

Is it possible to use the Quick Search API in standalone Swing Apps?

We have a home grown IDE like interface (not using NB Platform) and we’d like 
to add a quick search feature ust like NetBeans has. 

I took a look at the source code for the quick search module and it looks like 
it might be tied to the UI (TopComponents)
And rely on the XML file system for things like category name, keystroke, etc. 
I thought it used ServiceLoader but it directly reads the root virtual file 
system.

I didn’t see a way to provide those items externally since we don’t have the NB 
file system and our SearchProviders won’t be made via
The NetBeans wizards.


Just curious…

- Tim


-
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



UI Gesture Collection still in NetBeans 12.x?

2022-03-03 Thread Tim Mullé
Hi,

Was just wondering if the UI Gesture Collection framework is still in NB 12.x? 
And if not can we manually add it ourselves?

I was about to follow this tutorial and noticed the libraries are not in 12.6 
under the NB category and I couldn’t find the code in GitHub.

https://netbeans.apache.org/tutorials/nbm-gesture.html

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://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-17 Thread Tim Mullé
Hi Neil,

I copied the info over to https://github.com/apache/netbeans/issues/3467 


Let me know if there is any other info you need

Thanks everyone..



> On Jan 17, 2022, at 11:15 AM, Neil C Smith  wrote:
> 
> On Mon, 17 Jan 2022 at 07:57, antonio  wrote:
>> Thanks for your report!
>> 
>> It seems we're not contemplating the new M1 Apple computers. Since not
>> all of us have access to one of these,
> 
> I've just invested in an M1 mac mini for testing purposes so will also
> try and have a look at this.
> 
>> would you please add the
>> following to this ticket?
> 
> Yes, I know it's a pain, but could you possibly copy over to
> https://github.com/apache/netbeans/issues/new/choose ?
> 
> We're currently in the process of migrating issue tracking to GitHub,
> initially for the NetBeans 13 release candidates.  This would be a
> good one to at least see if we can get a fix in for 13.
> 
> Best wishes,
> 
> Neil
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 



Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-14 Thread Tim Mullé
I messed around some more and figured out the cause, but there are still some 
issues that are beyond me.

filed a ticket: https://issues.apache.org/jira/browse/NETBEANS-6391 
<https://issues.apache.org/jira/browse/NETBEANS-6391>


> On Jan 14, 2022, at 7:58 AM, Tim Mullé  wrote:
> 
> Thanks, I wonder for the people who the terminals do work they are using 
> Rosetta and a non-ARM(x86) based JDK install so the code is properly picking 
> the platform.
> 
> I have Rosetta also, but since I’m using a native ARM JDK, it is not being 
> run under Rosetta.
> 
> Just thinking out loud.
> 
> @Geertjan - Should I file a bug with the info I posted in this group?
> 
> Thanks again…
> 
> 
>> On Jan 13, 2022, at 7:23 PM, David Green > <mailto:dgreen...@gmail.com>> wrote:
>> 
>> I used the MacOSX installer.   I do see the files in the 
>> /Applications/NetBeans/Apache\ NetBeans\ 
>> 12.6.app/Contents/Resources/NetBeans/netbeans/ide/bin/nativeexecution
>> 
>> and also don’t have any arm/m1 arch files.  There is also a hosting.sh file 
>> there which also does not have any ARM info/logic.
>> 
>> I have Rosetta installed although I strive to use native code when possible.
>> 
>> On Jan 13, 2022 at 5:27:42 PM, Tim Mullé > <mailto:tmu...@gmail.com>> wrote:
>>> I did more searching in my netbeans installation folder and found the list 
>>> of files the Terminal was looking for, but I noticed that there is no ARM 
>>> or AARCH files mentioned for any OS.
>>> 
>>> My `uname -a` reports: Darwin mars.fios-router.home 21.2.0 Darwin Kernel 
>>> Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; 
>>> root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
>>> 
>>> And I’m running a M1 native JDK from Temurin 17.0.1+12 and tried Azul 
>>> 11.0.13+8 both arm ARM64 JDKs
>>> 
>>> 
>>>> more ./ide/update_tracking/org-netbeans-modules-dlight-nativeexecution.xml
>>> >> codename="org.netbeans.modules.dlight.nativeexecution">
>>>>> origin="installer" specification_version="1.53.0.1">
>>>>> name="bin/nativeexecution/Linux-sparc_64/killall"/>
>>>>> name="bin/nativeexecution/Linux-sparc_64/process_start"/>
>>>>> name="bin/nativeexecution/Linux-sparc_64/pty"/>
>>>>> name="bin/nativeexecution/Linux-sparc_64/pty_open"/>
>>>>> name="bin/nativeexecution/Linux-sparc_64/sigqueue"/>
>>>>> name="bin/nativeexecution/Linux-sparc_64/stat"/>
>>>>> name="bin/nativeexecution/Linux-sparc_64/unbuffer.so"/>
>>>
>>>>> name="bin/nativeexecution/Linux-x86/process_start"/>
>>>
>>>>> name="bin/nativeexecution/Linux-x86/pty_open"/>
>>>>> name="bin/nativeexecution/Linux-x86/sigqueue"/>
>>>
>>>>> name="bin/nativeexecution/Linux-x86/unbuffer.so"/>
>>>>> name="bin/nativeexecution/Linux-x86_64/killall"/>
>>>>> name="bin/nativeexecution/Linux-x86_64/process_start"/>
>>>
>>>>> name="bin/nativeexecution/Linux-x86_64/pty_open"/>
>>>>> name="bin/nativeexecution/Linux-x86_64/sigqueue"/>
>>>
>>>>> name="bin/nativeexecution/Linux-x86_64/unbuffer.so"/>
>>>>> name="bin/nativeexecution/MacOSX-x86/killall"/>
>>>>> name="bin/nativeexecution/MacOSX-x86/process_start"/>
>>>
>>>>> name="bin/nativeexecution/MacOSX-x86/pty_open"/>
>>>
>>>>> name="bin/nativeexecution/MacOSX-x86/unbuffer.dylib"/>
>>>>> name="bin/nativeexecution/MacOSX-x86_64/killall"/>
>>>>> name="bin/nativeexecution/MacOSX-x86_64/process_start"/>
>>>
>>>>> name="bin/nativeexecution/MacOSX-x86_64/pty_open"/>
>>>>> name="bin/nativeexecution/MacOSX-x86_64/stat"/>
>>>>> name="bin/nativeexecution/MacOSX-x86_64/unbuffer.dylib"/>
>>>>> name="bin/nativeexecution/SunOS-sparc_64/killall"/>
>>>>> name="bin/nativeexecution/SunOS-spar

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-14 Thread Tim Mullé
Thanks, I wonder for the people who the terminals do work they are using 
Rosetta and a non-ARM(x86) based JDK install so the code is properly picking 
the platform.

I have Rosetta also, but since I’m using a native ARM JDK, it is not being run 
under Rosetta.

Just thinking out loud.

@Geertjan - Should I file a bug with the info I posted in this group?

Thanks again…


> On Jan 13, 2022, at 7:23 PM, David Green  wrote:
> 
> I used the MacOSX installer.   I do see the files in the 
> /Applications/NetBeans/Apache\ NetBeans\ 
> 12.6.app/Contents/Resources/NetBeans/netbeans/ide/bin/nativeexecution
> 
> and also don’t have any arm/m1 arch files.  There is also a hosting.sh file 
> there which also does not have any ARM info/logic.
> 
> I have Rosetta installed although I strive to use native code when possible.
> 
> On Jan 13, 2022 at 5:27:42 PM, Tim Mullé  <mailto:tmu...@gmail.com>> wrote:
>> I did more searching in my netbeans installation folder and found the list 
>> of files the Terminal was looking for, but I noticed that there is no ARM or 
>> AARCH files mentioned for any OS.
>> 
>> My `uname -a` reports: Darwin mars.fios-router.home 21.2.0 Darwin Kernel 
>> Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; 
>> root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
>> 
>> And I’m running a M1 native JDK from Temurin 17.0.1+12 and tried Azul 
>> 11.0.13+8 both arm ARM64 JDKs
>> 
>> 
>>> more ./ide/update_tracking/org-netbeans-modules-dlight-nativeexecution.xml
>> > codename="org.netbeans.modules.dlight.nativeexecution">
>>> origin="installer" specification_version="1.53.0.1">
>>> name="bin/nativeexecution/Linux-sparc_64/killall"/>
>>> name="bin/nativeexecution/Linux-sparc_64/process_start"/>
>>
>>> name="bin/nativeexecution/Linux-sparc_64/pty_open"/>
>>> name="bin/nativeexecution/Linux-sparc_64/sigqueue"/>
>>> name="bin/nativeexecution/Linux-sparc_64/stat"/>
>>> name="bin/nativeexecution/Linux-sparc_64/unbuffer.so"/>
>>
>>> name="bin/nativeexecution/Linux-x86/process_start"/>
>>
>>
>>
>>
>>> name="bin/nativeexecution/Linux-x86/unbuffer.so"/>
>>> name="bin/nativeexecution/Linux-x86_64/killall"/>
>>> name="bin/nativeexecution/Linux-x86_64/process_start"/>
>>
>>> name="bin/nativeexecution/Linux-x86_64/pty_open"/>
>>> name="bin/nativeexecution/Linux-x86_64/sigqueue"/>
>>
>>> name="bin/nativeexecution/Linux-x86_64/unbuffer.so"/>
>>
>>> name="bin/nativeexecution/MacOSX-x86/process_start"/>
>>
>>> name="bin/nativeexecution/MacOSX-x86/pty_open"/>
>>
>>> name="bin/nativeexecution/MacOSX-x86/unbuffer.dylib"/>
>>> name="bin/nativeexecution/MacOSX-x86_64/killall"/>
>>> name="bin/nativeexecution/MacOSX-x86_64/process_start"/>
>>
>>> name="bin/nativeexecution/MacOSX-x86_64/pty_open"/>
>>
>>> name="bin/nativeexecution/MacOSX-x86_64/unbuffer.dylib"/>
>>> name="bin/nativeexecution/SunOS-sparc_64/killall"/>
>>> name="bin/nativeexecution/SunOS-sparc_64/privp"/>
>>> name="bin/nativeexecution/SunOS-sparc_64/process_start"/>
>>
>>> name="bin/nativeexecution/SunOS-sparc_64/pty_open"/>
>>> name="bin/nativeexecution/SunOS-sparc_64/sigqueue"/>
>>> name="bin/nativeexecution/SunOS-sparc_64/stat"/>
>>> name="bin/nativeexecution/SunOS-sparc_64/unbuffer.so"/>
>>
>>
>>> name="bin/nativeexecution/SunOS-x86/process_start"/>
>>
>>
>>
>>
>>> name="bin/nativeexecution/SunOS-x86/unbuffer.so"/>
>>> name="bin/nativeexecution/SunOS-x86_64/killall"/>
>>> name="bin/nativeexecution/SunOS-x86_64/process_start"/>
>>
>>> name="bin/nativeexecution/SunOS-x86_64/pty_open"/>
>>> name="bin/nativeexecution/SunOS-x86_

Can't install NetBeans using MacOS installer without JDK installed

2022-01-14 Thread Tim Mullé
Hi,

I tried to install NetBeans using the MacOS installer to see if that would fix 
my missing Terminal issue, however, I can’t run the installer because I don’t 
have a JDK installed normally.

I use SDKMAN to manage my JDK installations since I work with multiple JDK 
versions for my day job and I don’t install JDKs natively.

The installer said it couldn’t find any JDK8 installations..

Is there a way to get it to work with SDKMAN java installations?

NOTE: I normally just use the ZIP file distribution for my installs of 
NetBeans.. I’m just trying to see using the MacOS packager fixes my Terminal 
issue from previous emails.

Note a huge deal, just wondering in case someone else might have the same setup.

Thanks,
- Tim


-
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: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Tim Mullé
I did more searching in my netbeans installation folder and found the list of 
files the Terminal was looking for, but I noticed that there is no ARM or AARCH 
files mentioned for any OS.

My `uname -a` reports: Darwin mars.fios-router.home 21.2.0 Darwin Kernel 
Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; 
root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64

And I’m running a M1 native JDK from Temurin 17.0.1+12 and tried Azul 11.0.13+8 
both arm ARM64 JDKs


> more ./ide/update_tracking/org-netbeans-modules-dlight-nativeexecution.xml













































































> On Jan 13, 2022, at 4:43 PM, Tim Mullé  wrote:
> 
> So, I did some digging in the debugger of the Netbeans source (12.6) and I 
> think I found where the issue is happening, just not sure why.
> 
> One weird thing is that the HostInfo doesn’t know what `platform` my M1 Pro 
> Mac is..
> 
> Then later on in 
> ‘org.netbeans.modules.nativeexecution.api.util.HelperUtility.getLocalFile()’ 
> it throws a MissingResourceException because it’s trying to find 
> "bin/nativeexecution/MacOSX-unknown_64/pty” on the local file system..and 
> that’s not correct because of the `-unknown`
> 
> A ’null’ is then returned and that then gets set into the ‘Info” variable 
> which then ultimately causes the exception, in PtyNativeProcess.create() it 
> then calls `LocalNativeProcess.createAndStart()` and
> That fails because the `info.setExecutable(String path)` has been set to NULL 
> because of the previous errors.
> 
> Ultimately failing on line 163 in 
> `org.netbeans.modules.nativeexecution.AbstractNativeProcess.java’ and then 
> the error DOES get logged but at the FINE level..which doesn’t appear in the 
> IDE LOG
> 
> Hope this helps, I don’t know enough of the code to try to fix it.. looks 
> like it is missing a file at first glance?
> 
> - Tim
> 
> *** CODE ***
> 'protected File getLocalFile(final ExecutionEnvironment env)
> throws ParseException, MissingResourceException {
> 
> InstalledFileLocator fl = InstalledFileLocatorProvider.getDefault();
> MacroExpander expander = MacroExpanderFactory.getExpander(env);
> String path = expander.expandPredefinedMacros(pattern);
> 
> File file = fl.locate(path, codeNameBase, false);
> 
> if (file == null || !file.exists()) {
> throw new MissingResourceException(path, null, null); //NOI18N
> }
> 
> return file;
> }
> '
> 
> 
> 
> 
>> On Jan 13, 2022, at 4:23 PM, Malcolm Fitzgerald 
>>  wrote:
>> 
>> Has anyone picked up on Emilian's idea and checked the settings for Full 
>> Disk Access and for Files and Folders in System Preferences -> Security and 
>> Privacy -> Privacy? There may be a terminal icon labelled "java" that is 
>> waiting to be checked. 
>> 
>> 
>> Malcolm
>> 
>> 
>> 
>> 
>> 
>> Tim Mullé wrote on 14/01/22 8:44 AM:
>> 
>>> I too am running an M1 Pro Mac with Monterey
>>> 
>>> I’m using 17.0.1-tem java install from SDKMAN and I’ve tried 11.0.13-zulu 
>>> and same issue.
>>> 
>>> I don’t see java in my Files and Folders privacy
>>> 
>>> 
>>>> On Jan 13, 2022, at 2:41 PM, Tim Mullé  wrote:
>>>> 
>>>> Sadly, that didn’t fix it for me. I do have Xcode and the command line 
>>>> tools installed as well.
>>>> 
>>>> I just deleted my /Library/Application Support/NetBeans folder and 
>>>> restarted Netbeans and I still get the same error posted below.
>>>> 
>>>> Oddly, the REMOTE terminal works and I connected to another machine via 
>>>> the ssh and the terminal works
>>>> 
>>>> It’s just the local terminal that is crashing with the error
>>>> 
>>>> 
>>>> 
>>>>> On Jan 13, 2022, at 12:16 PM, David Green  wrote:
>>>>> 
>>>>> Works for me on M1 Pro with JDK 17 (and NB 12.4/12.5/12.6)
>>>>> 
>>>>> Looking at System

Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Tim Mullé
I too am running an M1 Pro Mac with Monterey

I’m using 17.0.1-tem java install from SDKMAN and I’ve tried 11.0.13-zulu and 
same issue.

I don’t see java in my Files and Folders privacy


> On Jan 13, 2022, at 2:41 PM, Tim Mullé  wrote:
> 
> Sadly, that didn’t fix it for me. I do have Xcode and the command line tools 
> installed as well.
> 
> I just deleted my /Library/Application Support/NetBeans folder and restarted 
> Netbeans and I still get the same error posted below.
> 
> Oddly, the REMOTE terminal works and I connected to another machine via the 
> ssh and the terminal works
> 
> It’s just the local terminal that is crashing with the error
> 
> 
> 
>> On Jan 13, 2022, at 12:16 PM, David Green > <mailto:dgreen...@gmail.com>> wrote:
>> 
>> Works for me on M1 Pro with JDK 17 (and NB 12.4/12.5/12.6)
>> 
>> Looking at System Preferences | Privacy > Files and Folders 
>> 
>> I note that java has access to Download Folders, Document Folders, and 
>> Desktop Folders but this is it (Java and NetBeans not listed elsewhere) and 
>> I don’t think these settings would only impact the terminal.
>> 
>> I do have XCode and its command line support code loaded.
>> 
>> I installed JDK 17 with JavaFX from Azul that was built for the M1.
>> 
>> Installed NB 12.6.  I am running the zsh shell.
>> 
>> Not a direct answer but a bit of info that might be helpful.
>> 
>> Dave
>> 
>> On Jan 13, 2022 at 10:44:50 AM, Tim Mullé > <mailto:tmu...@gmail.com>> wrote:
>>> Any ideas on how to fix or troubleshoot this?
>>> 
>>> This happens on both 12.5 and 12.6 with JDK11 and JDK17 on my M1 Mac
>>> 
>>> 
>>> 
>>> 
>>>> On Dec 14, 2021, at 2:50 PM, Tim Mullé >>> <mailto:tmu...@gmail.com>> wrote:
>>>> 
>>>> Still having this issue with 12.5 and 12.6 on M1 Mac.
>>>> 
>>>> The error that briefly flashes in the terminal window is:
>>>> 
>>>> Cannot invoke “java.util.List.toArray(Object[])” because 
>>>> org.netbeans.modules.nativeexecution.NativeProcessInfo.getCommand is null
>>>> 
>>>> I had to keep clicking on the “New Terminal” button and try to read the 
>>>> message since the screen goes black then clears and stays empty grey.
>>>> 
>>>> Nothing shows up on the command line terminal or the IDE Log showing this 
>>>> error.
>>>> 
>>>> 
>>>> 
>>>> > On Nov 12, 2021, at 3:34 PM, Tim Mullé >>> > <mailto:tmu...@gmail.com>> wrote:
>>>> > 
>>>> > Hi,
>>>> > 
>>>> > Just found something interesting when running Netbeans on my new M1 Mac 
>>>> > (Silicon) Monterey 12.0.1 with JDK 11 or JDK17 where
>>>> > the “Open in Terminal” option under the Tools menu opens a blank 
>>>> > terminal.
>>>> > 
>>>> > This didn’t happen on Big Sur x86_64 with either JDK..
>>>> > 
>>>> > Plus, I don’t seem to get any errors in the IDE LOG.
>>>> > 
>>>> > 
>>>> 
>>> 
>>> 
>>> -
>>> 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://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>>> 
> 



Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Tim Mullé
Sadly, that didn’t fix it for me. I do have Xcode and the command line tools 
installed as well.

I just deleted my /Library/Application Support/NetBeans folder and restarted 
Netbeans and I still get the same error posted below.

Oddly, the REMOTE terminal works and I connected to another machine via the ssh 
and the terminal works

It’s just the local terminal that is crashing with the error



> On Jan 13, 2022, at 12:16 PM, David Green  wrote:
> 
> Works for me on M1 Pro with JDK 17 (and NB 12.4/12.5/12.6)
> 
> Looking at System Preferences | Privacy > Files and Folders 
> 
> I note that java has access to Download Folders, Document Folders, and 
> Desktop Folders but this is it (Java and NetBeans not listed elsewhere) and I 
> don’t think these settings would only impact the terminal.
> 
> I do have XCode and its command line support code loaded.
> 
> I installed JDK 17 with JavaFX from Azul that was built for the M1.
> 
> Installed NB 12.6.  I am running the zsh shell.
> 
> Not a direct answer but a bit of info that might be helpful.
> 
> Dave
> 
> On Jan 13, 2022 at 10:44:50 AM, Tim Mullé  <mailto:tmu...@gmail.com>> wrote:
>> Any ideas on how to fix or troubleshoot this?
>> 
>> This happens on both 12.5 and 12.6 with JDK11 and JDK17 on my M1 Mac
>> 
>> 
>> 
>> 
>>> On Dec 14, 2021, at 2:50 PM, Tim Mullé >> <mailto:tmu...@gmail.com>> wrote:
>>> 
>>> Still having this issue with 12.5 and 12.6 on M1 Mac.
>>> 
>>> The error that briefly flashes in the terminal window is:
>>> 
>>> Cannot invoke “java.util.List.toArray(Object[])” because 
>>> org.netbeans.modules.nativeexecution.NativeProcessInfo.getCommand is null
>>> 
>>> I had to keep clicking on the “New Terminal” button and try to read the 
>>> message since the screen goes black then clears and stays empty grey.
>>> 
>>> Nothing shows up on the command line terminal or the IDE Log showing this 
>>> error.
>>> 
>>> 
>>> 
>>> > On Nov 12, 2021, at 3:34 PM, Tim Mullé >> > <mailto:tmu...@gmail.com>> wrote:
>>> > 
>>> > Hi,
>>> > 
>>> > Just found something interesting when running Netbeans on my new M1 Mac 
>>> > (Silicon) Monterey 12.0.1 with JDK 11 or JDK17 where
>>> > the “Open in Terminal” option under the Tools menu opens a blank terminal.
>>> > 
>>> > This didn’t happen on Big Sur x86_64 with either JDK..
>>> > 
>>> > Plus, I don’t seem to get any errors in the IDE LOG.
>>> > 
>>> > 
>>> 
>> 
>> 
>> -
>> 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://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
>> 



Re: Blank Terminal window on M1 Mac with Netbeans 12.5

2022-01-13 Thread Tim Mullé
Any ideas on how to fix or troubleshoot this?

This happens on both 12.5 and 12.6 with JDK11 and JDK17 on my M1 Mac




> On Dec 14, 2021, at 2:50 PM, Tim Mullé  wrote:
> 
> Still having this issue with 12.5 and 12.6 on M1 Mac.
> 
> The error that briefly flashes in the terminal window is:
> 
> Cannot invoke “java.util.List.toArray(Object[])” because 
> org.netbeans.modules.nativeexecution.NativeProcessInfo.getCommand is null
> 
> I had to keep clicking on the “New Terminal” button and try to read the 
> message since the screen goes black then clears and stays empty grey.
> 
> Nothing shows up on the command line terminal or the IDE Log showing this 
> error.
> 
> 
> 
>> On Nov 12, 2021, at 3:34 PM, Tim Mullé  wrote:
>> 
>> Hi,
>> 
>> Just found something interesting when running Netbeans on my new M1 Mac 
>> (Silicon) Monterey 12.0.1 with JDK 11 or JDK17 where
>> the “Open in Terminal” option under the Tools menu opens a blank terminal.
>> 
>> This didn’t happen on Big Sur x86_64 with either JDK..
>> 
>> Plus, I don’t seem to get any errors in the IDE LOG.
>> 
>> 
> 


-
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: Blank Terminal window on M1 Mac with Netbeans 12.5

2021-12-14 Thread Tim Mullé
Still having this issue with 12.5 and 12.6 on M1 Mac.

The error that briefly flashes in the terminal window is:

Cannot invoke “java.util.List.toArray(Object[])” because 
org.netbeans.modules.nativeexecution.NativeProcessInfo.getCommand is null

I had to keep clicking on the “New Terminal” button and try to read the message 
since the screen goes black then clears and stays empty grey.

Nothing shows up on the command line terminal or the IDE Log showing this error.



> On Nov 12, 2021, at 3:34 PM, Tim Mullé  wrote:
> 
> Hi,
> 
> Just found something interesting when running Netbeans on my new M1 Mac 
> (Silicon) Monterey 12.0.1 with JDK 11 or JDK17 where
> the “Open in Terminal” option under the Tools menu opens a blank terminal.
> 
> This didn’t happen on Big Sur x86_64 with either JDK..
> 
> Plus, I don’t seem to get any errors in the IDE LOG.
> 
> 


-
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



NetBeans 12.6 Java parsing error - "that.type" NullPointerException

2021-12-06 Thread Tim Mullé
Hi,

Just installed 12.6 running with JDK17 on M1 Mac opening existing Maven 
applications and noticed this error:

I think I’ve seen this with 12.5 and JDk17 as well.. anyone else see the same?

Thanks,
- TIm


java.lang.NullPointerException: Cannot invoke 
"com.sun.tools.javac.code.Type.hasTag(com.sun.tools.javac.code.TypeTag)" 
because "that.type" is null
at 
com.sun.tools.javac.comp.Check$Validator.visitTypeIdent(Check.java:1554)
at 
com.sun.tools.javac.tree.JCTree$JCPrimitiveTypeTree.accept(JCTree.java:2678)
at 
com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1573)
at com.sun.tools.javac.comp.Check.validate(Check.java:1444)
at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1336)
at org.netbeans.lib.nbjavac.services.NBAttr.visitVarDef(NBAttr.java:83)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1042)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:684)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:765)
at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5733)
at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5616)
at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5443)
at com.sun.tools.javac.comp.Attr.attrib(Attr.java:5388)
at 
com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1409)
at 
com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:518)
at 
com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:669)
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:521)
[catch] at 
org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261)
at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5731)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5639)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1600(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5766)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5436)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5055)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3422)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6200)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4400(RepositoryUpdater.java:5851)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6116)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6112)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.call(RepositoryUpdater.java:6108)
at 

Blank Terminal window on M1 Mac with Netbeans 12.5

2021-11-12 Thread Tim Mullé
Hi,

Just found something interesting when running Netbeans on my new M1 Mac 
(Silicon) Monterey 12.0.1 with JDK 11 or JDK17 where
the “Open in Terminal” option under the Tools menu opens a blank terminal.

This didn’t happen on Big Sur x86_64 with either JDK..

Plus, I don’t seem to get any errors in the IDE LOG.



Re: JSON and XML editors - Find/Replace greyed out and Diff help - SUCCESS

2021-09-28 Thread Tim Mullé
I managed to get everything working, the textual diff generation, and the 
find/replace, minus the read only buffer portion..which is ok for now. I might 
just want to edit later anyway.

It took trial and error going through an Ant version of the project with the 
library picker and finding which libraries I needed to include in the Maven 
version.
One thing that’s cool about the library picker is it tells you “Such and such 
module requires… XYZ” and you can have it import it.

I also had to search through the Netbeans source code for some library 
references that were needed by other dependency libs so I could find which 
Maven dependencies to import.

I also had to exclude the JMS/JMX libraries which were needed by a LOG4J 
inclusion from one of the modules.

Anyway, if anyone is interested in the POM file for reference let me know and 
I’ll post it here or on a GitHub.

Thanks,
- Tim



> On Sep 28, 2021, at 7:16 AM, Tim Mullé  wrote:
> 
> Thanks for the idea. 
> 
> 1. How might I disable the saving of a file buffer?
> 
> 2. My find/replace actions aren’t enabled when I click into the json or xml 
> editors. I am trying to learn how to enable them. 
> 
> 3. Do you know anything about the textual diff tab I mentioned? It is empty 
> and only the graphical tabs seems to be working. 
> 
> Thanks. 
> 
> 
>> On Sep 27, 2021, at 7:41 PM, Mark A. Flacy  
>> wrote:
>> 
>> Greetings,
>> 
>> Consider disabling the ability to save a given file buffer;  the 
>> Find/Replace 
>> tools will find and replace things, but if you cannot save the result then 
>> that file buffer is essentially read-only.
>> 
>> -- 
>> Mark A. Flacy
>> mfl...@verizon.net
>> 
>>> On Monday, September 27, 2021 4:44:17 PM CDT Tim Mullé wrote:
>>> Hi,
>>> 
>>> I’ve managed to get the XML and JSON editors in my Maven netbeans platform
>>> and they appear to be working properly, except the Find/Replace options.
>>> 
>>> Those menu options and keyboard shortcuts are disabled.
>>> 
>>> I think I’ve included all the editor files and action jars for the XML and
>>> JSON editors but am still missing something.
>>> 
>>> Does anyone know what libraries I need to turn those features on?
>>> 
>>> Also, is there a way to make the editors READ-ONLY but still keep the
>>> Find/Replace functionality? I know the replace doesn’t make sense but
>>> essentially I just want to reuse what NetBeans gives us and just use the
>>> editors a file viewers and get the line numbers, highlighting, and folding
>>> support, etc.
>>> 
>>> Also, I also have the Diff feature working so I can see the Diffs between
>>> files..thanks to the NetBeans support brought in from the Diff apis.
>>> 
>>> But, my Textual tab isn’t being populated..only the Graphical.
>>> 
>>> When I look at the Diff feature in the real IDE I see both tabs working..so
>>> I am missing something.
>>> 
>>> Any ideas how to get the Textual Diff tab to populate?
>>> 
>>> Thanks..
>>> - Tim
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>>> For additional commands, e-mail: users-h...@netbeans.apache.org
>>> 
>>> For further information about the NetBeans mailing lists, visit:
>>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 
>> 
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>> 


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

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



Re: JSON and XML editors - Find/Replace greyed out and Diff help

2021-09-28 Thread Tim Mullé
Thanks for the idea. 

1. How might I disable the saving of a file buffer?

2. My find/replace actions aren’t enabled when I click into the json or xml 
editors. I am trying to learn how to enable them. 

3. Do you know anything about the textual diff tab I mentioned? It is empty and 
only the graphical tabs seems to be working. 

Thanks. 


> On Sep 27, 2021, at 7:41 PM, Mark A. Flacy  wrote:
> 
> Greetings,
> 
> Consider disabling the ability to save a given file buffer;  the Find/Replace 
> tools will find and replace things, but if you cannot save the result then 
> that file buffer is essentially read-only.
> 
> -- 
> Mark A. Flacy
> mfl...@verizon.net
> 
>> On Monday, September 27, 2021 4:44:17 PM CDT Tim Mullé wrote:
>> Hi,
>> 
>> I’ve managed to get the XML and JSON editors in my Maven netbeans platform
>> and they appear to be working properly, except the Find/Replace options.
>> 
>> Those menu options and keyboard shortcuts are disabled.
>> 
>> I think I’ve included all the editor files and action jars for the XML and
>> JSON editors but am still missing something.
>> 
>> Does anyone know what libraries I need to turn those features on?
>> 
>> Also, is there a way to make the editors READ-ONLY but still keep the
>> Find/Replace functionality? I know the replace doesn’t make sense but
>> essentially I just want to reuse what NetBeans gives us and just use the
>> editors a file viewers and get the line numbers, highlighting, and folding
>> support, etc.
>> 
>> Also, I also have the Diff feature working so I can see the Diffs between
>> files..thanks to the NetBeans support brought in from the Diff apis.
>> 
>> But, my Textual tab isn’t being populated..only the Graphical.
>> 
>> When I look at the Diff feature in the real IDE I see both tabs working..so
>> I am missing something.
>> 
>> Any ideas how to get the Textual Diff tab to populate?
>> 
>> Thanks..
>> - Tim
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: users-h...@netbeans.apache.org
>> 
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 

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

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



JSON and XML editors - Find/Replace greyed out and Diff help

2021-09-27 Thread Tim Mullé
Hi,

I’ve managed to get the XML and JSON editors in my Maven netbeans platform and 
they appear to be working properly, except the Find/Replace options.

Those menu options and keyboard shortcuts are disabled.

I think I’ve included all the editor files and action jars for the XML and JSON 
editors but am still missing something.

Does anyone know what libraries I need to turn those features on?

Also, is there a way to make the editors READ-ONLY but still keep the 
Find/Replace functionality? I know the replace doesn’t make sense
but essentially I just want to reuse what NetBeans gives us and just use the 
editors a file viewers and get the line numbers, highlighting, and folding 
support, etc.

Also, I also have the Diff feature working so I can see the Diffs between 
files..thanks to the NetBeans support brought in from the Diff apis.

But, my Textual tab isn’t being populated..only the Graphical.

When I look at the Diff feature in the real IDE I see both tabs working..so I 
am missing something.

Any ideas how to get the Textual Diff tab to populate?

Thanks..
- Tim


-
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: Help with Maven platform application libraries

2021-09-26 Thread Tim Mullé
More progress and I think I figured out why I had to install modules into my 
own local .m2

I’m using a “settings.xml" file from work that is mirroring all maven central 
libraries.

We are using version 3.33.1-01 and it looks like it doesn’t support 
“downloadable remote indexing” so Netbeans wasn’t seeing the libraries.

The IDE is giving me an error:

org.apache.maven.wagon.ResourceDoesNotExistException: Resource missing at 
https://nexus.mycompany.com/content/groups/public/.index/nexus-maven-repository-index.properties
 404 .index/nexus-maven-repository-index.properties
java.io.FileNotFoundException: Resource nexus-maven-repository-index.properties 
does not exist

So, the IDE isn’t updating it’s indexes.

I saw this post and even a comment from Jesse Glick about his surprise and 
saying Netbeans Maven won’t be able to work properly.

https://stackoverflow.com/questions/41467162/how-to-download-remote-index-in-nexus-oss-3-2
 
<https://stackoverflow.com/questions/41467162/how-to-download-remote-index-in-nexus-oss-3-2>


Hope this helps others..

- Tim



> On Sep 25, 2021, at 4:52 PM, Tim Mullé  wrote:
> 
> I made some progress..I started over following the following links and now 
> have an application that recognizes my custom project.
> 
> https://dzone.com/articles/how-create-maven-nb-project-type 
> <https://dzone.com/articles/how-create-maven-nb-project-type>
> https://netbeans.apache.org/tutorials/nbm-projecttype.html 
> <https://netbeans.apache.org/tutorials/nbm-projecttype.html>
> 
> I did have to manually add a jar file to my local repo in order to get it to 
> work however. 
> Just following the instructions as is didn’t work because I got the error:
> 
>> Some tokens required by included modules are not provided by included 
>> modules. The application will fail starting up. The missing tokens are:
>>org.netbeans.spi.project.ProjectManagerImplementation  ref: 
>> [org.netbeans.modules.projectapi]
> 
> Turns out that I needed to install the ‘org-netbeans-modules-projectapi-nb’ 
> jar into my local repo.
> This module provides the implementation of ProjectManagerImplementation that 
> was missing.
> 
> I did: 
> 
> > mvn install:install-file -Dfile=org-netbeans-modules-projectapi-nb.jar 
> > -DgroupId=org.netbeans.modules 
> > -DartifactId=org-netbeans-modules-projectapi-nb -Dversion=
> RELEASE125 -Dpackaging=jar
> 
> I found this jar by looking at a working Ant based platform build I did and 
> seeing which modules it included and noticed the *-nb version wasn’t 
> available in Maven central..so I had
> to manually add it.
> 
> Once I did that and added it to my POM.xml it all compiled and ran.
> 
> Here is a new repo showing my code: 
> https://github.com/tmulle/NBTextAnalyzer.git 
> <https://github.com/tmulle/NBTextAnalyzer.git>
> 
> So, the next thing to do is to see if I can get the JSON module working…
> 
> - Tim
> 
> 
>> On Sep 25, 2021, at 11:29 AM, Tim Mullé > <mailto:tmu...@gmail.com>> wrote:
>> 
>> Hi,
>> 
>> I’m trying to make a simple Maven based Platform test application that uses 
>> initially:
>> 
>> - Project API - (so I can have custom project types, wizards, etc)
>> - JSON editor (so I can view, edit, JSON files)
>> 
>> and I’m getting the following strange errors. I’m guessing because I’m not 
>> including
>> all the correct modules?
>> 
>> I’m finding it difficult to know which modules to include using Maven based 
>> development
>> versus the Ant which have the nice library picker UI.
>> 
>> I’m getting a compile error and I’m not sure how to figure out what the 
>> correct modules I need.
>> 
>> Some tokens required by included modules are not provided by included 
>> modules. The application will fail starting up. The missing tokens are:
>>org.netbeans.spi.project.ProjectManagerImplementation  ref: 
>> [org.netbeans.modules.projectapi]
>>org.netbeans.modules.parsing.impl.indexing.implspi.ActiveDocumentProvider 
>>  ref: [org.netbeans.modules.parsing.indexing]
>> 
>> I find myself trying to randomly pick which modules I think would satisfy 
>> the module dependencies and adding them to my POM
>> but I’m not doing very well.
>> 
>> I’ve also found a lot of times when I get the error saying something is not 
>> a friend of … and then I found online that I have to create 
>> a module.xml file and then add some entries to fix this, and it requires me 
>> to then look at each modules MANIFEST.MF that I’m trying
>> to be a friend with and add that to my module.xml file. Seems very 
>> tedious..unless I’m missing something much easier.
>> 
>> Here is the link to my test code: 
>> https://github.com/tmulle/MavenNBTestApplication 
>> <https://github.com/tmulle/MavenNBTestApplication>
>> 
>> Any help would be appreciated.. 
> 



Re: Help with Maven platform application libraries

2021-09-25 Thread Tim Mullé
I made some progress..I started over following the following links and now have 
an application that recognizes my custom project.

https://dzone.com/articles/how-create-maven-nb-project-type 
<https://dzone.com/articles/how-create-maven-nb-project-type>
https://netbeans.apache.org/tutorials/nbm-projecttype.html 
<https://netbeans.apache.org/tutorials/nbm-projecttype.html>

I did have to manually add a jar file to my local repo in order to get it to 
work however. 
Just following the instructions as is didn’t work because I got the error:

> Some tokens required by included modules are not provided by included 
> modules. The application will fail starting up. The missing tokens are:
>org.netbeans.spi.project.ProjectManagerImplementation  ref: 
> [org.netbeans.modules.projectapi]

Turns out that I needed to install the ‘org-netbeans-modules-projectapi-nb’ jar 
into my local repo.
This module provides the implementation of ProjectManagerImplementation that 
was missing.

I did: 

> mvn install:install-file -Dfile=org-netbeans-modules-projectapi-nb.jar 
> -DgroupId=org.netbeans.modules 
> -DartifactId=org-netbeans-modules-projectapi-nb -Dversion=
RELEASE125 -Dpackaging=jar

I found this jar by looking at a working Ant based platform build I did and 
seeing which modules it included and noticed the *-nb version wasn’t available 
in Maven central..so I had
to manually add it.

Once I did that and added it to my POM.xml it all compiled and ran.

Here is a new repo showing my code: 
https://github.com/tmulle/NBTextAnalyzer.git 
<https://github.com/tmulle/NBTextAnalyzer.git>

So, the next thing to do is to see if I can get the JSON module working…

- Tim


> On Sep 25, 2021, at 11:29 AM, Tim Mullé  wrote:
> 
> Hi,
> 
> I’m trying to make a simple Maven based Platform test application that uses 
> initially:
> 
> - Project API - (so I can have custom project types, wizards, etc)
> - JSON editor (so I can view, edit, JSON files)
> 
> and I’m getting the following strange errors. I’m guessing because I’m not 
> including
> all the correct modules?
> 
> I’m finding it difficult to know which modules to include using Maven based 
> development
> versus the Ant which have the nice library picker UI.
> 
> I’m getting a compile error and I’m not sure how to figure out what the 
> correct modules I need.
> 
> Some tokens required by included modules are not provided by included 
> modules. The application will fail starting up. The missing tokens are:
>org.netbeans.spi.project.ProjectManagerImplementation  ref: 
> [org.netbeans.modules.projectapi]
>org.netbeans.modules.parsing.impl.indexing.implspi.ActiveDocumentProvider  
> ref: [org.netbeans.modules.parsing.indexing]
> 
> I find myself trying to randomly pick which modules I think would satisfy the 
> module dependencies and adding them to my POM
> but I’m not doing very well.
> 
> I’ve also found a lot of times when I get the error saying something is not a 
> friend of … and then I found online that I have to create 
> a module.xml file and then add some entries to fix this, and it requires me 
> to then look at each modules MANIFEST.MF that I’m trying
> to be a friend with and add that to my module.xml file. Seems very 
> tedious..unless I’m missing something much easier.
> 
> Here is the link to my test code: 
> https://github.com/tmulle/MavenNBTestApplication 
> <https://github.com/tmulle/MavenNBTestApplication>
> 
> Any help would be appreciated.. 



Help with Maven platform application libraries

2021-09-25 Thread Tim Mullé
Hi,

I’m trying to make a simple Maven based Platform test application that uses 
initially:

- Project API - (so I can have custom project types, wizards, etc)
- JSON editor (so I can view, edit, JSON files)

and I’m getting the following strange errors. I’m guessing because I’m not 
including
all the correct modules?

I’m finding it difficult to know which modules to include using Maven based 
development
versus the Ant which have the nice library picker UI.

I’m getting a compile error and I’m not sure how to figure out what the correct 
modules I need.

Some tokens required by included modules are not provided by included modules. 
The application will fail starting up. The missing tokens are:
   org.netbeans.spi.project.ProjectManagerImplementation  ref: 
[org.netbeans.modules.projectapi]
   org.netbeans.modules.parsing.impl.indexing.implspi.ActiveDocumentProvider
  ref: [org.netbeans.modules.parsing.indexing]

I find myself trying to randomly pick which modules I think would satisfy the 
module dependencies and adding them to my POM
but I’m not doing very well.

I’ve also found a lot of times when I get the error saying something is not a 
friend of … and then I found online that I have to create 
a module.xml file and then add some entries to fix this, and it requires me to 
then look at each modules MANIFEST.MF that I’m trying
to be a friend with and add that to my module.xml file. Seems very 
tedious..unless I’m missing something much easier.

Here is the link to my test code: 
https://github.com/tmulle/MavenNBTestApplication 


Any help would be appreciated.. 

12.5 - IDE error on startup parsing existing Maven

2021-09-23 Thread Tim Mullé
I just started using 12.5 with JDK17 and actually was trying JDK16 and I 
noticed an error in the Notifications area when the IDE starts up and it parses 
an existing
multi-module Maven project.

Let me know if I should report it in JIRA. I didn’t see any existing bug.

Thanks,
- Tim


java.lang.NullPointerException: Cannot invoke 
"com.sun.tools.javac.code.Type.hasTag(com.sun.tools.javac.code.TypeTag)" 
because "that.type" is null
at 
com.sun.tools.javac.comp.Check$Validator.visitTypeIdent(Check.java:1532)
at 
com.sun.tools.javac.tree.JCTree$JCPrimitiveTypeTree.accept(JCTree.java:2499)
at 
com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1551)
at com.sun.tools.javac.comp.Check.validate(Check.java:1422)
at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1333)
at org.netbeans.lib.nbjavac.services.NBAttr.visitVarDef(NBAttr.java:83)
at 
com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:998)
at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:681)
at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:762)
at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:5585)
at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5468)
at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:5302)
at com.sun.tools.javac.comp.Attr.attrib(Attr.java:5247)
at 
com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1436)
at 
com.sun.tools.javac.api.JavacTaskImpl$1.process(JavacTaskImpl.java:518)
at 
com.sun.tools.javac.api.JavacTaskImpl$Filter.run(JavacTaskImpl.java:669)
at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:521)
[catch] at 
org.netbeans.modules.java.source.nbjavac.indexing.MultiPassCompileWorker.compile(MultiPassCompileWorker.java:261)
at 
org.netbeans.modules.java.source.indexing.JavaCustomIndexer.index(JavaCustomIndexer.java:361)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.java:138)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:275)
at 
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2750)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5716)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork$4.call(RepositoryUpdater.java:5624)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2123)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runInContext(RepositoryUpdater.java:2104)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.access$1500(RepositoryUpdater.java:136)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSource(RepositoryUpdater.java:5751)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.scanSources(RepositoryUpdater.java:5421)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:5040)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$InitialRootsWork.getDone(RepositoryUpdater.java:5823)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:3422)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:6185)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4300(RepositoryUpdater.java:5836)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2$1.run(RepositoryUpdater.java:6101)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 
org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:83)
at 

Maven and NetBeans Platform Dependency Help

2021-09-20 Thread Tim Mullé
Hi,

I thought I’d try to explore how to make a Netbeans Platform Application using 
Maven. 

Normally, I use the Ant based version because I love the way the dependency 
management for the Netbeans libs are handled with the nice GUI
and things just “seem to work”. And I like the search feature if I don’t know 
which module a class is in, typically after a few keyword tries it finds
the correct package/module.

The only thing I wish is that Ant had an easy way to work like Maven in terms 
of handling dependency management for external 3rd party libraries.
I think there is Ivy for Ant but I don’t know much about it or if it would help 
when creating Wrapper Libraries.

Anyway, I’m finding the Maven approach to be very difficult to manage 
libraries, in terms of trying to find which modules I need to add to my pom.xml.

With the Ant version we get the nice GUI for choosing which clusters/modules to 
include and it figures out the netbeans module dependencies, etc. 

When trying to use the ‘User Utilities’ support as mentioned in this article: 
https://blogs.oracle.com/geertjan/open-file-dialog-in-the-netbeans-platform 


When I add these dependencies to my pom.xml

org.netbeans.modules
org-netbeans-modules-utilities
${netbeans.version}


org.netbeans.modules
org-netbeans-modules-utilities-project
${netbeans.version}


I’m getting the following error:
Failed to execute goal 
org.apache.netbeans.utilities:nbm-maven-plugin:4.3:manifest (default-manifest) 
on project SomeNBApplication-ZIPSupport: Module has friend dependency on 
org.netbeans.modules.utilities but is not listed as a friend. -> [Help 1]

I see in the article it even mentions the `friend` issue, but not how to fix it 
in a Maven based approach only the Ant way.

Is it possible to handle these situations? If so, how?

Is there a list somewhere of netbeans modules/clusters and which Maven 
artifacts they relate to for easy reference?


Thanks,
- Tim



Re: Source code for article on Zip Features?

2021-09-13 Thread Tim Mullé
Thanks, but unfortunately the code wasn’t found. I even checked the root of 
https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/
 
<https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/>
 and didn’t see any “OpenZip” folder

> On Sep 12, 2021, at 2:16 PM, Sean Carrick  wrote:
> 
> Tim,
> 
> For java.net <http://java.net/> references, you can try the Wayback Machine 
> at archive.org/web <http://archive.org/web> and paste in the java.net 
> <http://java.net/> URL in the search box. Sometimes, you get lucky and can 
> get to the source code from back then…
> 
> -SC
> 
> On Fri, Sep 3, 2021, 2:47 PM Geertjan Wielenga 
>  wrote:
> 
> Just a reality check for you: you are referring to a blog entry written in 
> June 2013, which is give and take almost 10 years ago. All of java.net 
> <http://java.net/>, which you’re pointing to, no longer exists, for many 
> years. So, you can only be asking whether I have code locally on my laptop, 
> where laptops tend to be replaced every two to three years or so... etc. So, 
> no.
> 
> Gj
> 
> On Fri, 3 Sep 2021 at 21:43, Tim Mullé  <mailto:tmu...@gmail.com>> wrote:
> Hi Geertjan,
> 
> I came across your article: 
> https://blogs.oracle.com/geertjan/integrating-zip-features-in-a-netbeans-platform-application
>  
> <https://blogs.oracle.com/geertjan/integrating-zip-features-in-a-netbeans-platform-application>
> and was wondering if you have the source code mention available anywhere.
> 
> The link in the article no longer works and I’d like to do something similar 
> in my application I’m thinking about in the future.
> 
> https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/OpenZIP
>  
> <https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/OpenZIP>
> 
> Thanks,
> - Tim
> 



NetBeans 12.4 says 12.5 is available?

2021-09-13 Thread Tim Mullé
Hi,

Just started up my 12.4 and got a notice saying 12.5 is available and when I 
clicked on the link it brought me to the 12.4 download page.

Just letting you know.. not sure why it popped up.



Ant project not using project specific JDK

2021-09-11 Thread Tim Mullé
Hi,

I’ve sent an email previously about this and just wondering if there are any 
suggestions when running 12.4

I have an existing project (VisualVM) I downloaded from GitHub and am trying to 
build the project in 12.4.

It is an Ant project, and I am running my 12.4 IDE with JDK11.

VisualVM doesn’t build with JDK11 with the following error:

"visualvm/visualvm/uisupport/src/org/graalvm/visualvm/uisupport/ProfilerTabbedPane.java:52:
 error: package sun.swing does not exist
import sun.swing.SwingUtilities2;”

I know the instructions say to build via the command line, however, I want to 
build and run VisualVM within NetBeans 12.4 so I can debug 
the application and use the tools to learn how the application is built.

I tried setting the Project JDK to JDK1.8 but when I use the “Build” option on 
the project it still uses the JDK (11) that NetBeans is running on.

I found this ticket from years ago saying at first it was invalid but then it 
looked like there was a workaround..but nothing since.

It is confusing that we can pick the JDK for the project properties and it 
isn’t honored during the build or run phases.

https://bz.apache.org/netbeans/show_bug.cgi?id=151078 


Any ideas how I can specify the JDK for Ant projects without having to change 
the JDK that I run NetBeans itself on?

Thanks,
- Tim



JavaHelp in Netbeans Platform 12.x - Revisited

2021-09-07 Thread Tim Mullé
Hi,

I know Java Help has been removed from Apache NetBeans due to licensing and I 
think this has been asked before, but I was wondering if there is still a way 
to make it work if I somehow can manually add the proper jars? Maybe as a 
plugin?

I still see the option for the “Java Help Set” in the New File Type wizard when 
developing Platform Applications.

When I select this option and it creates the template files, the application 
fails to run with the error:

"java.lang.NoClassDefFoundError: com/sun/java/help/search/Indexer”

I know most everyone has moved to online help these days and that’s fine. 
However, we have some customers that are in internet limited areas and having 
onboard help documentation is beneficial if needed.

I thought I've seen mention of JavaHelp being forked or something and being 
used in other projects? I might be wrong..

If there isn’t a way to get Java Help working, then is there a way to:

1. Either disable to remove the Help buttons from the dialogs (it would be 
confusing to end users to click a non-functioning Help button and they’d file 
bug reports)
2. Hook up the help buttons so we can provide Online help links to 
documentation online? and possibly still retain the context sensitivity?

Thanks,
- Tim



-
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



Source code for article on Zip Features?

2021-09-03 Thread Tim Mullé
Hi Geertjan,

I came across your article: 
https://blogs.oracle.com/geertjan/integrating-zip-features-in-a-netbeans-platform-application
 

and was wondering if you have the source code mention available anywhere.

The link in the article no longer works and I’d like to do something similar in 
my application I’m thinking about in the future.

https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/OpenZIP
 


Thanks,
- Tim



Re: Does Netbeans have this IntelliJ Log feature?

2021-08-28 Thread Tim Mullé
Thanks for the info!

Yes, I will be working on that now, seems like a fun project for myself and 
others.

Couple of questions:

I’m following this: 
https://netbeans.apache.org/tutorials/nbm-projectextension.html

1. If I want to add a customizer to the Java Maven and Ant projects which 
project types would I put in my customizer?
I’m assuming "org-netbeans-modules-java-j2seproject” would cover ALL Java 
project type? Ant and Maven?

2. Once I make my UI for the log settings in my customizer, where should I save 
the configuration values so that when
I use the Run/Debug option in Netbeans I can read the values and open the tabs 
to contain the logging?

3. How do I hook into the Run/Debug action so that I can read my logging 
settings and then open one or more output
Tabs? Sort of like when the Output window appears to show the program output






> On Aug 27, 2021, at 4:45 PM, Laszlo Kishalmi  
> wrote:
> 
> Well, we had a plugin for something like that ages ago, that might went even 
> deeper than that for log4j as far as I remember.
> 
> Writing one would be an interesting task for a beginner. Go for it!
> 
> It would be good to add a new module to the ide cluster.
> 
> I'd do that in the following order:
> 
> Create a TopComponent for the log files
> Use hard coded files to test your workflows
> Create a Project Customizer, and register that for an existing project type.
> Test
> Register your project customizer to other project types
> Test
> Contribute a PR
> 
> 
> On 8/27/21 1:03 PM, Tim Mullé wrote:
>> Hi,
>> 
>> I use a feature in IntelliJ at work when running applications from the IDE 
>> that allows me to view one or more log files
>> In separate tabs when the program starts up.
>> 
>> I was wondering if Netbeans has this kind of support or is there a plugin 
>> already to support this kind of action?
>> 
>> If not, I was thinking of taking a shot at writing one since I do like using 
>> Netbeans and it would be a fun and useful way to expand the IDE.
>> 
>> I’m guessing it would be an extension of the Java project or editor to add a 
>> new configuration option in the project settings dialog?
>> I saw something in the New Project wizard tutorial on how to add customizers 
>> for Projects so I think that might be where it should go..still learning.
>> 
>> 
>> I know I can always tail the logs in the terminal, but that’s no fun :)
>> 
>> I’d like a new tab to open up and stream the log file(s) just like IDEA does.
>> 
>> You can configure it in the configuration settings in IntelliJ on a per 
>> project basis:
>> 
>> Here is the description how to use it: 
>> https://www.jetbrains.com/help/idea/2021.2/setting-log-options.html 
>> <https://www.jetbrains.com/help/idea/2021.2/setting-log-options.html>
>> 
>> 
>> 
>> Thanks,
>> - Tim
>> 



Does Netbeans have this IntelliJ Log feature?

2021-08-27 Thread Tim Mullé
Hi,

I use a feature in IntelliJ at work when running applications from the IDE that 
allows me to view one or more log files
In separate tabs when the program starts up.

I was wondering if Netbeans has this kind of support or is there a plugin 
already to support this kind of action?

If not, I was thinking of taking a shot at writing one since I do like using 
Netbeans and it would be a fun and useful way to expand the IDE.

I’m guessing it would be an extension of the Java project or editor to add a 
new configuration option in the project settings dialog?
I saw something in the New Project wizard tutorial on how to add customizers 
for Projects so I think that might be where it should go..still learning.


I know I can always tail the logs in the terminal, but that’s no fun :)

I’d like a new tab to open up and stream the log file(s) just like IDEA does.

You can configure it in the configuration settings in IntelliJ on a per project 
basis:

Here is the description how to use it: 
https://www.jetbrains.com/help/idea/2021.2/setting-log-options.html



Thanks,
- Tim



Re: Add Flat Look and Feel to older Netbeans Platform applications

2021-08-26 Thread Tim Mullé
Update:

In my existing project, looks like I have to enable “RCP Platform” under the 
‘platform’ bundle and then after a clean and build the new LF’s showed up.

I also tried a brand-new Ant based Netbeans Platform Application from the New 
Project Wizard and noticed that option is NOT selected by default

It seems strange that this option is not selected by default since we are 
building an RCP application. Once I selected that option an rebuilt, the new 
LF’s showed up in the test application as well.

Does this sound right?



> On Aug 26, 2021, at 11:32 AM, Tim Mullé  wrote:
> 
> Hi,
> 
> I have an older pre-12.4 Netbeans Platform application that I’d like to add 
> all the new Look and Feels to it (Light, Dark, Flat, etc).
> 
> It’s an Ant based project that I reopened in 12.4 and even 12.5 Beta 2 and 
> recompiled it thinking the new looks would be available automatically, but 
> were not.
> 
> I have the Look and Feel libraries selected in my main Platform Application 
> Libraries under the “platform” section. I also have both the “Light” LF’s 
> selected as well, but I still only get the original 4.
> 
> I just tried to create a brand new Ant based Platform application test 
> project and simply run it and still nothing..
> 
> However, if I create a brand new Maven based project and set the 
> “netbeans.version” tag to RELEASE124 and build and run it, then I get all the 
> new look and feels
> 
> Any ideas?
> 
> Thanks,
> - Tim
> 


-
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



Add Flat Look and Feel to older Netbeans Platform applications

2021-08-26 Thread Tim Mullé
Hi,

I have an older pre-12.4 Netbeans Platform application that I’d like to add all 
the new Look and Feels to it (Light, Dark, Flat, etc).

It’s an Ant based project that I reopened in 12.4 and even 12.5 Beta 2 and 
recompiled it thinking the new looks would be available automatically, but were 
not.

I have the Look and Feel libraries selected in my main Platform Application 
Libraries under the “platform” section. I also have both the “Light” LF’s 
selected as well, but I still only get the original 4.

I just tried to create a brand new Ant based Platform application test project 
and simply run it and still nothing..

However, if I create a brand new Maven based project and set the 
“netbeans.version” tag to RELEASE124 and build and run it, then I get all the 
new look and feels

Any ideas?

Thanks,
- Tim


-
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: FlatLaf - File Dialogs missing resource text in details view

2021-08-23 Thread Tim Mullé
Great thanks..


> On Aug 23, 2021, at 3:40 PM, Neil C Smith  wrote:
> 
> On Mon, 23 Aug 2021 at 20:13, Tim Mullé  wrote:
>> Just noticed that in 12.4 in either of the Flat Laf (light or dark) that the 
>> column headers in the file dialogs are missing when in details view.
>> 
>> Looks like the values aren’t in the resource bundles if I have to guess.
>> 
>> Hopefully, you can see the screenshot below. This was from the import dialog 
>> in the Preferences panel, but I’ve seen it elsewhere.
>> 
>> Let me know if I should open a ticket on the netbeans site.
> 
> Thanks for the report, TIm.  However, this has already been addressed
> in upcoming NetBeans 12.5 -
> 
> https://issues.apache.org/jira/browse/NETBEANS-5865
> https://github.com/apache/netbeans/pull/3087
> 
> Best wishes,
> 
> Neil


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

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



FlatLaf - File Dialogs missing resource text in details view

2021-08-23 Thread Tim Mullé
Hi,

Just noticed that in 12.4 in either of the Flat Laf (light or dark) that the 
column headers in the file dialogs are missing when in details view.

Looks like the values aren’t in the resource bundles if I have to guess.


Hopefully, you can see the screenshot below. This was from the import dialog in 
the Preferences panel, but I’ve seen it elsewhere.

Let me know if I should open a ticket on the netbeans site.

Thanks,
- Tim




Official NetBeans Plugin new site?

2021-08-06 Thread Tim Mullé
Hi,

Sorry if this has been answered before but where has the official Netbeans 
Plugin site been relocated to?

I was looking for a Markdown editor for Netbeans and it mentioned 
“plugins.netbeans.org/plugin "
But it’s not longer working.

This was the original article that I was reading: 
https://ourcodeworld.com/articles/read/717/how-to-add-support-for-markdown-in-netbeans
 



I’ve enabled the older plugins list in Netbeans settings but that doesn’t seem 
to contain nearly as many as the old site used to.

Thanks,
- Tim



Netbeans Ant builds ignoring project JDK preference

2021-07-26 Thread Tim Mullé
Hi,

I think I’m seeing a bug? In Netbeans 12.4 when building with Ant.

It appears that when I build a Netbeans project with Ant it is using the JDK 
that Netbeans is currently running on rather than what JDK the project 
properties specify.

I found this because of a previous email to the group about an issue with 
trying to build a project inside the IDE with Ant vs the command line.

Can anyone else verify?

Thanks,
- Tim


-
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



Failing to compile VisualVM source inside of Netbeans 12.4

2021-07-20 Thread Tim Mullé
Hi,

Not sure if this is the correct place, but I’m having an error trying to 
compile the VisualVM source code inside of
NetBeans 12.4.

The project itself is a Netbeans platform application and it builds just fine 
from the command line outside of NetBeans.

But, I would like to compile it inside of Netbeans and run it so I can learn 
how it works by using the debugger, build plugins, etc.

There seems to be an issue with Ant or some difference between compiling on the 
raw command line vs using NetBeans “Clean and Build” option.
I can’t figure it out, the build is failing saying there is a missing class, 
however, inside of Netbeans the source file has the correct import and it sees 
it just fine.

I’m building the project with JDK8 and followed the instructions at: 
https://github.com/oracle/visualvm 

I posted here because the error only happens when compiling inside of NB 
12.4..and I couldn’t find any ANT settings that might be causing the issue.
As far as I can tell the build is running the JDK8 I specified and just doing a 
“clean build” which I can successfully do from the raw command line with no
errors.

Error that I’m getting
---
/Users/tmulle/junk/visualvm/visualvm/uisupport/src/org/graalvm/visualvm/uisupport/ProfilerTabbedPane.java:52:
 error: package sun.swing does not exist
import sun.swing.SwingUtilities2;
1 error
/Users/tmulle/junk/visualvm/visualvm/netbeans/harness/suite.xml:163: The 
following error occurred while executing this line:
/Users/tmulle/junk/visualvm/visualvm/netbeans/harness/common.xml:207: Compile 
failed; see the compiler error output for details.

Any Ideas?

Thanks,
- Tim

Error with JavaCC Tutorial

2021-07-16 Thread Tim Mullé
Hi,

I’m trying to complete this tutorial with 12.4 and ran into an issue..actually 
2 but this I can’t seem to figure out.


https://netbeans.apache.org/tutorials/nbm-javacc-lexer.html 
 and 
https://netbeans.apache.org/tutorials/nbm-javacc-parser.html 



When I run the module I see the colors work fine and I can type bad code and 
see the errors in the gutter, etc

However, there seems to be an issue when trying to parse/lex multi-line 
comments.

For example..

This is the sample text in my *.sj file from the tutorial

/**
 * This is a comment
 */
public class SimpleJavaExample {

// Another comment
@Deprecated public String method (int param) {
return "SimpleString " + '-' + 1.2;
}// line comment

/** 
 * Trying again
 */
public static void main(String[] args) {
System.out.println("Hello World");
}
}


On initial loading of the file when starting the module, everything parses and 
renders just fine.
However, if I try to type a multi-line javadoc comment I keep getting the error 
below in the console.

The coloring of the text stops working and sometimes will work if I close the 
multi-line comment.

If I save my changes and reopen the file in the editor the coloring is correct 
including the new comments I added.

I keep getting the error below with different line numbers depending on where 
I’m writing the multi-line comment.

   org.simplejava.jccparser.TokenMgrError: Lexical error at line 26, column 
0.  Encountered:  after : ""
at 
org.simplejava.jccparser.JavaParserTokenManager.getNextToken(JavaParserTokenManager.java:2048)
at org.simplejava.jccparser.JavaParser.jj_ntk(JavaParser.java:8369)
at 
org.simplejava.jccparser.JavaParser.ClassOrInterfaceBody(JavaParser.java:641)
at 
org.simplejava.jccparser.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:412)
at 
org.simplejava.jccparser.JavaParser.TypeDeclaration(JavaParser.java:351)
at 
org.simplejava.jccparser.JavaParser.CompilationUnit(JavaParser.java:170)
at org.simplejava.jccparser.SJParser.parse(SJParser.java:43)
at 
org.netbeans.modules.parsing.impl.TaskProcessor.callParse(TaskProcessor.java:598)
at 
org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:228)
at 
org.netbeans.modules.parsing.api.ResultIterator.getParserResult(ResultIterator.java:115)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(RepositoryUpdater.java:3171)
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.parsing.impl.indexing.RepositoryUpdater$Work.indexEmbedding(RepositoryUpdater.java:3143)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(RepositoryUpdater.java:2862)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$800(RepositoryUpdater.java:2154)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2636)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$1.run(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(TaskCache.java:540)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(RepositoryUpdater.java:2634)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3300)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.call(RepositoryUpdater.java:3255)
at 
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$4.run(RepositoryUpdater.java:2127)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
at 

Re: Working with ETable (TableView) and Quickfilter

2021-07-03 Thread Tim Mullé
Hi Eric,

Yes, our current application remembers whatever filter was applied to the main 
table and when the application restarts and the table is populated, the filter 
is automatically applied.

So, we store this filter to a file on disk and we read that back on startup.

I don’t see a way using the built in QuickFilters to get the values of the 
filter and what type it is (Equals, GreaterThan, etc). Those are instances of 
the QuickFilter interface in the ETable.
I am just returned an Object when I use the “getQuickFilter” method. 

I think I’ll just end up writing my own QuickFilters and this way I can track 
the values I need and then save those values out when the TopComponent is 
persisted and read back.

At least, that’s what it looks like I need to do..



> On Jul 3, 2021, at 7:51 AM, Eric Bresie  wrote:
> 
> And/or setModel help?by persist do you mean save to to a file, to db, or 
> apply to the tabl?
> 
> Does the setQuickFilter options ( 
> http://bits.netbeans.org/dev/javadoc/org-netbeans-swing-outline/org/netbeans/swing/etable/ETable.html#setQuickFilter-int-java.lang.Object-
>  
> <http://bits.netbeans.org/dev/javadoc/org-netbeans-swing-outline/org/netbeans/swing/etable/ETable.html#setQuickFilter-int-java.lang.Object->)
> 
> Eric Bresie
> ebre...@gmail.com
> 
>> On July 2, 2021 at 2:29:36 PM CDT, Tim Mullé  wrote:
>> Hi, 
>> 
>> I’m looking at maybe using the built in Explorer TableView (ETable) instead 
>> of our customized JTable component we currently have in our Swing 
>> Application. 
>> 
>> I’m am evaluating the TableView component and seeing if it is worth using 
>> that component in the new NetBeans Platform application I’m going to migrate 
>> our 
>> current application to. 
>> 
>> I have a few questions: 
>> 
>> 1. How can I persist any quick filter objects that are set on the ETable? I 
>> am using "Object quickFilterObject = tv.getTable().getQuickFilterObject();” 
>> but that 
>> Just returns an Object and not like “EqualsQuickFilter” which is in the 
>> TableView. There are no ways for me to also get the type or value of the 
>> filter. I’m guessing 
>> That I’ll have to provide my own interface popup and store off our filters 
>> we want?  
>> 
>> The reason I ask is in our current application we reapply any filters on the 
>> table on application startup once the data is populated in the table. 



Re: Working with ETable (TableView) and Quickfilter

2021-07-02 Thread Tim Mullé
Hi Geertjan,

Any reason why you recommend that approach? Is TableView deprecated in favor of 
OutlineView? I’m using Netbeans 12.4 for my Platform development.

OutlineView 
(http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/OutlineView.html
 
<http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/OutlineView.html>)
TableView 
(http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/TableView.html
 
<http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/TableView.html>)

If I use OutlineView I still have the questions I posted in my original email. 
Do you have any ideas how to accomplish them?

- Tim


> On Jul 2, 2021, at 4:54 PM, Geertjan Wielenga 
>  wrote:
> 
> Recommend to use OutlineView instead.
> 
> Gn
> 
> On Fri, 2 Jul 2021 at 22:44, Gheorghe TUDOSE  <mailto:tudo@gmail.com>> wrote:
> Oh my... I have no idea about that one but now that you provided the link I 
> hope you don't mind me throwing some 2 cents. There's been 6-7 years since I 
> last touched Swing tables.
> Seems like the TableView is backed by a NodeTableModel. That one is a 
> subclass of Swing's AbstractTableModel.
> For a dynamic table structure, I guess you need to call 
> NodeTableModel.setProperties when you add/remove/change columns; I'm not sure 
> you can use that on an already initialized table and whether or not it calls 
> all the appropriate listeners (for example whether or not it calls 
> AbstractTableModel.fireTableStructureChanged and if it does what happens with 
> the selection & scroll).
> Or subclass the AbstractTableModel and fire the appropriate events as needed 
> when the structure changes.
> Enough yapping, I'm sure you and others here are much more qualified.
> 
> George T.
> 
> În vin., 2 iul. 2021 la 23:19, Tim Mullé  <mailto:tmu...@gmail.com>> a scris:
> 
> Hi George,
> 
> Actually, I’m trying to use a regular NetBeans Explorer TableView.. not the 
> JavaFX tableview. 
> http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/TableView.html
>  
> <http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/TableView.html>
> 
> I also see some examples use OutlineView and remove the Node (first column).. 
> but I think TableView is what is more closer to our current JTable 
> implementation.
> 
> - Tim
> 
>> On Jul 2, 2021, at 4:04 PM, Gheorghe TUDOSE > <mailto:tudo@gmail.com>> wrote:
>> 
>> For the second point, the TableView "where we can create new columns with 
>> expressions behind it where it calculates values to display in the table" - 
>> I take it it's a JavaFX TableView.
>> If that is the case, I personally wrap each object corresponding to a table 
>> row into a JavaFX-specific class (a ViewModel if you like) that keeps a 
>> Map.
>> The JavaFX ViewModel has some registerProperty(String propertyName, Class 
>> valueClass) method that makes the appropriate property and puts it into the 
>> above-mentioned map.
>> HTH
>> 
>> George Tudose
> 



Re: Working with ETable (TableView) and Quickfilter

2021-07-02 Thread Tim Mullé

Hi George,

Actually, I’m trying to use a regular NetBeans Explorer TableView.. not the 
JavaFX tableview. 
http://bits.netbeans.org/dev/javadoc/org-openide-explorer/org/openide/explorer/view/TableView.html
 


I also see some examples use OutlineView and remove the Node (first column).. 
but I think TableView is what is more closer to our current JTable 
implementation.

- Tim

> On Jul 2, 2021, at 4:04 PM, Gheorghe TUDOSE  wrote:
> 
> For the second point, the TableView "where we can create new columns with 
> expressions behind it where it calculates values to display in the table" - I 
> take it it's a JavaFX TableView.
> If that is the case, I personally wrap each object corresponding to a table 
> row into a JavaFX-specific class (a ViewModel if you like) that keeps a 
> Map.
> The JavaFX ViewModel has some registerProperty(String propertyName, Class 
> valueClass) method that makes the appropriate property and puts it into the 
> above-mentioned map.
> HTH
> 
> George Tudose



Working with ETable (TableView) and Quickfilter

2021-07-02 Thread Tim Mullé
Hi,

I’m looking at maybe using the built in Explorer TableView (ETable) instead of 
our customized JTable component we currently have in our Swing Application.

I’m am evaluating the TableView component and seeing if it is worth using that 
component in the new NetBeans Platform application I’m going to migrate our
current application to.

I have a few questions:

1. How can I persist any quick filter objects that are set on the ETable? I am 
using "Object quickFilterObject = tv.getTable().getQuickFilterObject();” but 
that
Just returns an Object and not like “EqualsQuickFilter” which is in the 
TableView. There are no ways for me to also get the type or value of the 
filter. I’m guessing
That I’ll have to provide my own interface popup and store off our filters we 
want? 

The reason I ask is in our current application we reapply any filters on the 
table on application startup once the data is populated in the table.


2. How can I manually add/remove custom columns from the TableView? I see the 
built-in popup menu that shows all the current columns and lets me
Show/hide them. But we have functionality in our application where we can 
create new columns with expressions behind it where it calculates values to 
display in the table.
So, they are simple BeanInfo property values like normal table columns. Is this 
possible?

3. To go along with number 2, is it possible to persist and reapply those 
column settings on startup of my TopComponents? I see the read/write properties 
methods but
I’m not sure how to read and apply the settings from the saved values.

4. My TopComponents with the ETables will not be Singletons..does this matter 
when saving the settings per TopComponent? Do I have to add some sort of ID to 
tell the
Components apart in the saved settings? Or does each TopComponent know which 
settings belong to it?


I think that’s it for now.

Thanks!
- Tim


-
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: JDK11 - WARNING: Illegal reflective access by org.openide.util.RequestProcessor

2021-06-23 Thread Tim Mullé
Thanks Neil.. using those options stopped that particular warning.. I will have 
to weed out which ones we don’t need but on my testing our app started up and 
we no longer get that error.

However, I am now seeing this in our logs.

WARNING: No interface org.openide.util.spi.SVGLoader instance found in 
ProxyLookup(class=class 
org.openide.util.Lookup$DefLookup)->[MetaInfServicesLookup[jdk.internal.loader.ClassLoaders$AppClassLoader@

INFO: No SVG loader available for loading jar:file:/!/org/netbeans/swing/etable/columns.svg

Thanks again!


> On Jun 23, 2021, at 1:28 PM, Neil C Smith  wrote:
> 
> On Wed, 23 Jun 2021 at 18:21, Tim Mullé  wrote:
>> We recently switched our application to run in JDK11 and we are seeing this 
>> warning in our logs.
>> I tried updating to the latest 124 maven reference but that didn’t seem to 
>> help.
> 
> You might want to look at which of the add-opens / add-exports you
> need to copy into your conf file from
> https://github.com/apache/netbeans/blob/master/nb/ide.launcher/netbeans.conf#L66
> 
> Best wishes,
> 
> Neil


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

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



JDK11 - WARNING: Illegal reflective access by org.openide.util.RequestProcessor

2021-06-23 Thread Tim Mullé
Hi,

We recently switched our application to run in JDK11 and we are seeing this 
warning in our logs.
I tried updating to the latest 124 maven reference but that didn’t seem to help.

I looked in the GitHub code base for any reported issues but didn’t see to find 
any for this issue.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.openide.util.RequestProcessor$TopLevelThreadGroup .. to method 
sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of 
org.openide.util.RequestProcessor$TopLevelThreadGroup
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release

Thanks,
- Tim



-
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: AsciiDoc rendering issue on Netbeans Platform Tutorial

2021-03-12 Thread Tim Mullé
Oh great! Thanks..will look forward to seeing the update.

- Tim


> On Mar 12, 2021, at 10:51 AM, Andrew Janke  wrote:
> 
> (Resending from my correct email address to fix a bounce for the
> original email.)
> 
> On 3/12/21 10:49 AM, Andrew Janke wrote:
>> Yup. Bad (not missing) end marker for a fenced code block. Here's a PR
>> to fix it:
>> 
>> https://github.com/apache/netbeans-website/pull/541
>> 
>> Cheers,
>> Andrew
>> 
>> On 3/12/21 10:30 AM, Tim Mullé wrote:
>>> Hi,
>>> 
>>> I was just going through this
>>> tutorial: 
>>> https://github.com/apache/netbeans-website/blob/master/netbeans.apache.org/src/content/tutorials/nbm-nodesapi2.asciidoc
>>> <https://github.com/apache/netbeans-website/blob/master/netbeans.apache.org/src/content/tutorials/nbm-nodesapi2.asciidoc>
>>> 
>>> And noticed that in the middle of the “Actions and Nodes” section the
>>> rendering of AsciiDoc breaks from that point on. Looks like a missing
>>> end marker??
>>> 
>>> If this is something I can fix, please let me know how.. otherwise
>>> I’ll just bring it to your attention
>>> 
>>> Thanks,
>>> - Tim
>>>  
> 


-
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



AsciiDoc rendering issue on Netbeans Platform Tutorial

2021-03-12 Thread Tim Mullé
Hi,

I was just going through this tutorial: 
https://github.com/apache/netbeans-website/blob/master/netbeans.apache.org/src/content/tutorials/nbm-nodesapi2.asciidoc
 


And noticed that in the middle of the “Actions and Nodes” section the rendering 
of AsciiDoc breaks from that point on. Looks like a missing end marker??

If this is something I can fix, please let me know how.. otherwise I’ll just 
bring it to your attention

Thanks,
- Tim
 

Filtering Netbeans Outline component (not OutlineView)

2020-04-01 Thread Tim Mullé
Hi,

Quick question.. does anyone have an example of how to filter Hierarchical data 
displayed in the Outline component? 
I am using the code from 
https://jnkjava.wordpress.com/2015/02/01/recipe-14-how-to-add-a-quick-filter/ 


The example above only is filtering a TaskNode which is just a Java object with 
fields at one level.

Our data we are building up a tree structure and have multi-levels displayed in 
a true TreeTable format.

I’m not using the OutlineView component but rather the Outline/ETable 
components in a legacy Swing App that was built and we’d like to add filtering 
and only display rows (Nodes) that match the filter value.

Hope this makes sense,
Thanks,
- Tim



Re: Best strategy to solve JavaHelp issue

2020-03-17 Thread Tim Mullé
Hi,

Is there documentation somewhere that says JavaHelp is not available? I don’t 
see any mention of JavaHelp missing in 11.x on this link: 
https://netbeans.apache.org/wiki/DevFaqHelpGuidelines.asciidoc 



The reason I ask is that in 11.3 I can happily create a ‘Java Help Set’ for my 
module and the wizard creates all the necessary files and module..leading me to 
believe everything is ok.

However, when I try to build the module I get the following exception when 
building using NetBeans 11.3 with OpenJDK 11.


An annotation processor threw an uncaught exception.
Consult the following stack trace for details.
java.lang.NoClassDefFoundError: com/sun/java/help/search/Indexer
at 
org.netbeans.modules.javahelp.HelpSetRegistrationProcessor.handleProcess(HelpSetRegistrationProcessor.java:142)
at 
org.openide.filesystems.annotations.LayerGeneratingProcessor.process(LayerGeneratingProcessor.java:104)
at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:980)
at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:896)
at 
com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1222)
at 
com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1334)
at 
com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1258)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:936)
at com.sun.tools.javac.main.Main.compile(Main.java:311)
at com.sun.tools.javac.main.Main.compile(Main.java:170)
at com.sun.tools.javac.Main.compile(Main.java:57)
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:566)
at 
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:57)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1404)
at org.netbeans.nbbuild.CustomJavac.compile(CustomJavac.java:102)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:1133)
at org.netbeans.nbbuild.CustomJavac.execute(CustomJavac.java:83)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at jdk.internal.reflect.GeneratedMethodAccessor118.invoke(Unknown 
Source)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261)
at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574)
at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
Caused by: java.lang.ClassNotFoundException: com.sun.java.help.search.Indexer
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 35 more


Thanks,
- Tim

> On Mar 17, 2020, at 2:32 AM, Geertjan Wielenga  wrote:
> 
> 
> JavaHelp is GPL licensed and has not been donated by Oracle to Apache, so had 
> to be excluded from Apache NetBeans GitHub. So far I don’t think anyone has 
> figured out how it can be reincluded in a NetBeans Platform app, if you 
> manage to do it, would be great if you’d share your findings.
> 
> Gj
> 
> On Tue, 17 Mar 2020 at 05:49, Ernie Rael  > wrote:
> On 3/11/2020 9:58 AM, Jean-Claude Dauphin wrote:
> >
> >
> > My application is a modules suite and non commercial.
> > I know that JavaHelp is not part of Apache NetBeans but what would be 
> > the best strategy to solve that issue
> 
> I've been wondering about this myself.
> 
> Maybe an integrated JavaFX web browser?
> 
> There must have been some thought discussion about this in