Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project status in Netbeans 11 #424

Open
hamishgraham opened this issue Apr 3, 2019 · 11 comments
Open

Project status in Netbeans 11 #424

hamishgraham opened this issue Apr 3, 2019 · 11 comments

Comments

@hamishgraham
Copy link

Hello,

I see that Netbeans 11 due to be released shortly has built-in Gradle support. What is the status of this project in light of that? Will development continue or perhaps efforts re-focused on improving the built-in Gradle support?

Thanks.

@kelemen
Copy link
Owner

kelemen commented Apr 3, 2019

I assume that eventually the built-in support will replace this plugin. Though personally, I miss features (that are very-very hard to add to that) that I regularly use in this. So, I intend to provide some level of support for this plugin for the time being.

@tcfurrer
Copy link

tcfurrer commented Apr 3, 2019

I agree regarding the continued use of plugin features. My (large, complex, internal-to-a-big-company) project invested a fair amount of time to get everything working well with this plugin, and we now intend to continue with that configuration until the built-in Gradle support is a little more mature and capable. But we also want to move to Netbeans 11 because of the Java 12 support, etc.

So we appreciate the efforts to keep this plugin alive at least a little bit longer, if not more than a little bit.

@tcfurrer
Copy link

tcfurrer commented Apr 3, 2019

Unfortunately with my testing so far on Netbeans 11 vc4, there are several little things which stopped working, at least when running the plugin version 2.0.2. I'm hoping these will be fixable in a new release targetted at Netbeans 11... we'll see. I'll be filing separate new tickets for each issue I've found.

@hamishgraham
Copy link
Author

I assume that eventually the built-in support will replace this plugin. Though personally, I miss features (that are very-very hard to add to that) that I regularly use in this. So, I intend to provide some level of support for this plugin for the time being.

Interesting, thanks for the reply. What features are you referring to and why might they be hard to add to the built-in Gradle?

(also, thank you for all your work providing this fantastic plugin. It's meant I could keep on using Netbeans.)

@kelemen
Copy link
Owner

kelemen commented Apr 4, 2019

@tcfurrer Did you uninstall all the built-in Gradle support plugins (probably everything with Gradle in its name)? Because these two plugins are likely to conflict in various ways.

@hamishgraham Mainly the project/global properties support (which is one of the biggest part of the plugin, aside from maybe Gradle model loading). Given that subprojects are shown as separate projects, it is rather tricky in NB (a lot more tricky to do good than one would naively imagine, and would be hard to integrate with the other plugin), also the property inheritence and the configurability of tasks (say I have profiles set up where the debug tasks ssh the release package, installs it, and starts remote debugging the process). So, I'm thinking in a library which handles such properties in a generic manner, so that any GUI application could use it (so, then maybe it could be used in the new plugin).

@tcfurrer
Copy link

tcfurrer commented Apr 5, 2019

Yes, after uninstalling the new "Gradle" and "Groovy and Gradle" plugins, so far everything is working great for me now on Netbeans 11 with this plugin version 2.0.2. Hopefully we can think of something in #429 to prevent others from making the same mistake I did, and getting confused.

@slominskir
Copy link

How DO you uninstall the built-in gradle plugin? I am able to deactivate both "Gradle" and "Groovy and Gradle", but the "Uninstall" button is still disabled (grayed out) even after the IDE restarts. Also, it might make sense to create a full list of the differences between new built-in plugin and this one. As far as I can tell the new plugin is a strict subset (does nothing new, and a lot less). In particular, it seems new plugin does not support setting Gradle action for "Compile on Save".

@kelemen
Copy link
Owner

kelemen commented Apr 10, 2019

I don't know all features of the built-in plugin as it is completely unrelated to this plugin.

As for uninstalling, I don't know (I can select uninstall). Maybe because the user you started NB with has no right to delete files from the installation directory?

@slominskir
Copy link

Looks like if you create a project using the new built-in plugin then you are stuck. I can't find a way to update the project to use the old plugin. Deleting all the netbeans related metadata in the project doesn't do it. Maybe there is a Netbeans cache somewhere that needs to cleared. Closing the project and reopening only after relaunching Netbeans doesn't fix it.

Also, new plugin will gladly assume ownership of projects that were managed by old plugin if you open it before installing old, and then no way to go back.

@slominskir
Copy link

Yup, it WAS file permissions. I right clicked and ran as administrator and then was able to Uninstall. Thanks.

@kelemen
Copy link
Owner

kelemen commented Apr 10, 2019

The files NB (or any plugin) creates does not affect what plugin owns the project. It is detected at runtime, and this plugin does not care if other plugins generated files somewhere (and I suppose it is true for most plugins).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants