Docker not found in IDE Terminal

2020-07-09 Thread Code Zombie
Hi

I have Docker Desktop installed, but when I try to run it from the IDE's
terminal, I get 'docker not found'. What should I do?
I can run docker in the standalone Mac terminal, but cannot run it in the
IDE.

Best regards
- Mehdi


Re: Cannot build netbeans from the master on Fedora 31

2020-03-17 Thread Code Zombie
Thanks Peter and Emmanuel

Switch ant to ant 1.10.1 and Java to 1.8 both using sdkman, and built
successfully.


On Tue, Mar 17, 2020 at 5:17 AM ehsavoie 
wrote:

> I confirm Pater's comment. You have to use a downloaded version of ANT on
> Fedora to be able to build Apache NetBeans.
> I had the same issue and this fixed it.
> Emmanuel
> --
> Emmanuel Hugonnet
> http://www.ehsavoie.com
> http://twitter.com/ehsavoie
>
>
> On Tue, Mar 17, 2020 at 8:08 AM Peter Hull  wrote:
>
> > I think there is something unusual about Fedora's ant, which I have
> > not got to the bottom of. See, for example,
> > https://issues.apache.org/jira/browse/NETBEANS-239
> > Can you try downloading ant from Apache and using that, instead of the
> > one from your distro. https://ant.apache.org/bindownload.cgi
> > I have build netbeans this way fairly recently (in the last month) and
> > it was ok.
> > Pete
> >
> > On Tue, 17 Mar 2020 at 06:34, Code Zombie 
> wrote:
> > >
> > > Hi Geertjan
> > >
> > > Ant version:
> > >
> > > Apache Ant(TM) version 1.10.5 compiled on May 7 2019
> > >
> > > Errors:
> > >
> > > : The following error occurred while executing this line:
> > > /home/johndoe/src/netbeans/nbbuild/build/langtools/make/build.xml:91:
> > > java.lang.ClassNotFoundException:
> > > org.apache.bsf.engines.javascript.JavaScriptEngine
> > > at
> > >
> >
> java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
> > > at
> > >
> >
> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> > > at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> > > at org.apache.bsf.BSFManager.loadScriptingEngine(BSFManager.java:696)
> > > at org.apache.bsf.BSFManager.exec(BSFManager.java:485)
> > > at
> > >
> >
> org.apache.tools.ant.util.optional.ScriptRunner.executeScript(ScriptRunner.java:100)
> > > at
> > >
> >
> org.apache.tools.ant.types.optional.AbstractScriptComponent.executeScript(AbstractScriptComponent.java:142)
> > > at
> > >
> >
> org.apache.tools.ant.types.optional.ScriptMapper.mapFileName(ScriptMapper.java:85)
> > > at
> > >
> >
> org.apache.tools.ant.util.CompositeMapper.lambda$mapFileName$0(CompositeMapper.java:32)
> > > at
> > >
> >
> java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
> > > at
> > >
> >
> java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
> > > at
> > >
> >
> java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
> > > at
> > >
> >
> java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
> > > at
> > >
> >
> java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
> > > at
> > >
> >
> java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
> > > at
> > >
> >
> java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
> > > at
> > >
> >
> java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
> > > at
> > >
> >
> org.apache.tools.ant.util.CompositeMapper.mapFileName(CompositeMapper.java:33)
> > > at
> > org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
> > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> > > at jdk.internal.reflect.GeneratedMethodAccessor4.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.helper.ProjectHelper2.parse(ProjectHelper2.java:184)
> > > at
> > >
> >
> org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
> > > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:393)
> > > at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> > > at jdk.internal.reflect.

Re: Cannot build netbeans from the master on Fedora 31

2020-03-17 Thread Code Zombie
Hi Geertjan

Ant version:

Apache Ant(TM) version 1.10.5 compiled on May 7 2019

Errors:

: The following error occurred while executing this line:
/home/johndoe/src/netbeans/nbbuild/build/langtools/make/build.xml:91:
java.lang.ClassNotFoundException:
org.apache.bsf.engines.javascript.JavaScriptEngine
at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at org.apache.bsf.BSFManager.loadScriptingEngine(BSFManager.java:696)
at org.apache.bsf.BSFManager.exec(BSFManager.java:485)
at
org.apache.tools.ant.util.optional.ScriptRunner.executeScript(ScriptRunner.java:100)
at
org.apache.tools.ant.types.optional.AbstractScriptComponent.executeScript(AbstractScriptComponent.java:142)
at
org.apache.tools.ant.types.optional.ScriptMapper.mapFileName(ScriptMapper.java:85)
at
org.apache.tools.ant.util.CompositeMapper.lambda$mapFileName$0(CompositeMapper.java:32)
at
java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at
java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at
java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
at
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at
java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:550)
at
java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
at
java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:517)
at
org.apache.tools.ant.util.CompositeMapper.mapFileName(CompositeMapper.java:33)
at org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at jdk.internal.reflect.GeneratedMethodAccessor4.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.helper.ProjectHelper2.parse(ProjectHelper2.java:184)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:393)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at jdk.internal.reflect.GeneratedMethodAccessor4.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.Main.runBuild(Main.java:834)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

Total time: 11 seconds

And then the mentioned build.xml file contains at line 91:



fs = project.getProperty("file.separator");
path = project.getProperty("build.modules");
mod = source.substr(source.lastIndexOf(fs)+1);
self.addMappedName(mod + "=\"" + path + fs + mod + "\"");












On Tue, Mar 17, 2020 at 2:29 AM Geertjan Wielenga 
wrote:

> In what way is it failing, what are the error messages? Often the problem
> is related to the Ant version used.
>
> Gj
>
> On Tue, 17 Mar 2020 at 07:22, Code Zombie  wrote:
>
> > I am trying to build NetBeans following its README.md on Fedora 31 and
> > despite my efforts, I have failed.
> > I tried building with Java 8 and Java 11. I tried Dcluster.config=full
> and
> > Dcluster.config=php with no success.
> >
> > Is there anything I should setup to build it. Also, I don't see any build
> > log files to attach here. It seems everything is XML-based.
> >
> > Formerly I had success building it easily, but now it's become tricky.
> >
> > - mehdi
> >
>


Cannot build netbeans from the master on Fedora 31

2020-03-17 Thread Code Zombie
I am trying to build NetBeans following its README.md on Fedora 31 and
despite my efforts, I have failed.
I tried building with Java 8 and Java 11. I tried Dcluster.config=full and
Dcluster.config=php with no success.

Is there anything I should setup to build it. Also, I don't see any build
log files to attach here. It seems everything is XML-based.

Formerly I had success building it easily, but now it's become tricky.

- mehdi


Re: [VOTE] Release Apache NetBeans 11.2 Linux Installer

2019-10-28 Thread Code Zombie
Btw,  does Apache Netbeans ever support in place self-update like PhpStorm?


On Tue, Oct 29, 2019, 12:34 AM Laszlo Kishalmi 
wrote:

>
> On 10/28/19 1:26 PM, Code Zombie wrote:
> > +1
> >
> > The installer worked fine and I installed it in my home directory.
> However,
> > it seems that the installer is not able to or expected to update the
> > previous version(?). So, after installing, there are two versions on my
> > Linux: 11.1 and 11.2.
> >
> > - Mehdi
> That is the expected behavior.
> >
> > On Fri, Oct 25, 2019 at 11:47 AM  wrote:
> >
> >> Hi,
> >>
> >> Artifacts are available here:
> >>
> >> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1
> >>
> >> Built using Jenkins job:
> >>
> >>
> https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-installers/
> >>
> >> Primary voting artifact:
> >>
> >>
> >>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1/Apache-NetBeans-11.2-bin-linux-x64.sh
> >>
> >> SHA512:
> >>
> >>
> a02206dc569ef00c2e08ecb799604a0cae21d9204894e9432a51ff89981266d097a6f5d0b7c3c90be663cfced5ead7f37f7fe286a2a0e1569c972178a89c3f9e
> >>
> >> Apache-NetBeans-11.2-bin-linux-x64.sh
> >>
> >> KEYS file:
> >>
> >> https://dist.apache.org/repos/dist/release/netbeans/KEYS
> >>
> >> Installer build steps:
> >>
> >>
> https://cwiki.apache.org/confluence/display/NETBEANS/Installer+Build+Steps
> >>
> >> Please check that the artifact functions correctly and has been
> >> correctly signed by a PMC member.
> >>
> >> This vote is going to be open at least 72 hours, vote with +1, 0, and -1
> >> as usual. Please mark your vote with (binding) if you're an Apache
> >> NetBeans PMC member.
> >>
> >> Apache NetBeans 11.2 Linux Installer will be released if and when this
> >> vote passes.
> >>
> >>
> >> Thanks,
> >>
> >> Reema
> >>
> >>
> >>
> >>
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> >> For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [VOTE] Release Apache NetBeans 11.2 macOS Installer

2019-10-28 Thread Code Zombie
+1

Installed and started without problem.
A small note on installation. You should drag the pkg file outside the
mounted dmg first and then right click and select open  to allow running on
macOS.



On Fri, Oct 25, 2019 at 11:56 AM  wrote:

> Hi
>
> Artifacts are available here:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1
>
> Built locally from release112 branch using JDK 1.8 on macOS 10.13.6:
>
> Primary voting artifact:
>
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1/Apache-NetBeans-11.2-bin-macosx.dmg
>
> SHA512:
>
> 7cde2e5ff1fe2125ff0446b1cd663172eb64db4d852b6cbc265ce33b0eb2ce30b4f4bb632ce8860ce1a16c2127858f45391518b6e8fcfe32ea534d32f24769f8
>
> Apache-NetBeans-11.2-bin-macosx.dmg
>
> KEYS file:
>
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> Installer build steps:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Installer+Build+Steps
>
> Please check that the artifact functions correctly and has been
> correctly signed by a PMC member.
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and -1
> as usual.
>
> Please mark your vote with (binding) if you're an Apache NetBeans PMC
> member.
>
> Apache NetBeans 11.2 macOS Installer will be released if and when this
> vote passes.
>
>
> Thanks,
>
> Reema
>
>
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [VOTE] Release Apache NetBeans 11.2 Windows Installer

2019-10-28 Thread Code Zombie
+1

It does not update the previous version, though. Is this the default
behavior in future versions as well?


On Sat, Oct 26, 2019 at 10:08 AM Heath Casey  wrote:

> +1
>


Re: [VOTE] Release Apache NetBeans 11.2 Linux Installer

2019-10-28 Thread Code Zombie
+1

The installer worked fine and I installed it in my home directory. However,
it seems that the installer is not able to or expected to update the
previous version(?). So, after installing, there are two versions on my
Linux: 11.1 and 11.2.

- Mehdi

On Fri, Oct 25, 2019 at 11:47 AM  wrote:

> Hi,
>
> Artifacts are available here:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1
>
> Built using Jenkins job:
>
> https://builds.apache.org/view/M-R/view/NetBeans/job/netbeans-installers/
>
> Primary voting artifact:
>
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1/Apache-NetBeans-11.2-bin-linux-x64.sh
>
> SHA512:
>
> a02206dc569ef00c2e08ecb799604a0cae21d9204894e9432a51ff89981266d097a6f5d0b7c3c90be663cfced5ead7f37f7fe286a2a0e1569c972178a89c3f9e
>
> Apache-NetBeans-11.2-bin-linux-x64.sh
>
> KEYS file:
>
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> Installer build steps:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Installer+Build+Steps
>
> Please check that the artifact functions correctly and has been
> correctly signed by a PMC member.
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and -1
> as usual. Please mark your vote with (binding) if you're an Apache
> NetBeans PMC member.
>
> Apache NetBeans 11.2 Linux Installer will be released if and when this
> vote passes.
>
>
> Thanks,
>
> Reema
>
>
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [VOTE] Release Apache NetBeans 11.2 macOS Installer

2019-10-28 Thread Code Zombie
I am not sure if holding the option key is necessary as macOS will warn you
anyway after selecting Open from the context menu.
- Mehdi

On Mon, Oct 28, 2019 at 3:20 PM Scott Palmer  wrote:

> So when you right-click the .pkg and hold Option when selecting “Open”
> from the context menu, it still doesn’t let you install even though it
> warns?
>
>
> Geertjan,  what do you mean by “Anything executed from command line will
> execute like normal” ?
>
> For the record opening the .pkg from the command line:
>
> open "/Volumes/Apache NetBeans 11.2/Apache NetBeans 11.2.pkg”
>
> still won’t allow you to continue.  The only way I am aware of is to know
> to use the context menu “Open” and hold option while selecting it.
>
> Many macOS users will not be aware of this option.  So at the very least
> these instructions should be on the download page.
>
>
> Scott
>
>
> > On Oct 28, 2019, at 2:53 PM, Carl Mosca  wrote:
> >
> > To be clear, I was/am not able to use the installer at all.  I have not
> > been able to get around the notarization issue.
> >
> > On Mon, Oct 28, 2019 at 2:51 PM Scott Palmer  wrote:
> >
> >> It actually requires special knowledge and steps to install on macOS
> 10.15
> >> without the notarization.
> >>
> >> By default there is no option to continue with the install.  You must
> know
> >> to open it while holding the Option key only then will there be an
> option
> >> to ignore the warning and continue.
> >>
> >> The notarizing process is supposed to be quick. I don’t have an Apple
> >> developer ID, so I don’t know for sure.
> >>
> >> Scott
> >>
> >>> On Oct 28, 2019, at 2:12 PM, Geertjan Wielenga 
> >> wrote:
> >>>
> >>> On Mon, Oct 28, 2019 at 6:56 PM Carl Mosca 
> >> wrote:
> >>>
>  Meaning the installer does not work if you have the latest/current
> >> release
>  of the OS running.
> 
> >>>
> >>> 'But you can ignore it. "Run anyway" so to speak. It's not that it
> blocks
> >>> you, it just warns you and makes it more steps to run potentially
> harmful
> >>> software. Anything executed from command line will execute like normal,
> >> and
> >>> I believe also if you alt-click and select open.'
> >>>
> >>>
> >>
> https://www.macrumors.com/2019/09/03/apple-macos-catalina-notarization-mac-apps/
> >>>
> >>> Gj
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [VOTE] Release Apache NetBeans 11.2 macOS Installer

2019-10-28 Thread Code Zombie
Actually download is slow and non-resumable which makes the voting process
harder.

-Mehdi

On Mon, Oct 28, 2019, 10:10 PM Neil C Smith  wrote:

> On Mon, 28 Oct 2019 at 18:38, Code Zombie  wrote:
> > The download speed for the artifacts is quite slow, never going beyond
> > 60kB/s. Is that expected or varies depending on region?
>
> Voting artefacts aren't on the mirrors so might be slow.
>
> Neil
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: [VOTE] Release Apache NetBeans 11.2 macOS Installer

2019-10-28 Thread Code Zombie
The download speed for the artifacts is quite slow, never going beyond
60kB/s. Is that expected or varies depending on region?

- Mehdi

On Fri, Oct 25, 2019 at 11:56 AM  wrote:

> Hi
>
> Artifacts are available here:
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1
>
> Built locally from release112 branch using JDK 1.8 on macOS 10.13.6:
>
> Primary voting artifact:
>
>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans/11.2-vc1/Apache-NetBeans-11.2-bin-macosx.dmg
>
> SHA512:
>
> 7cde2e5ff1fe2125ff0446b1cd663172eb64db4d852b6cbc265ce33b0eb2ce30b4f4bb632ce8860ce1a16c2127858f45391518b6e8fcfe32ea534d32f24769f8
>
> Apache-NetBeans-11.2-bin-macosx.dmg
>
> KEYS file:
>
> https://dist.apache.org/repos/dist/release/netbeans/KEYS
>
> Installer build steps:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Installer+Build+Steps
>
> Please check that the artifact functions correctly and has been
> correctly signed by a PMC member.
>
> This vote is going to be open at least 72 hours, vote with +1, 0, and -1
> as usual.
>
> Please mark your vote with (binding) if you're an Apache NetBeans PMC
> member.
>
> Apache NetBeans 11.2 macOS Installer will be released if and when this
> vote passes.
>
>
> Thanks,
>
> Reema
>
>
>
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>