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 add a new folder in the projects view. I also tried to consult the help - but when you search for "resource" nothing pops about resources. As this is nowhere noted (at least nowhere in the help) and in fact is nowhere near anything a new user would intuivitely try to get working - this HAS to be done different - or at least noted somewhere obvious how to do it or what rules to follow.

Matt

Am 12.02.2020 um 19:11 schrieb 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 <cryptea...@googlemail.com.invalid> wrote:

    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 would put it in your
    project in NetBeans:

    
http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

    Gj

    On Wed, Feb 12, 2020 at 7:01 PM cryptearth
    <cryptea...@googlemail.com.invalid>
    <mailto:cryptea...@googlemail.com.invalid> wrote:

        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 show up in projects view, only in files view.
        I just
        can't make the folder appear as a resource folder, neither
        for the json
        file itself.
        On the net there was a way with project properties > sources
        - but
        there's nothing I can add a folder just some info text about
        some plugins.

        Any help? I'm totally lost as I neither can figure it out
        myself but
        also no info I can find with google seems to work.

        Thanks in advance,

        Matt

        ---------------------------------------------------------------------
        To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
        <mailto:users-unsubscr...@netbeans.apache.org>
        For additional commands, e-mail:
        users-h...@netbeans.apache.org
        <mailto:users-h...@netbeans.apache.org>

        For further information about the NetBeans mailing lists, visit:
        https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to