-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[WIP] Jabrefonline apollo #7798
Conversation
@tobiasdiez I theoretically fixed all this modularity stuff, however, now I am having troubles with Kotlin shit
|
Screw this Apollo. Isn't there a better client? |
Should work now...the kotlin reference is a module, so need to be required explicitly in the module spec |
Ah yes thanks! compiles. Now I have to adapt the output package |
apollographql/apollo-kotlin#2019 Probably just add the current path to the sourceset. |
Now I only need to get it working in Eclipse^^ |
As far as I understand the motivation, this makes JabRef a server for some online clients. I would like to take this as a chance to work on a gradle multi module build (follow-up to #3704). |
This PR adds a new binary file: I would like to see that file ( (I assume, the dependency isn't https://mvnrepository.com/artifact/com.apollographql.apollo/apollo-compiler/2.5.8) |
@koppor This is the dependency https://mvnrepository.com/artifact/com.apollographql.apollo/apollo-api-jvm |
Nope, it makes JabRef online a possible server that JabRef can sync with (in addition to the Postgres, MySql, ... databases we already support). The apollo stuff we add is a client not a server (it consumes the JabRef online api). |
DevCall: Try it out in IntelliJ (and explain to koppor ^^) |
./gradlew generateApolloSources |
* upstream/main: Refactoring existing unit tests into parametrized tests (#7700) Replace <p> in localization by \n (#7279) Bump byte-buddy-parent from 1.11.0 to 1.11.1 (#7800) Bump org.javamodularity.moduleplugin from 1.8.6 to 1.8.7 (#7799) Bump mockito-core from 3.10.0 to 3.11.0 (#7801) Bump classgraph from 4.8.106 to 4.8.108 (#7802) Update .markdownlint.yml Ignore slant.co links GitBook: [main] 3 pages and 17 assets modified GitBook: [main] one page modified GitBook: [main] one page modified GitBook: [main] 6 pages and 42 assets modified # Conflicts: # build.gradle
…line * 'jabrefonline' of github.com:JabRef/jabref: # Conflicts: # build.gradle
No matter what I try, I can't get the patched module stuff working in Eclipse. |
So the imports are not working, or what is the problem? |
As this is still heavy WIP I will move this to koppor to |
Now located at koppor#505 |
I would say we create a very minimal initial version that works, and then take this as the base branch for further PRs. What is the problem with this branch though? Anything else that is not working than the eclipse integration? |
The key problem is that a) Eclipse is not working with the patched module, it won't compile and can't find the module when it's located in runtime and b) there was also a problem with the mutation code generation. Need to try this out again. |
As a workaround I tried to manually patch the module like we did with LO before but this did not work |
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)