start a Docker container from Netbeans

2020-03-17 Thread Mauro Chi
Hi all.
I would run a  Docker container from netbeans
Please some of you can please explain me what signify the 2 option; :

-keep STDIN open even if not attached
- Allocate a pseudo TTY

into docker what signify this 2 options?

i know -it signify  interactive.
but when i have to check the 2 option or the first or the second?


tank you in advance
Mauro

-
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: Best strategy to solve JavaHelp issue

2020-03-17 Thread Jean-Claude Dauphin
Hi,

I am not sure it is the right way to do it but here is how I included
JavaHelp in my application suite to migrate it from NetBeans 8.2 to
NetBeans 11.3.

1)  Downloaded JavaHelp from https://github.com/javaee/javahelp/releases

2)  Unzipped the file

3)  Added the jhall.jar as a wrapped jar into the modules that use
JavaHelp

(from \javahelp-2.0_05\binary\javahelp-2_0_05\jh2.0\javahelp\lib folder)

4)   To avoid the error message “*You must set 'jhall.jar' (e.g. in
private.properties) to the location of jsearch.jar from a JavaHelp
distribution*” I checked the file issuing this error message



NetBeans-11.3\netbeans\harness\build.xml



  







You must set 'jhall.jar' (e.g. in
private.properties) to the location of jsearch.jar from a JavaHelp
distribution





….





Then I copied jsearch.jar into NetBeans-11.3\netbeans\harness\antlib and
renamed it jsearch-2.0_05.jar



I am pretty sure this is not the right method but it worked for me


Best wishes,

JCD



On Tue, Mar 17, 2020 at 2:25 PM Geertjan Wielenga 
wrote:

> JavaHelp is not included in Apache NetBeans GitHub because it is GPL
> licensed, which is against Apache policy, and therefore is also not part of
> Apache NetBeans, it never has been and never will be unless it is licensed,
> which seems unlikely to happen. It is something you'll need to add yourself
> somehow -- someone who figures out how should share that with this
> mailing list.
>
> Gj
>
> On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé  wrote:
>
>> 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.a

Re: Update from 11.1

2020-03-17 Thread Geertjan Wielenga
Yes, that has always been the case.

Gj

On Tue, 17 Mar 2020 at 17:15, Ulf Zibis  wrote:

> Hi,
>
> I have installed NB IDE 11.1.
> Now 11.3 is out, so I wonder why there are no Updates for 11.1.
>
> Should one always install a new entity?
>
> -Ulf
>
>
> -
> 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
>
>


Update from 11.1

2020-03-17 Thread Ulf Zibis

Hi,

I have installed NB IDE 11.1.
Now 11.3 is out, so I wonder why there are no Updates for 11.1.

Should one always install a new entity?

-Ulf


-
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



Where can I find an offline version of the nb-javac 2.1 plugin?

2020-03-17 Thread Jean-Marc Borer
Hello guys,

My eternal "behind corporate proxy" bites me again. Even though I request
"osuol" to be white listed, I cannot download the updated and fixed version
of nb-javac:

[image: image.png]

Where can I download the required plugins (api, impl, etc)?

Thank you in advance

JMB


Re: Best strategy to solve JavaHelp issue

2020-03-17 Thread Geertjan Wielenga
No, that avenue won’t be productive, its licensing is simply prohibitive to
Apache.

Gj

On Tue, 17 Mar 2020 at 15:20, Peter Hull  wrote:

> Jaroslav Tulach was asking a couple of years ago whether it was also
> licensed CDDL. What happened to this line of thinking?
> https://github.com/javaee/javahelp/issues/45
>
> On Tue, 17 Mar 2020 at 13:27, Geertjan Wielenga 
> wrote:
> >
> > Here's the related issues, one of the very first:
> https://issues.apache.org/jira/browse/NETBEANS-3
> >
> > Gj
> >
> > On Tue, Mar 17, 2020 at 2:24 PM Geertjan Wielenga 
> wrote:
> >>
> >> JavaHelp is not included in Apache NetBeans GitHub because it is GPL
> licensed, which is against Apache policy, and therefore is also not part of
> Apache NetBeans, it never has been and never will be unless it is licensed,
> which seems unlikely to happen. It is something you'll need to add yourself
> somehow -- someone who figures out how should share that with this mailing
> list.
> >>
> >> Gj
> >>
> >> On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé  wrote:
> >>>
> >>> 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.bas

Re: Best strategy to solve JavaHelp issue

2020-03-17 Thread Peter Hull
Jaroslav Tulach was asking a couple of years ago whether it was also
licensed CDDL. What happened to this line of thinking?
https://github.com/javaee/javahelp/issues/45

On Tue, 17 Mar 2020 at 13:27, Geertjan Wielenga  wrote:
>
> Here's the related issues, one of the very first: 
> https://issues.apache.org/jira/browse/NETBEANS-3
>
> Gj
>
> On Tue, Mar 17, 2020 at 2:24 PM Geertjan Wielenga  wrote:
>>
>> JavaHelp is not included in Apache NetBeans GitHub because it is GPL 
>> licensed, which is against Apache policy, and therefore is also not part of 
>> Apache NetBeans, it never has been and never will be unless it is licensed, 
>> which seems unlikely to happen. It is something you'll need to add yourself 
>> somehow -- someone who figures out how should share that with this mailing 
>> list.
>>
>> Gj
>>
>> On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé  wrote:
>>>
>>> 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, Geertja

Re: Best strategy to solve JavaHelp issue

2020-03-17 Thread Geertjan Wielenga
Here's the related issues, one of the very first:
https://issues.apache.org/jira/browse/NETBEANS-3

Gj

On Tue, Mar 17, 2020 at 2:24 PM Geertjan Wielenga 
wrote:

> JavaHelp is not included in Apache NetBeans GitHub because it is GPL
> licensed, which is against Apache policy, and therefore is also not part of
> Apache NetBeans, it never has been and never will be unless it is licensed,
> which seems unlikely to happen. It is something you'll need to add yourself
> somehow -- someone who figures out how should share that with this
> mailing list.
>
> Gj
>
> On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé  wrote:
>
>> 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 Ma

Re: Best strategy to solve JavaHelp issue

2020-03-17 Thread Geertjan Wielenga
JavaHelp is not included in Apache NetBeans GitHub because it is GPL
licensed, which is against Apache policy, and therefore is also not part of
Apache NetBeans, it never has been and never will be unless it is licensed,
which seems unlikely to happen. It is something you'll need to add yourself
somehow -- someone who figures out how should share that with this
mailing list.

Gj

On Tue, Mar 17, 2020 at 2:22 PM Tim Mullé  wrote:

> 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

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 t

Re: Best strategy to solve JavaHelp issue

2020-03-17 Thread Emilian Bold
> 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.

The simplest solution is to just compile your own Platform with the
javahelp module and go on your merry way.

--emi

On Tue, Mar 17, 2020 at 8: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 the NetBeans
>> team.
>>
>> What's the current thinking/plan?
>>
>> -ernie
>>
>>
>> >
>> > Thank you in advance for any advice on this issue
>> > Best regards,
>> > Jean-Claude
>> >
>> >
>> > --
>> > Jean-Claude Dauphin
>> >
>> > jc.daup...@gmail.com 
>> >
>> > https://github.com/J-ISIS
>> >
>> > http://www.greenstone.org
>>
>>
>>
>> -
>> 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