TommasoD / progetto-sagrada

Ingegneria Software 2018
0 stars 0 forks source link

Jenkins compilation issues #3

Closed valerio-castelli closed 6 years ago

valerio-castelli commented 6 years ago

Your code is not compiling: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project LM50: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd /var/jenkins_home/workspace/LM50 && /var/jenkins_home/tools/hudson.model.JDK/jre/bin/java -javaagent:/var/jenkins_home/.m2/repository/org/jacoco/org.jacoco.agent/0.8.1/org.jacoco.agent-0.8.1-runtime.jar=destfile=/var/jenkins_home/workspace/LM50/target/jacoco.exec -jar /var/jenkins_home/workspace/LM50/target/surefire/surefirebooter4393879892860161423.jar /var/jenkins_home/workspace/LM50/target/surefire/surefire3191701178162884868tmp /var/jenkins_home/workspace/LM50/target/surefire/surefire_01758920004389785267tmp [ERROR] -> [Help 1] This seems to be due to a missing file: /var/jenkins_home/workspace/LM50\src\main\java\it\polimi\ingsw\model\windows\window1.xml (No such file or directory) Please make sure that ALL your resource files are in src\main\resources and NOT in \src\main\java.

TommasoD commented 6 years ago

We moved all the XML files to a new directory called resources in src\main\

This should have solved the issue. Let us know.

valerio-castelli commented 6 years ago

Seems something is still wrong for some reason: java.io.FileNotFoundException: /var/jenkins_home/workspace/LM50\src\main\resources\window1.xml (No such file or directory) Please talk to Niccolò about this issue during the lab!

n1zzo commented 6 years ago

Fixed. Now closing.