Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Geertjan Wielenga
Although, not quite what you want, but you can make a wizard dynamic, like this, if you like, though again it's not exactly what you're looking for: https://blogs.oracle.com/geertjan/extension-to-extended-java-project-part-1 https://blogs.oracle.com/geertjan/extension-to-extended-java-project-par

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Geertjan Wielenga
As you've learned so far in this discussion, that's not what the New Project dialog is used for. Gj On Sat, Jan 4, 2020 at 4:47 PM Bilu wrote: > 1. You think that you should be able to open newly generated projects via > the New Project dialog. > > =>this is not what i am expecting. > > 2.

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Bilu
1. You think that you should be able to open newly generated projects via the New Project dialog.     =>this is not what i am expecting. 2. But that is not what the New Project dialog is for. That is for generating new projects, which you’ve already done some other way.     => Indeed i want to g

Re: Maven Error -- Illegal access exception?

2020-01-04 Thread zahid
My explanation is relevant to your warnings If for example you create new project -> java with maven -> FXML javafx Maven Archetype (Gluon) -> finish. Then go to properties of that project , select action from categories. scroll down the actions changing them to javafx:run or clean install

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-04 Thread ronald marangwanda
Im on Ubuntu 18.04 and the java im using is openjdk version "11.0.5" Thanks, On Sat, 4 Jan 2020 at 04:49, Neil C Smith wrote: > > > On Fri, 3 Jan 2020, 23:16 Laszlo Kishalmi, > wrote: > >> It shall work, here is the line from the Snap package: >> >> StartupWMClass=Apache NetBeans IDE 11.2 >> >

Re: Newbie to Netbeans/Maven -- best solution?

2020-01-04 Thread Chris Olsen
Zahid and All -- Works like a charm! Thank you yet again... -- Chris - Original Message - From: zahid To: Chris Olsen , users Sent: Sat, 04 Jan 2020 12:09:33 -0500 (EST) Subject: Re: Newbie to Netbeans/Maven -- best solution? There are three tabs you should  see on the left imm

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Geertjan Wielenga
Each project you generate should simply be openable via the Open Project menu item, assuming it conforms to your project type. What you think you’re doing is different to what you’re actually doing: 1. You think that you should be able to open newly generated projects via the New Project dialog.

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Bilu
well thanks anyway :) Le 04/01/2020 à 16:03, Geertjan Wielenga a écrit : > > Again, it does not work in the way you intend.  > > Gj > > On Sat, 4 Jan 2020 at 11:57, Bilu > wrote: > > this is related to the Project sample registration. i want to add > a sample to

Re: Newbie to Netbeans/Maven -- best solution?

2020-01-04 Thread zahid
There are three tabs you should  see on the left immediately below top menu bar. tab:Projects  tab:Files  tab:Services select > tab:Files Traverse down the tree branches  to   -> src -> main while main highlighted  {in select mode}. ! left click but the other one right click select new -> f

Maven Error -- Illegal access exception?

2020-01-04 Thread Peter L. Berghold
what is Maven on about here? WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,ja

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Geertjan Wielenga
Again, it does not work in the way you intend. Gj On Sat, 4 Jan 2020 at 11:57, Bilu wrote: > this is related to the Project sample registration. i want to add a sample > to the New Project wizard. The sample could function either as an example > to the user or as a new project template that pro

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Bilu
this is related to the Project sample registration. i want to add a sample to the New Project wizard. The sample could function either as an example to the user or as a new project template that provides the basic files needed to get started working on a technology of some kind: https://platform.ne

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Geertjan Wielenga
It sounds like what you’re generating should simply be opened via Open Project menu item, i.e., this does not relate to the New Project wizard at all. Gj On Sat, 4 Jan 2020 at 11:33, Geertjan Wielenga wrote: > I think what you’re trying to achieve is not something that makes sense > from the po

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Geertjan Wielenga
I think what you’re trying to achieve is not something that makes sense from the point of view of how NetBeans works. Gj On Sat, 4 Jan 2020 at 11:22, Bilu wrote: > i don't think this will works as i can not generate the resource into a > package once the module is build and running that's why i

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Bilu
i don't think this will works as i can not generate the resource into a package once the module is build and running that's why i would like to generate it to a temp folder and fetch it each time the New project wizard is called Le 04/01/2020 à 15:06, Geertjan Wielenga a écrit : > > So generate it

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Geertjan Wielenga
So generate it into a package in your module instead if generating it in your temp folder. Gj On Sat, 4 Jan 2020 at 11:00, Bilu wrote: > because the resource has to be generated dynamically. so i need to > generate it somewhere on the drive (lets say C:/Temp/) before make it > available to the

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Bilu
because the resource has to be generated dynamically. so i need to generate it somewhere on the drive (lets say C:/Temp/) before make it available to the New project Wizard each time to be sure to have the last version of the resource. Le 04/01/2020 à 14:17, Geertjan Wielenga a écrit : > > Why? >

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Geertjan Wielenga
Why? Gj On Sat, 4 Jan 2020 at 10:16, Bilu wrote: > Hello > > Documentation talk about File contents, as resources relative to the > package of this declaration: > http://137.254.56.27/8.0/javadoc/org-openide-loaders/org/netbeans/api/templates/TemplateRegistration.html#content() > > But is there

Re: Annotation Type TemplateRegistration content

2020-01-04 Thread Bilu
Hello Documentation talk about File contents, as resources relative to the package of this declaration: http://137.254.56.27/8.0/javadoc/org-openide-loaders/org/netbeans/api/templates/TemplateRegistration.html#content() But is there a way to declare file outside of the package? Thanks to help L

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-01-04 Thread Neil C Smith
On Fri, 3 Jan 2020, 23:16 Laszlo Kishalmi, wrote: > It shall work, here is the line from the Snap package: > > StartupWMClass=Apache NetBeans IDE 11.2 > > It was confirmed to work for 11.2 > Given the xprop output in the original email I'm not sure it is everywhere. It also feels familiar. I'll s