Troubleshooting - KCL-BMEIS/xnat_form_maker GitHub Wiki

Unable to download gradle

If you are behind a proxy, you have to build the plugin manually. Usually this is performed by the script.

cd ./plugins/[plugin name]
./gradlew clean jar -Dhttp.proxyHost= -Dhttp.proxyPort=3128 -Dhttps.proxyHost= -Dhttps.proxyPort=3129 "-Dhttp.nonProxyHosts=*|localhost"

Replace and 3128 with your proxy details.

Trouble building with Open JDK

If there are issues building with OpenJDK, try running within a docker container:

docker pull  tomcat:9-jdk8-temurin-focal 
docker run -it -v /path/to/xnat_form_maker/plugins:/plugins tomcat:9-jdk8-temurin-focal /bin/bash
cd /plugins/[PLUGIN NAME] && ./gradlew clean jar