I got down the Rabbit hole of designing my own [plugin], and got lost in java, groovy, gradle, maven and then stopped.
- the structure of the codebase
- how to set up a development environment
git
installed. I think it's likely that you already have it so I'll leave the details out.brew install openjdk@8
on a mac (but only if it has an intel chip).mvn
which is odd but it is what it is. We also use gradle as a build tool but you won't need to install it manually because we use "wrapper scripts" in each repo that download gradle for you. You'll run, say, ./gradlew war
to build the XNAT WAR file and it will work.JAVA_HOME
environment variable to point to the JDK you installed. There is a magical command that will figure it out for you. Put this command into your shell's configuration so it runs every time you open a terminal:export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
mvn -version
or ./gradlew --version
(from within a repo directory) and it prints out the correct JDK version you installed.- how to run tests
mvn test
for maven or ./gradlew test
for gradle, though the details may vary a bit by repo.- what issues are good for first time contributors
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xnat_discussi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/57b1e234-4bdf-40a9-aa02-b6b066c5f52en%40googlegroups.com.
Thanks,
Chris
You don't often get email from paul.14...@gmail.com.
Learn why this is important
|
CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
AVIS DE CONFIDENTIALITÉ : Ce message électronique, ainsi que tout fichier qui y est joint, est réservé à l’usage exclusif du destinataire visé et peut contenir des renseignements confidentiels et privilégiés. Toute lecture, utilisation, divulgation ou distribution non autorisée est interdite. Si vous n’êtes pas le destinataire visé, veuillez en aviser l’expéditeur par retour de courriel et détruire toutes les copies du message original.
Thanks,
Chris
Women’s College Hospital is located on the traditional lands of the Anishinaabe, Mississauga, Haudenosaunee, Ojibway/Chippewa and Huron-Wendat nations.
You don't often get email from marku...@gmail.com.
Learn why this is important
|