Re: possibly naive question

2021-01-15 Thread Thomas Wolf
Hi Scott- thanks a bunch - that did it! I’m ashamed to admit that I didn’t really think to look inside the app package :-( tom On Jan 15, 2021 at 11:47:44 AM, Scott Palmer wrote: > Have you tried digging into the app bundle and using the same command a > given before: > > /Applications/NetBea

Re: possibly naive question

2021-01-15 Thread Scott Palmer
Have you tried digging into the app bundle and using the same command a given before: /Applications/NetBeans/Apache\ NetBeans\ 11.3.app/Contents/Resources/NetBeans/netbeans/bin/netbeans --open file1[:line1]... On Fri, Jan 15, 2021 at 9:41 AM Thomas Wolf wrote: > Hi again, > You wouldn’t happen

Re: possibly naive question

2021-01-15 Thread Thomas Wolf
Hi again, You wouldn’t happen to know how to do this on Mac, would you? I tried this: open -a /Applications/NetBeans/Apache\ NetBeans\ 11.3.app --args --open $PWD/try1.xml But this has two effects, depending on whether Netbeans is already running: if it is, Netbeans simply comes to the for

Re: possibly naive question

2021-01-14 Thread Marco Rossi
Hey, I was thinking about ARexx too!!! Love my Amiga :-D Marco > Il giorno 15 gen 2021, alle ore 03:47, Scott Palmer ha > scritto: > > I would, but I miss my Amiga with ARexx :-) > > https://en.wikipedia.org/wiki/ARexx >

Re: possibly naive question

2021-01-14 Thread Mark A. Flacy
Greetings, There is an important delta between "remote" and "external". There is rather large delta between "locally and by me" and "locally and not by me" as well. -- Mark A. Flacy mfl...@verizon.net On Thursday, January 14, 2021 9:56:46 PM CST Thomas Wolf wrote: > Hey, thanks Lazlo - will t

Re: possibly naive question

2021-01-14 Thread Laszlo Kishalmi
Yes. It uses the existing opened instance if it's running. On 1/14/21 7:56 PM, Thomas Wolf wrote: Hey, thanks Lazlo - will that use a currently running netbeans if it’s running? If so, this is good enough for me! Sorry for the poor wording - when I said “remote” I should have said “external”

Re: possibly naive question

2021-01-14 Thread Thomas Wolf
Hey, thanks Lazlo - will that use a currently running netbeans if it’s running? If so, this is good enough for me! Sorry for the poor wording - when I said “remote” I should have said “external” (like outside the netbeans process/jvm) Thanks a bunch! tom > On Jan 14, 2021, at 10:53 PM, Laszlo

Re: possibly naive question

2021-01-14 Thread Laszlo Kishalmi
I do not know what and how the "remote" part would work, but you can do from CLI: netbeans --open file1[:line1]... On 1/14/21 7:34 PM, Thomas Wolf wrote: I don’t know. But when I say “API”, I mean it in a loose sense: eg in many OS file types can associated with an application so that when

Re: possibly naive question

2021-01-14 Thread Thomas Wolf
I don’t know. But when I say “API”, I mean it in a loose sense: eg in many OS file types can associated with an application so that when you double-click on it, that file is opened. In some cases without another instance of the application getting started. The passing of the file name to the

Re: possibly naive question

2021-01-14 Thread Scott Palmer
I would, but I miss my Amiga with ARexx :-) https://en.wikipedia.org/wiki/ARexx Or AppleScript on macOS: “tell application ‘NetBeans’ open project ‘HelloWorld’” https://en.wikipedia.org/wiki/AppleScript Scriptable applications can be very powerful. I’m not sure REST is the right mechanism, but

Re: possibly naive question

2021-01-14 Thread Mark A. Flacy
Greetings, I must ask if there are other IDEs which do have such APIs enabled by default. I wouldn't want something like that to be available (by default) on *any* IDE that I use. -- Mark A. Flacy mfl...@verizon.net On Thursday, January 14, 2021 5:30:21 PM CST Thomas Wolf wrote: > Hi, > This

possibly naive question

2021-01-14 Thread Thomas Wolf
Hi, This might be a dumb question: does Netbeans have an external API (e.g. REST) that would allow a remote program to direct Netbeans to open a file at a given line number? I have a program that does some analysis on application source code and then needs to let the user edit some specific source