-
-
Notifications
You must be signed in to change notification settings - Fork 19
-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Cannot select workspace mechanic configuration file #202
Comments
Hi Alex, I have to admit, I never used that feature myself, it was already there when I took over the plugin from markiewb. Can you provide me your workspace mechanic file? I'll look into it. And also thanks for the hint, totally possible that this is the cause of the issue. Cheers, |
Hi Fabian, please see attached file. Do not forget to cjhange the file extension to ".epf". Best P.S.: I build the plugin on my machine with jdk17 which worked fine, but after installing it to the IDE (NetBeans 13) I see an exception in the log: Do you have any experience using the plugin with jdk17? Do you want me to file a dedicated issue? |
I did not compile the plugin against jdk17 so far, not sure why this should cause any trouble, but yes please file another issue. Maybe I can fix that somehow, but as plugins built with jdk11 are supported by jdk17, I don't think that's a serious topic, but I would like to keep track of it. Thanks for telling me. |
@akronenw In the latest SNAPSHOT version (1.15.0) this bug should be fixed, would be great if you could confirm that. Cheers, |
Hello Fabian, I just installed the snapshot version and the issue has disappeared. As far as I can tell, the EPF is correctly interpreted. Thanks for the fix! |
Thanks for your feedback! I guess I'll make the final release within the next days so it will be available through the NetBeans Plugin Center soon. |
Hi,
I am trying to use a workspace mechanic configuration file but whenever I choose it, the plugin keeps saying:
Invalid file. Please enter a valid configuration file..
I had a look at the source code, in the method valid in class EclipseJavaFormatterOptionsPanel there is this line:
if (!fileExists || (!isXML && !isEPF && !isProjectSetting) || cbProfile.getSelectedIndex() < 0) {
where I suppose is the problem. cbProfile is only selectable for configuration files that are xml-based and I guess the selected index is < 0 then.
Can you help me out here?
Best
Alex
The text was updated successfully, but these errors were encountered: