Overview on Developing JabRef
This page presents all development information around JabRef. In case you are a end user, please head to the user documentation or to the general homepage of JabRef.
Starting point for new developers
On the page Setting up a local workspace, we wrote about the initial steps to get your IDE running. We strongly recommend to continue reading there. After you successfully cloned and build JabRef, you are invited to continue reading here.
How tos
- External: Sync your fork with the JabRef repository
- External (🇩🇪): Branches and pull requests: https://github.com/unibas-marcelluethi/software-engineering/blob/master/docs/week2/exercises/practical-exercises.md
Teaching Exercises
We are very happy that JabRef is part of Software Engineering trainings. Please head to Teaching for more information on using JabRef as a teaching object and on previous courses where JabRef was used.
Miscellaneous Hints
Command Line
The package org.jabref.cli
is responsible for handling the command line options.
During development, one can configure IntelliJ to pass command line parameters:
Passing command line arguments using gradle is currently not possible as all arguments (such as -Dfile.encoding=windows-1252
) are passed to the application.
Without jlink, it is not possible to generate a fat jar any more. During development, the capabilities of the IDE has to be used.
Groups
Diagram showing aspects of groups: Groups.uml.
Architectural Decision Records
Architectural decisions for JabRef are recorded.
For new ADRs, please use adr-template.md as basis. More information on MADR is available at https://adr.github.io/madr/. General information about architectural decision records is available at https://adr.github.io/.
FAQ
-
Q: I get
java: package org.jabref.logic.journals does not exist
.A: You have to ignore
buildSrc/src/main
as source directory in IntelliJ as indicated in our setup guide.Also filed as IntelliJ issue IDEA-240250.