kelemen / netbeans-gradle-project

This project is a NetBeans plugin able to open Gradle based Java projects. The implementation is based on Geertjan Wielenga's plugin.
170 stars 57 forks source link

context sensitive action for subproject #316

Closed svatos-jirka closed 7 years ago

svatos-jirka commented 7 years ago

Hi,

we use subproject. It is great to see subprojectunder parent project. But, If I click to "build/clean and build" on subprojectthen the parent project is clean/build instead of selected subproject. Could you propagate node of subproject "project interface" to Utilities.globalContext(). or add below to subproject node: ActionProvider.COMMAND_BUILD, ActionProvider.COMMAND_CLEAN, ActionProvider.COMMAND_COMPILE_SINGLE

Sorry, I am not sure, what steps are needed.

image "red color" button doesnt care about subproject (blue one). only the parent project is avaible for context aware actions.

with best regards, jiri

kelemen commented 7 years ago

It shouldn't be a problem, I'll look at this issue next week.

svatos-jirka commented 7 years ago

Thanks

kelemen commented 7 years ago

This should be fixed in master (the whole context menu was added). Can you try if it works for you?

svatos-jirka commented 7 years ago

yes, give me a day please, I will download it, compile and test

svatos-jirka commented 7 years ago

Hi,

sorry, I am not sure how to build it. I was successful do "gradle build" but I was not able to find some "*.nbm" file, which I should install to NB. thanks for help, Jiri

JustGregory-zz commented 7 years ago

On the command line, when doing a gradle tasks, does a task exist to generate an nbm file from the build result?

kelemen commented 7 years ago

The "build" task will create an nbm (but the "nbm" task will also do so with the least possible work). The nbm file should be in /netbeans-gradle-plugin/build/nbm but if you read the Development page, you will be able to test the plugin without installing it into your NB installation.

svatos-jirka commented 7 years ago

Thanks, great.

Issue could be closed, I look forward to next release.