multiline search/replace

2022-01-21 Thread Michael Bien

https://github.com/apache/netbeans/pull/3489

https://github.com/apache/netbeans/issues/3487#issuecomment-1018985385

please test if this works for you

-mbien

On 20.01.22 19:55, Thomas Kellerer wrote:

Not sure if this is a bug or intended.

The "Find in Projects" now uses a multi-line input field for the 
search term ("Containing text").
Which has the effect that hitting ENTER inside that field, just 
creates a new line (even though the field is displayed as a single 
line) and does not start the search (as it used to be the previous 
version).


The "File name patterns" input behaves as before (ENTER closes the 
dialog and starts searching).


Regards
Thomas


Neil C Smith schrieb am 19.01.2022 um 18:55:

The first release candidate build for Apache NetBeans 13 is available
(links below).

Please help with testing, and file issues in GitHub .. yes, GitHub! ..
as necessary -

https://github.com/apache/netbeans/issues

If you're a committer adding an issue, or helping triage an issue
(please do!), add the milestone and/or priority labels as appropriate.
Use priority:high for should be fixed before release,
priority:critical for must be fixed before we can release.

**The following rules are applied to pull requests from now until 
release:**


PR's intended to be included in the 13 release :
  - Limited to fixes (no need for a ticket!)
  - Base on the delivery branch.
  - Mark with NB13 milestone (we'll monitor - no need to add us all as
reviewers!).
  - Will be merged by the release team.
  - Will be assessed against bug priorities - please use the
priority:high and priority:critical labels here too.

PR's with features for NB14 :
  - Base on the master branch.
  - Will be reviewed and merged in the usual way.
  - If possible stay away from big refactoring.
  - If possible do not overlap with fixes for 13 (delivery will be
merged to master weekly).




-
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: Frontend application (Dukescript) wizard broken in NB 13-rc1

2022-01-21 Thread Michael Bien

https://github.com/apache/netbeans/pull/3488

On 21.01.22 14:08, Michael Bien wrote:
sorry i must have overlooked that one. The wizzard probably has its 
own way of detecting nb-javac (magic?).


i did some more fulltext searching and this looks suspicious:
https://github.com/apache/netbeans/blob/master/ergonomics/ide.ergonomics/javafx.properties#L26-L27 

removing this might already fix it i suppose? No wonder i overlooked 
that one since i only removed actual code which detected nb-javac.


if anyone wants to give this a try feel free to do so, i probably have 
no time the next ~24h.


regards,
michael


On 21.01.22 13:12, Neil C Smith wrote:

Hi,

On Fri, 21 Jan 2022 at 07:54, Geertjan Wielenga
 wrote:
Wow, excellent, no dialogs or popups or nb-javac messages or 
messages about

JavaFX.

This gave me a thought.  You should still see the JavaFX message if
you try to create a Java Frontend Application project.  Now nb-javac
is included, the message appears, but the wizard seems not to work at
all.

If you manually install the JavaFX modules, then restart, it does.

Anyone interested in that wizard working might want to look at this! :-)

Best wishes,

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








-
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: [DISCUSSION] Improve process for changes to native binaries used by NetBeans

2022-01-21 Thread Eric Barboni
Hi,

 I have limited knowledge on the native and I'm more on the Windows side
For the native launcher windows it was simple because 
 Sources only for a specific OS and they were  buildable using a ubuntu linux 
box and we get the valid dll and .exe.

I see other archetype: 
 -  Swift source for  macos specific
 -  c++ or c sources for mutliple target os  
 - same as above with some java for jni

Is others archetypes present on the source?

Is it possible to build from a linux (ubuntu to be close to infra)  all of the 
archetype with maybe more complex setup, scripts, package ? In the aim to do a 
maven based release in one tag with for example all profiler lib not having to 
pick from several repository.

Best Regards
Eric

-Message d'origine-
De : Michael Bien  
Envoyé : jeudi 20 janvier 2022 22:30
À : dev@netbeans.apache.org; Matthias Bläsing 
Objet : Re: [DISCUSSION] Improve process for changes to native binaries used by 
NetBeans

On 20.01.22 20:14, Matthias Bläsing wrote:
> linux: aarch64, arm32 (hardfloat + softfloat),
>mips64 (little endian), ppc64 (little endian), ppc, riscv64,
>s390x, x86, x86-64:
>(Semi-) natively build in QEMU changeroots with an Ubuntu Host
>(Docker container) holding the various Debian distributions.

i have been doing something like this for other projects too. 
QEMU+podman+not-x86-64_image* running on x86-64. Works fairly reliable,
but is fairly slow in my experience (might become an issue for larger builds).

e.g thats also how I would test a container before deploying something to 
aarch64.

* https://github.com/multiarch/qemu-user-static

regards,

michael


-
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: "Java class libray" with maven (was: Re: [NOTICE] Apache NetBeans 13 release candidate 1 available for testing)

2022-01-21 Thread Neil C Smith
On Fri, 21 Jan 2022 at 16:34, Chuck Davis  wrote:
> I know there is a Maven template for an application but as you say that has
> a main class, etc.

I was about to say, "does it?", then realised I was running 12.6.  So
this has changed, by https://github.com/apache/netbeans/pull/3262 I
guess.  Maybe there is an argument we should have two templates in
future.

Thanks for taking this off the [NOTICE] thread btw - that was added
for a few people who complained they'd missed release info due to the
level of traffic on dev@ - would like to try and keep those threads
empty if possible.

Best wishes,

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: "Java class libray" with maven (was: Re: [NOTICE] Apache NetBeans 13 release candidate 1 available for testing)

2022-01-21 Thread Chuck Davis
Hi Matthias.  I'm just being a nerd.

I know there is a Maven template for an application but as you say that has
a main class, etc.  A library is just a collection of classes used by other
classes.  It's not difficult to delete the main class but why do Ant and
Gradle get a "class library" project but not Maven?  I know it's all
syntactic sugar as they say and I can certainly make a java class library
but seems like an inconsistency (or discrimination) that Ant and Gradle get
a project type but Maven does not

Thanks for your answer, nevertheless.

On Fri, Jan 21, 2022 at 7:41 AM Matthias Bläsing 
wrote:

> Hi Chuck,
>
> Am Freitag, dem 21.01.2022 um 06:46 -0800 schrieb Chuck Davis:
> > Am I the only one who wants to create a Java class library with
> > Maven?
> > I see it can be done with Ant or Gradle but not Mavenstill.
>
> what do you mean by "Java class library"? Do you mean a JAR?
>
> If you mean that, it is trivial:
>
> 1. Open "File" menu
> 2. Choose "New project"
> 3. Choose category "Java with Maven"
> 4. Choose "Java Application"
> 5. Enter the required info and click finished
> 6. You are done
>
> A java application is just a jar, that has a "mainclass" defined in the
> manifest and which is invoked when run as "java -jar ".
>
> Greetings
>
> Matthias
>
>
> -
> 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
>
>
>
>


"Java class libray" with maven (was: Re: [NOTICE] Apache NetBeans 13 release candidate 1 available for testing)

2022-01-21 Thread Matthias Bläsing
Hi Chuck,

Am Freitag, dem 21.01.2022 um 06:46 -0800 schrieb Chuck Davis:
> Am I the only one who wants to create a Java class library with
> Maven? 
> I see it can be done with Ant or Gradle but not Mavenstill.

what do you mean by "Java class library"? Do you mean a JAR?

If you mean that, it is trivial:

1. Open "File" menu
2. Choose "New project"
3. Choose category "Java with Maven"
4. Choose "Java Application"
5. Enter the required info and click finished
6. You are done

A java application is just a jar, that has a "mainclass" defined in the
manifest and which is invoked when run as "java -jar ".

Greetings

Matthias


-
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: [Java] missing hyperlink for solution project

2022-01-21 Thread antonio

AFAIK samples were not donated to the ASF.

You can retrieve them from the web archive, see [1] for instance.

Cheers,
Antonio


http://web.archive.org/web/20101218014131/http://netbeans.org/project_downloads/samples/Samples/JavaScript/MyAjaxApp.zip

On 21/01/2022 15:40, usersbbs wrote:

Hello,


I have found a really great article for me:
https://netbeans.apache.org/kb/docs/web/ajax-quickstart.html


However, the hyperlink for "download the solution project" is not working now.
https://netbeans.org/projects/samples/downloads/download/Samples%252FJavaScript%252FMyAjaxApp.zip


So can you help me on it.


Thanks.


-
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





[Java] missing hyperlink for solution project

2022-01-21 Thread usersbbs
Hello, 


I have found a really great article for me:
https://netbeans.apache.org/kb/docs/web/ajax-quickstart.html


However, the hyperlink for "download the solution project" is not working now.
https://netbeans.org/projects/samples/downloads/download/Samples%252FJavaScript%252FMyAjaxApp.zip


So can you help me on it.


Thanks.

Re: [NOTICE] Apache NetBeans 13 release candidate 1 available for testing

2022-01-21 Thread Geertjan Wielenga
Will never happen out of nowhere until you file an issue about this or,
better still, provide a pull request with a Maven archetype providing this.

https://github.com/apache/netbeans/issues

Gj

On Fri, Jan 21, 2022 at 3:47 PM Chuck Davis  wrote:

> Am I the only one who wants to create a Java class library with Maven?  I
> see it can be done with Ant or Gradle but not Mavenstill.
>
> My only experience with Gradle is with Android Studio and it (Studio with
> Gradle/Kotlin) is a disaster area.  I hope we're not headed that direction.
>
> On Fri, Jan 21, 2022 at 2:38 AM Carl Mosca  wrote:
>
> > Thank you for the reminder Gj.  Yes, very nice indeed!!
> >
> > Carl
> >
> > On Fri, Jan 21, 2022 at 2:55 AM Geertjan Wielenga
> >  wrote:
> >
> > > Wow, excellent, no dialogs or popups or nb-javac messages or messages
> > about
> > > JavaFX.
> > >
> > > I simply created my first project (OK, features needed to be enabled,
> > which
> > > makes sense).
> > >
> > > Great initial experience. Really great, big step forward in our
> > evolution.
> > >
> > > Please try it, all.
> > >
> > > Gj
> > >
> > > On Thu, Jan 20, 2022 at 8:01 PM Neil C Smith 
> > > wrote:
> > >
> > > > On Thu, 20 Jan 2022 at 18:55, Thomas Kellerer 
> wrote:
> > > > >
> > > > > Not sure if this is a bug or intended.
> > > > >
> > > > > The "Find in Projects" now uses a multi-line input field for the
> > search
> > > > term ("Containing text").
> > > > > Which has the effect that hitting ENTER inside that field, just
> > creates
> > > > a new line (even though the field is displayed as a single line) and
> > does
> > > > not start the search (as it used to be the previous version).
> > > > >
> > > >
> > > > Presumably this - https://github.com/apache/netbeans/pull/3393
> > > >
> > > > Please note the PS, and take the discussion off into a new thread,
> > > thanks!
> > > >
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> > Carl J. Mosca
> >
>


Re: [NOTICE] Apache NetBeans 13 release candidate 1 available for testing

2022-01-21 Thread Chuck Davis
Am I the only one who wants to create a Java class library with Maven?  I
see it can be done with Ant or Gradle but not Mavenstill.

My only experience with Gradle is with Android Studio and it (Studio with
Gradle/Kotlin) is a disaster area.  I hope we're not headed that direction.

On Fri, Jan 21, 2022 at 2:38 AM Carl Mosca  wrote:

> Thank you for the reminder Gj.  Yes, very nice indeed!!
>
> Carl
>
> On Fri, Jan 21, 2022 at 2:55 AM Geertjan Wielenga
>  wrote:
>
> > Wow, excellent, no dialogs or popups or nb-javac messages or messages
> about
> > JavaFX.
> >
> > I simply created my first project (OK, features needed to be enabled,
> which
> > makes sense).
> >
> > Great initial experience. Really great, big step forward in our
> evolution.
> >
> > Please try it, all.
> >
> > Gj
> >
> > On Thu, Jan 20, 2022 at 8:01 PM Neil C Smith 
> > wrote:
> >
> > > On Thu, 20 Jan 2022 at 18:55, Thomas Kellerer  wrote:
> > > >
> > > > Not sure if this is a bug or intended.
> > > >
> > > > The "Find in Projects" now uses a multi-line input field for the
> search
> > > term ("Containing text").
> > > > Which has the effect that hitting ENTER inside that field, just
> creates
> > > a new line (even though the field is displayed as a single line) and
> does
> > > not start the search (as it used to be the previous version).
> > > >
> > >
> > > Presumably this - https://github.com/apache/netbeans/pull/3393
> > >
> > > Please note the PS, and take the discussion off into a new thread,
> > thanks!
> > >
> > > 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
> > >
> > >
> > >
> > >
> >
>
>
> --
> Carl J. Mosca
>


Re: Frontend application (Dukescript) wizard broken in NB 13-rc1

2022-01-21 Thread Neil C Smith
On Fri, 21 Jan 2022 at 13:09, Michael Bien  wrote:
> sorry i must have overlooked that one. The wizzard probably has its own
> way of detecting nb-javac (magic?).

Not your fault.  And, yes, or as you've found, in ergonomics.

I have a bunch of things I test on each rc with a clean user dir to
check workflows for new users.  This one has always been problematic -
breaks a bunch of ways and leaves users with an empty wizard panel.
Mind you, also does funny things to Tools / Options sometimes.

On Fri, 21 Jan 2022 at 12:33, Geertjan Wielenga
 wrote:
> I'd disagree on the basis that we need to support and encourage innovation,
> however, yes, we then need to mitigate for the problems that ensue.

The best mitigation might be to rewrite the wizard panels in Swing
though!  I totally agree with supporting and encouraging innovation,
including HTML4J.  But if so many users' first impression is it
breaking things, I'm not sure that's the right way to achieve that.

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: How to get output of System.out.println() in NB Output view?

2022-01-21 Thread Patrik Karlström
IIRC System.err shows up when .out do not.

Den fre 21 jan. 2022 11:54Michael Bien  skrev:

> we are talking about different things :)
>
> the original post was about debugging with some System.out.println(). I
> don't think this is copied to the IDE log. You would only see it in the
> output (IDE output or shell) - assuming you don't run into the 32/64bit
> bug which was mentioned before and I didn't know about.
>
> proper loggers do of course land in the actual log as you said.
>
> -mbien
>
> On 21.01.22 11:40, antonio wrote:
> > I'm luck to see it in the Show/IDE Log then... :-)
> >
> > https://imgur.com/a/q0cHCuI
> >
> > Maybe you should try using INFO/SEVERE levels, though.
> >
> > Cheers,
> > Antonio
> >
> > On 20/01/2022 12:18, Michael Bien wrote:
> >> it won't show up in the log view, however, if you start the platform
> >> application or module with netbeans (e.g run project), it should be
> >> visible in the output window (of the IDE, not from the app).
> >>
> >> -mbien
> >
> > -
> > 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: Frontend application (Dukescript) wizard broken in NB 13-rc1

2022-01-21 Thread Michael Bien
sorry i must have overlooked that one. The wizzard probably has its own 
way of detecting nb-javac (magic?).


i did some more fulltext searching and this looks suspicious:
https://github.com/apache/netbeans/blob/master/ergonomics/ide.ergonomics/javafx.properties#L26-L27
removing this might already fix it i suppose? No wonder i overlooked 
that one since i only removed actual code which detected nb-javac.


if anyone wants to give this a try feel free to do so, i probably have 
no time the next ~24h.


regards,
michael


On 21.01.22 13:12, Neil C Smith wrote:

Hi,

On Fri, 21 Jan 2022 at 07:54, Geertjan Wielenga
 wrote:

Wow, excellent, no dialogs or popups or nb-javac messages or messages about
JavaFX.

This gave me a thought.  You should still see the JavaFX message if
you try to create a Java Frontend Application project.  Now nb-javac
is included, the message appears, but the wizard seems not to work at
all.

If you manually install the JavaFX modules, then restart, it does.

Anyone interested in that wizard working might want to look at this! :-)

Best wishes,

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






-
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: Frontend application (Dukescript) wizard broken in NB 13-rc1

2022-01-21 Thread Geertjan Wielenga
I'd disagree on the basis that we need to support and encourage innovation,
however, yes, we then need to mitigate for the problems that ensue.

Gj

On Fri, Jan 21, 2022 at 1:23 PM Neil C Smith  wrote:

> On Fri, 21 Jan 2022 at 12:15, Geertjan Wielenga
>  wrote:
> > Worst case, we put this into the release notes.
>
> Yes.  While I really like HTML4J, I still believe that there shouldn't
> be wizards using HTML support in the IDE, or possibly any use of
> JavaFX in the UI.  All looks out of place anyway.  The hassles these
> have caused over releases seems far in excess of the benefit.
>
> Best wishes,
>
> 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: How to add 'File -> New' and 'File -> Open' to a NB 12.6 platform application?

2022-01-21 Thread Zoran Sevarac
Hi,

For New file create a New File Wizard

File>New> Modeule Development> Wizard> Next > New File using Swing UI ...

For opening you need to Create OpenCookie and put it in the lookup of the
Node of your file
Or if you want to put it in File Menu create and register action there that
will take OpenCookie from the global lookup (if the current selected node
is the one you want to open, depends what you want)

Cheers


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Fri, Jan 21, 2022 at 10:31 AM Peter Blemel  wrote:

>
> It's been too long. I forgot that Open is not in the platform.  It's in
> User Utilities in the ide cluster, which is not enabled by default when
> creating a new platform application. I'm not sure where "New" is, but
> that's a search for tomorrow.
>
> Thanks,
> Peter
>
>
> 
> From: Geertjan Wielenga 
> Sent: Friday, January 21, 2022 1:51 AM
> To: dev 
> Subject: Re: How to add 'File -> New' and 'File -> Open' to a NB 12.6
> platform application?
>
> If I remember correctly, it's a Utilities module that provides those, best
> would be to find the New File action in the Apache NetBeans sources, maybe
> search for that string, and see which module it is part of.
>
> Gj
>
> On Fri, Jan 21, 2022 at 9:44 AM Peter Blemel  wrote:
>
> > Hi Everyone,
> >
> > I've been trying to get my NetBeans platform application running again,
> > but some things are eluding me.  I created a new platform application and
> > I've been going through the tutorials for file type, lexer, and parser
> > integration to try and re-familiarize myself with everything after a few
> > years away from doing any compiler integration in a platform app.  The
> > tutorials are in mixed shape, but I've been making notes as I go to
> > hopefully help clean them up as I go.
> >
> > After going through the 'New ABC File Type" tutorial, I have a bare bones
> > NetBeans Platform application running but have no way to create or open
> an
> > ".abc" file. For the life of me I can not figure out how to add "New" and
> > "Open" actions to the "File Menu". I've enabled every module in the
> > Platform, added a layer.xml, but am out of tricks to try.  "Save" and
> "Save
> > As" are there, but of course disabled since there's no cookies in the
> > Lookup.
> >
> > If someone can kindly tell me the trick to adding the Open and New menu
> > items/actions to a 12.6 Platform Application, I'd appreciate it.
> >
> > Thanks,
> > Peter
> >
>


-- 
Zoran Sevarac, PhD, Associate Professor
University of Belgrade, Faculty of Organisational Sciences, Department for
Software Engineering
Java Champion 
| Oracle Groundbreaker Ambassador | Deep Netts 
Co-founder & CEO


Re: Frontend application (Dukescript) wizard broken in NB 13-rc1

2022-01-21 Thread Neil C Smith
On Fri, 21 Jan 2022 at 12:15, Geertjan Wielenga
 wrote:
> Worst case, we put this into the release notes.

Yes.  While I really like HTML4J, I still believe that there shouldn't
be wizards using HTML support in the IDE, or possibly any use of
JavaFX in the UI.  All looks out of place anyway.  The hassles these
have caused over releases seems far in excess of the benefit.

Best wishes,

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: Frontend application (Dukescript) wizard broken in NB 13-rc1

2022-01-21 Thread Geertjan Wielenga
Worst case, we put this into the release notes.

Gj

On Fri, Jan 21, 2022 at 1:13 PM Neil C Smith  wrote:

> Hi,
>
> On Fri, 21 Jan 2022 at 07:54, Geertjan Wielenga
>  wrote:
> > Wow, excellent, no dialogs or popups or nb-javac messages or messages
> about
> > JavaFX.
>
> This gave me a thought.  You should still see the JavaFX message if
> you try to create a Java Frontend Application project.  Now nb-javac
> is included, the message appears, but the wizard seems not to work at
> all.
>
> If you manually install the JavaFX modules, then restart, it does.
>
> Anyone interested in that wizard working might want to look at this! :-)
>
> Best wishes,
>
> 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
>
>
>
>


Frontend application (Dukescript) wizard broken in NB 13-rc1

2022-01-21 Thread Neil C Smith
Hi,

On Fri, 21 Jan 2022 at 07:54, Geertjan Wielenga
 wrote:
> Wow, excellent, no dialogs or popups or nb-javac messages or messages about
> JavaFX.

This gave me a thought.  You should still see the JavaFX message if
you try to create a Java Frontend Application project.  Now nb-javac
is included, the message appears, but the wizard seems not to work at
all.

If you manually install the JavaFX modules, then restart, it does.

Anyone interested in that wizard working might want to look at this! :-)

Best wishes,

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: How to get output of System.out.println() in NB Output view?

2022-01-21 Thread Michael Bien

we are talking about different things :)

the original post was about debugging with some System.out.println(). I 
don't think this is copied to the IDE log. You would only see it in the 
output (IDE output or shell) - assuming you don't run into the 32/64bit 
bug which was mentioned before and I didn't know about.


proper loggers do of course land in the actual log as you said.

-mbien

On 21.01.22 11:40, antonio wrote:

I'm luck to see it in the Show/IDE Log then... :-)

https://imgur.com/a/q0cHCuI

Maybe you should try using INFO/SEVERE levels, though.

Cheers,
Antonio

On 20/01/2022 12:18, Michael Bien wrote:
it won't show up in the log view, however, if you start the platform 
application or module with netbeans (e.g run project), it should be 
visible in the output window (of the IDE, not from the app).


-mbien


-
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: How to get output of System.out.println() in NB Output view?

2022-01-21 Thread antonio

I'm luck to see it in the Show/IDE Log then... :-)

https://imgur.com/a/q0cHCuI

Maybe you should try using INFO/SEVERE levels, though.

Cheers,
Antonio

On 20/01/2022 12:18, Michael Bien wrote:
it won't show up in the log view, however, if you start the platform 
application or module with netbeans (e.g run project), it should be 
visible in the output window (of the IDE, not from the app).


-mbien


-
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: [NOTICE] Apache NetBeans 13 release candidate 1 available for testing

2022-01-21 Thread Carl Mosca
Thank you for the reminder Gj.  Yes, very nice indeed!!

Carl

On Fri, Jan 21, 2022 at 2:55 AM Geertjan Wielenga
 wrote:

> Wow, excellent, no dialogs or popups or nb-javac messages or messages about
> JavaFX.
>
> I simply created my first project (OK, features needed to be enabled, which
> makes sense).
>
> Great initial experience. Really great, big step forward in our evolution.
>
> Please try it, all.
>
> Gj
>
> On Thu, Jan 20, 2022 at 8:01 PM Neil C Smith 
> wrote:
>
> > On Thu, 20 Jan 2022 at 18:55, Thomas Kellerer  wrote:
> > >
> > > Not sure if this is a bug or intended.
> > >
> > > The "Find in Projects" now uses a multi-line input field for the search
> > term ("Containing text").
> > > Which has the effect that hitting ENTER inside that field, just creates
> > a new line (even though the field is displayed as a single line) and does
> > not start the search (as it used to be the previous version).
> > >
> >
> > Presumably this - https://github.com/apache/netbeans/pull/3393
> >
> > Please note the PS, and take the discussion off into a new thread,
> thanks!
> >
> > 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
> >
> >
> >
> >
>


-- 
Carl J. Mosca


Re: How to add 'File -> New' and 'File -> Open' to a NB 12.6 platform application?

2022-01-21 Thread Peter Blemel

It's been too long. I forgot that Open is not in the platform.  It's in User 
Utilities in the ide cluster, which is not enabled by default when creating a 
new platform application. I'm not sure where "New" is, but that's a search for 
tomorrow.

Thanks,
Peter



From: Geertjan Wielenga 
Sent: Friday, January 21, 2022 1:51 AM
To: dev 
Subject: Re: How to add 'File -> New' and 'File -> Open' to a NB 12.6 platform 
application?

If I remember correctly, it's a Utilities module that provides those, best
would be to find the New File action in the Apache NetBeans sources, maybe
search for that string, and see which module it is part of.

Gj

On Fri, Jan 21, 2022 at 9:44 AM Peter Blemel  wrote:

> Hi Everyone,
>
> I've been trying to get my NetBeans platform application running again,
> but some things are eluding me.  I created a new platform application and
> I've been going through the tutorials for file type, lexer, and parser
> integration to try and re-familiarize myself with everything after a few
> years away from doing any compiler integration in a platform app.  The
> tutorials are in mixed shape, but I've been making notes as I go to
> hopefully help clean them up as I go.
>
> After going through the 'New ABC File Type" tutorial, I have a bare bones
> NetBeans Platform application running but have no way to create or open an
> ".abc" file. For the life of me I can not figure out how to add "New" and
> "Open" actions to the "File Menu". I've enabled every module in the
> Platform, added a layer.xml, but am out of tricks to try.  "Save" and "Save
> As" are there, but of course disabled since there's no cookies in the
> Lookup.
>
> If someone can kindly tell me the trick to adding the Open and New menu
> items/actions to a 12.6 Platform Application, I'd appreciate it.
>
> Thanks,
> Peter
>


Re: How to add 'File -> New' and 'File -> Open' to a NB 12.6 platform application?

2022-01-21 Thread Geertjan Wielenga
If I remember correctly, it's a Utilities module that provides those, best
would be to find the New File action in the Apache NetBeans sources, maybe
search for that string, and see which module it is part of.

Gj

On Fri, Jan 21, 2022 at 9:44 AM Peter Blemel  wrote:

> Hi Everyone,
>
> I've been trying to get my NetBeans platform application running again,
> but some things are eluding me.  I created a new platform application and
> I've been going through the tutorials for file type, lexer, and parser
> integration to try and re-familiarize myself with everything after a few
> years away from doing any compiler integration in a platform app.  The
> tutorials are in mixed shape, but I've been making notes as I go to
> hopefully help clean them up as I go.
>
> After going through the 'New ABC File Type" tutorial, I have a bare bones
> NetBeans Platform application running but have no way to create or open an
> ".abc" file. For the life of me I can not figure out how to add "New" and
> "Open" actions to the "File Menu". I've enabled every module in the
> Platform, added a layer.xml, but am out of tricks to try.  "Save" and "Save
> As" are there, but of course disabled since there's no cookies in the
> Lookup.
>
> If someone can kindly tell me the trick to adding the Open and New menu
> items/actions to a 12.6 Platform Application, I'd appreciate it.
>
> Thanks,
> Peter
>


How to add 'File -> New' and 'File -> Open' to a NB 12.6 platform application?

2022-01-21 Thread Peter Blemel
Hi Everyone,

I've been trying to get my NetBeans platform application running again, but 
some things are eluding me.  I created a new platform application and I've been 
going through the tutorials for file type, lexer, and parser integration to try 
and re-familiarize myself with everything after a few years away from doing any 
compiler integration in a platform app.  The tutorials are in mixed shape, but 
I've been making notes as I go to hopefully help clean them up as I go.

After going through the 'New ABC File Type" tutorial, I have a bare bones 
NetBeans Platform application running but have no way to create or open an 
".abc" file. For the life of me I can not figure out how to add "New" and 
"Open" actions to the "File Menu". I've enabled every module in the Platform, 
added a layer.xml, but am out of tricks to try.  "Save" and "Save As" are 
there, but of course disabled since there's no cookies in the Lookup.

If someone can kindly tell me the trick to adding the Open and New menu 
items/actions to a 12.6 Platform Application, I'd appreciate it.

Thanks,
Peter