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=127.0.0.1 -Dhttp.proxyPort=3128 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=3129 "-Dhttp.nonProxyHosts=*.nonproxyrepos.com|localhost"
Replace 127.0.0.1 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
then:
cd /plugins/[PLUGIN NAME] && ./gradlew clean jar