Re: Autoupdate problem

2020-02-12 Thread Peter Hull
On Wed, 12 Feb 2020 at 17:27, Jerome Lelasseux wrote: > Maybe you viewed the xml file using the builtin Firefox viewer which hides > the XML declaration part... Well I have learnt something anyway - yes I was using firefox. Looking at the code you should be seeing log lines like [exec] FINER [or

Re: unable to add resources or resource folder in NetBeans 11.2

2020-02-12 Thread Neil C Smith
On Wed, 12 Feb 2020, 18:17 cryptearth, wrote: > How was I supposed to know I have to add a folder in files view called > resources under src/main instead of just add a new folder in the projects > view. > There is a node for resources in the project view somewhere. You can do this via the UI, bu

Re: unable to add resources or resource folder in NetBeans 11.2

2020-02-12 Thread Geertjan Wielenga
Yes, indeed, if you want to use Maven you need to at least know the basics of Maven. No, we're not going to recreate the Maven documentation in NetBeans. Gj On Wed, Feb 12, 2020 at 7:16 PM cryptearth wrote: > Well, for someone not knowing much about maven, and no knowing that > NetBeans is just

Re: unable to add resources or resource folder in NetBeans 11.2

2020-02-12 Thread cryptearth
Well, for someone not knowing much about maven, and no knowing that NetBeans is just a GUI wrapper around it, it's not intuitive if you have to follow rules you just don't know about. How was I supposed to know I have to add a folder in files view called resources under src/main instead of just

Re: unable to add resources or resource folder in NetBeans 11.2

2020-02-12 Thread Geertjan Wielenga
It is exactly and precisely how Maven works. NetBeans does nothing special, it simply supports 100% Maven exactly and precisely as Maven is defined. Gj On Wed, Feb 12, 2020 at 7:09 PM cryptearth wrote: > Well, although that's less than non-intuitive it worked. > Thanks. > > Matt > > Am 12.02.2

Re: unable to add resources or resource folder in NetBeans 11.2

2020-02-12 Thread cryptearth
Well, although that's less than non-intuitive it worked. Thanks. Matt Am 12.02.2020 um 19:04 schrieb Geertjan Wielenga: NetBeans is simply a wrapper around your Maven command line and the POM defines your project. Where would you normally put that file in a normal Maven project is where you wo

Re: unable to add resources or resource folder in NetBeans 11.2

2020-02-12 Thread Geertjan Wielenga
NetBeans is simply a wrapper around your Maven command line and the POM defines your project. Where would you normally put that file in a normal Maven project is where you would put it in your project in NetBeans: http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-l

unable to add resources or resource folder in NetBeans 11.2

2020-02-12 Thread cryptearth
Hello NetBeans community, so I decided to use NetBeans over Eclipse just for no reason - and I'm already struggle at my first project: I have a json file I want to load, but no matter where I place it it doesn't get copied over to the build. I also tried to create a folder - but it doesn't sho

Re: Autoupdate problem

2020-02-12 Thread Jerome Lelasseux
@Pete No there is a XML declaration + DTD in my updates.xml, I've checked again. Maybe you viewed the xml file using the builtin Firefox viewer which hides the XML declaration part... If the XML was malformed I guess it would not work at all: in my case it works fine for the 1st update (with a

Re: Autoupdate problem

2020-02-12 Thread Peter Hull
I don't know the answer, but looking at the NB update center, the XML does start with an XML declaration and a DTD (see below), whereas yours does not. Maybe the DTD needs to be added? Pete http://www.netbeans.org/dtds/autoupdate-catalog-2_6.dtd";> On Wed, 12 Feb 2020 at 10:43, Geertjan Wielenga

Re: Autoupdate problem

2020-02-12 Thread Geertjan Wielenga
If I could, I would help, I just don't know -- and have no way to reproduce. Maybe someone else with a NetBeans Platform app with a Plugin Manager etc, other than the IDE itself, can advise. Gj On Tue, Feb 11, 2020 at 11:26 PM Jerome Lelasseux wrote: > Hello, > > I have set up an autoupdate cen