You may have found a (the) way to combine Java, Maven, JavaScript, and NPM.
If so, that’s amazing.

Gj

On Mon, 15 Apr 2019 at 08:56, Fedd <f...@sql.ru> wrote:

> Thanks, some Netbeans module has updated (I think it was called "Local
> Tasks") and the package.json editor has retured.
>
> There is nothing special in my project. To reproduce success scenario, one
> may just create a new "Java with Maven / Java Application", in Files window
> go to the src/main folder and create a new one called "webapp". Then go to
> the Project Properties (right click the project root and then "Properties")
> and see that in JavaScript Category there are three items, "npm", "Bower"
> and some other. "npm" is what I was missing. Now it's there again. Thank
> you the developers! =)
>
> fedd
> On 15.04.2019 15:02, Geertjan Wielenga wrote:
>
> It is hard to know what your project looks like or contains. But however
> you have opened it, you’ll see all its content in the Files window. If you
> can put a project that looks like this (or ideally is) this project on
> GitHub so that we can look at it, that will help.
>
> Gj
>
> On Mon, 15 Apr 2019 at 03:32, Fedd <f...@sql.ru> wrote:
>
>> Hello,
>>
>> I desperately need to have an ability to work with NPM libraries in a
>> Maven non-webapp project, but NetBeans decides not to show the
>> JavaScript libraries project property menu in order not to confuse me (?)
>>
>> Again, this is neither a HTML5/JavaScript project nor "Java with Maven /
>> Web Application". It is "Java with Maven / Java Application" and I just
>> want to edit my package.json with what we have for doing this in web
>> projects.
>>
>> How do I activate the Javascript Libraries in the Java Maven Project
>> properties window? I confirm that I thought well and I do need this.
>>
>> At first it looked like that the presence of webapp directory in
>> "src/main" made Netbeans to show the desired submenu, but then it
>> somehow stopped working, I have rolled back most of my changes, but
>> NetBeans is still outsmarting me.
>>
>> Is there any magic configuration file entry?
>>
>> My SO question regarding this with pictures:
>>
>> https://stackoverflow.com/questions/50932323/list-npm-libraries-in-netbeans-8-2-maven-java-non-web-app-project
>>
>> Regards,
>>
>> Fyodor
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
>> For additional commands, e-mail: 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