Re: Embedded Language Question

2023-01-08 Thread Michael Bien
this might be of interest for some here: https://github.com/apache/netbeans/pull/4885 dependent on the usecase this might be a quick && elegant way to embed other languages. -mbien On 08.01.23 21:59, Oliver Rettig wrote: Hi, I am also interested in such functionality to put code written in

Re: Embedded Language Question

2023-01-08 Thread Oliver Rettig
Hi, maybe I have not correctly understand what "Admin Netcrystals" wants to do and it is not the same what I am interested. ok, we are both interested in embedding a new language. My specific interest is to embed code written in my new language into a java source file. Similar things with

Re: Embedded Language Question

2023-01-08 Thread Laszlo Kishalmi
??? On 1/8/23 20:47, Tim de Vries wrote: If I had to weigh in, it would be nice to be able to contribute some of the code I don’t understand. I would like to be able to provide, for example, class and method names from jars, similar to IntelliJ, but for all on classpath. There will

Re: Embedded Language Question

2023-01-08 Thread Tim de Vries
If I had to weigh in, it would be nice to be able to contribute some of the code I don’t understand. I would like to be able to provide, for example, class and method names from jars, similar to IntelliJ, but for all on classpath. There will probably always be straggler jars. Also,

Re: Can't create test for class

2023-01-08 Thread Admin Netcrystals
I also had strange problems with JUnit in Netbeans.I figured out t/ following…There seem to be multiple JUnit versions. In Netbeans I think you can choose between JUnit 3 and Junit 4 (or Junit 4 and Junit 5 I cant remember exactly). The older one, version Junit 3 has got

Re: Can't create test for class

2023-01-08 Thread Will Hartung
On Sun, Jan 8, 2023 at 7:25 AM Eric Bresie wrote: > > > > On Sat, Jan 7, 2023 at 9:07 PM Will Hartung wrote: > >> I have maven javafx project. Java 17, NB 15. It's also a modular >> application with a module-info. >> > > Might want to consider updating to NB 16...I believe some of the >

Re: Embedded Language Question

2023-01-08 Thread Oliver Rettig
Hi, I am also interested in such functionality to put code written in our DSLs into java source code. In the meantime we put the code in extra files with specific filesuffix and use the netbeans api for syntax highlighting etc. best regards Oliver > Hi, > I have got a question regarding the

Re: Embedded Language Question

2023-01-08 Thread Laszlo Kishalmi
Here is a sample of Language embedding: https://github.com/apache/netbeans/blob/40c25f50231290122f559a4f598624843662ee32/java/languages.antlr/src/org/netbeans/modules/languages/antlr/AntlrTokenId.java#L70 However this one only takes care of the Lexer, other features needs more code. You can

Embedded Language Question

2023-01-08 Thread Admin Netcrystals
Hi,I have got a question regarding the embedded language support of Netbeans.If I write my own grammer/dsl with JavaCC and my language contains a specific tag that marks the beginning and ending of an embedded language, lets say Java, does Netbeans automatically take

Fwd: How to add local jar to Gradle

2023-01-08 Thread Amn Ojee Uw
Thank you for your prompt response, please contact me via the mailing list. Forwarded Message Subject:Re: How to add local jar to Gradle Date: Sat, 7 Jan 2023 21:51:17 -0800 From: Waldo Monroy To: Amn Ojee Uw Do you still need help? Thank you and have a

Re: Can't create test for class

2023-01-08 Thread Eric Bresie
On Sat, Jan 7, 2023 at 9:07 PM Will Hartung wrote: > I have maven javafx project. Java 17, NB 15. It's also a modular > application with a module-info. > Might want to consider updating to NB 16...I believe some of the functionality around some of this has improved a little bit. > I try to

Re: How to add local jar to Gradle

2023-01-08 Thread Laszlo Kishalmi
https://riptutorial.com/gradle/example/8349/add-a-local-jar-file-dependency On 1/7/23 19:41, Amn Ojee Uw wrote: Hello! Can anyone tell how to add a local jar file to a Gradle-Java with Gradle->Web Application using NetBeans 16? Thanks in advance.