Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Geertjan Wielenga
Indeed, that’s not what the NetBeans Platform is for. It is an advanced framework for handling complex task, definitely not a beginner’s tool. Just like you shouldn’t start with power tools in other fields, i.e., don’t start with the chainsaws if you’re getting started with basic carpentry. But

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Richard
I don't want to build an application. I am a beginner, I want to learn, I have a book for beginners where the examples are simple and supposed to be runnable, but some of them are not. My question is very simple : how the XML editor can be activated in a very simple project without modules ?

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Geertjan Wielenga
Don’t use the book like that. It is not there to follow step by step. It is there as a guide to implement the application you want to build. As you can see, what you’re doing doesn’t work. You can continue being frustrated or use the book and the NetBeans Platform in the way they’re meant to be

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Richard
The answer is very simple : I don't want to build an application, I just want to follow the examples in the book step by step. You suggested me to purchase this book and to read it carefully, that is what I am doing. In chapter 1, we are just testing the effect of selecting ide modules in the

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Geertjan Wielenga
Nothing at all, no. Gj On Sun, 7 Mar 2021 at 17:34, Eric Bresie wrote: > Does this have anything to do with removal of XML binding in Java 11 > timeframe? And maybe need to add a dependency for this to the project? > > See >

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Eric Bresie
Does this have anything to do with removal of XML binding in Java 11 timeframe? And maybe need to add a dependency for this to the project? See https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception On Sun, Mar 7, 2021 at 10:14

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Geertjan Wielenga
The question is what it is you’re trying to achieve here. Given what you’re trying to do right now, your approach could be considered to be “wrong”, i.e., start by thinking of the larger idea of the application you’re trying to build and the features you need for that. A better approach than

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Richard
Thank you Geertjan This is a simple exercise to look at the possibilities that each ide module can give. I tried successfully the image editor and the Utilities module, but it is clear that some other ide modules need to be selected for the XML editor since I can run with all ide modules

Re: [Netbeans Platform] Error when activating XML Text Editor in a new project

2021-03-07 Thread Geertjan Wielenga
Your usage may vary with that book. All the principles and ideas are correct, but some individual instructions may be outdated. Gj On Sun, 7 Mar 2021 at 16:57, Richard wrote: > Hello. > > Running Netbeans 12.0 with OpenJDK11 on Linux Mint 19.3 x64. > > Trying to run some examples in chapter 1