John, I can not remember having any issues while I wrote the tutorial for
the book. I used Maven there.

John Kostaras <jkosta...@gmail.com> schrieb am So., 17. Mai 2020, 22:56:

> Hallo,
>
> I wonder if anybody has tried to create to create a new File Type using the
> mavenized module project. Let me be more specific.
>
>    - NetBeans 11.3
>    - Follow this tutorial
>    <https://platform.netbeans.org/tutorials/71/nbm-filetype.html> to
> create
>    a new File type, but instead of creating a "Java with Ant -> NetBeans
>    Modules -> Module" to create a NB module, use a "Java with Maven ->
>    NetBeans Module" NB module.
>    - If you follow the steps of the tutorial using the Ant NB module,
>    everything runs fine and you can open the file with the defined
> extension
>    in a MultiView seeing both Source and Visual buttons (and History)
>    - If you follow the tutorial's steps using the Maven NB module, then the
>    file type registration seems to not be successful; when you open a file
>    with the defined extension the MultiView only shows the Source (and
>    History) button(s), i.e. no Visual and if you open the Properties
> window it
>    says that the file type is not recognized.
>       - Steps are:
>          1. New > Other > Module Development > File Type, which
> creates the *DataObject.java,
>          VisualElement.java *and the *Template *file.
>
>
>    1. Is it a bug or am I 'm doing something wrong?
>    2. There seems to not be a lot of tutorials around; I would appreciate
>    if you could point me to a better one than the one I mention, or I could
>    write an updated tutorial (if it works and I have done something wrong)
>
> Thank you in advance for the prompt reply.
>
> John.
>

Reply via email to