-
Notifications
You must be signed in to change notification settings - Fork 0
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 debug JabRef on Windows in IntelliJ IDEA #5
Comments
Which version of the IDE? I think, I had the error with 2024.1.1, but I did not see it with 2024.2 EAP. |
The solutions at https://stackoverflow.com/questions/69376895/createprocess-error-206-the-filename-or-extension-is-too-long did not solve the issues with 2024.1.1 |
|
IntelliJ IDEA 2024.1 IntelliJ IDEA 2024.2 EAP does not work too. Pinged on YouTrack |
Thank you. Please share IDE logs (I wrote that above in the last sentence; therefore I kept that item open) |
I tried to fix redocksoft/classpath-to-file-gradle-plugin#2. Please try to ... "publish" the updated plugin:
... make the plugin available to gradle:
id 'com.redock.classpathtofile' version '0.1.0' |
@InAnYan Double check: Where is JabRef checked out? Is it |
@koppor I'm so sorry. The error is gone 😆 |
Like here 😅 Anything you remember? Updating? Checking out again? Updating dependencies? Maybe it could be that using the EAP version and merging in main could have lead to regenerating the configuration in a "good" way. |
I remember I update to 2024.1.2, but the problem was still there. EAP had the problem too. Discovered this accidentally, while thinking about reopening the issue on YouTrack and testing your plugin |
Ah, the error reappeared (not gone anymore)? Which means #5 (comment) is outdated. Then try https://stackoverflow.com/a/74816455/873282 Please try the solutions as otherwise you cannot develop properly, can you? |
No, no, I mean, I asked, what actions I did. Like, I did nothing, the problem was everywhere, but one day it gone. Subhramit has this problem |
No the issue is there 😢. I have this error while running
|
Seems like an exercise how to use Google? 😅 Blind guess without Google: Does your JAVA_HOME variable point to a valid JDK path? |
Update in today's DevCall: The solution of https://stackoverflow.com/a/74816455/873282 really works |
Not needed any more. One can use the newest release of the plugin - see https://github.com/redocksoft/classpath-to-file-gradle-plugin?tab=readme-ov-file#installation for details. -- We should try this. |
Without the plugin, it is even worse:
|
The workaround to compile and run with IntelliJ (and not gradle) should be tried. See https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-89-run-with-intellij.html for details. |
😢 However, debugging fails with the same error |
I assume you are trying to debug with gradle. Please try to debug with the IntelliJ compiler. Link is in the comment #5 (comment). |
😢 again Error on step 5:
|
Oliver, let's forget this, I don't want to distract you with updates. The error appeared again, I can't even run JabRef. I'll just try to make run Skype on Linux better |
Current state: At the PR JabRef#11430, (And IntelliJ can come later. We should have Gradle working. One can also run using gradle in intellij, which is the default setup. Only in advanced setup, one uses IntelliJ to run the thing. See https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-89-run-with-intellij.html) |
|
@InAnYan I still don't have a reply to my comment two weeks ago: #5 (comment) Maybe I have to rephase: One can run with gradle. One can also run with IntelliJ. Two questions:
|
The update at redocksoft/classpath-to-file-gradle-plugin#7 does not help - due to incompatibility with https://github.com/java9-modularity/gradle-modules-plugin |
Ah, I remember, it was the time where the issue just gone. Need to try this method |
yeah, and I don't have |
I could not get |
No, no, it's the ai-pr-1 Sorry, should've mentioned: I've followed the https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-89-run-with-intellij.html and couldn't build the project |
The issue title is very generic. With gradle, it should work now. Please check (on the |
JabRef version
5.13 (latest release)
Operating system
Windows
Details on version and operating system
Windows 11
Checked with the latest development build (copy version output from About dialog)
Steps to reproduce the behaviour
Debug JabRef in IntelliJ IDEA
Appendix
The exact error the IDE gave me is:
The text was updated successfully, but these errors were encountered: