179 | 179 |
|
180 | 180 |
import plm.core.UserSwitchesListener;
|
181 | 181 |
import plm.core.lang.ProgrammingLanguage;
|
182 | |
@@ -101,7 +101,7 @@ public class GitSpy implements ProgressS
|
|
182 |
@@ -105,7 +105,7 @@ public class GitSpy implements ProgressS
|
183 | 183 |
createFiles(exo);
|
184 | 184 |
checkSuccess(exo);
|
185 | 185 |
|
|
188 | 188 |
String userUUID = Game.getInstance().getUsers().getCurrentUser().getUserUUIDasString();
|
189 | 189 |
String userBranch = "PLM"+GitUtils.sha1(userUUID);
|
190 | 190 |
|
191 | |
@@ -122,7 +122,7 @@ public class GitSpy implements ProgressS
|
|
191 |
@@ -126,7 +126,7 @@ public class GitSpy implements ProgressS
|
192 | 192 |
createFiles(lastExo);
|
193 | 193 |
|
194 | 194 |
try {
|
|
197 | 197 |
String userUUID = Game.getInstance().getUsers().getCurrentUser().getUserUUIDasString();
|
198 | 198 |
String userBranch = "PLM"+GitUtils.sha1(userUUID);
|
199 | 199 |
|
200 | |
@@ -138,7 +138,7 @@ public class GitSpy implements ProgressS
|
|
200 |
@@ -142,7 +142,7 @@ public class GitSpy implements ProgressS
|
201 | 201 |
try {
|
202 | 202 |
deleteFiles(exo);
|
203 | 203 |
|
|
206 | 206 |
String userUUID = Game.getInstance().getUsers().getCurrentUser().getUserUUIDasString();
|
207 | 207 |
String userBranch = "PLM"+GitUtils.sha1(userUUID);
|
208 | 208 |
|
209 | |
@@ -185,7 +185,7 @@ public class GitSpy implements ProgressS
|
|
209 |
@@ -189,7 +189,7 @@ public class GitSpy implements ProgressS
|
210 | 210 |
* Helper methods
|
211 | 211 |
*/
|
212 | 212 |
@SuppressWarnings("unchecked")
|
|
215 | 215 |
|
216 | 216 |
ExecutionProgress lastResult = exoFrom.lastResult;
|
217 | 217 |
|
218 | |
@@ -229,7 +229,7 @@ public class GitSpy implements ProgressS
|
|
218 |
@@ -233,7 +233,7 @@ public class GitSpy implements ProgressS
|
219 | 219 |
*/
|
220 | 220 |
@SuppressWarnings("unchecked")
|
221 | 221 |
private String writePLMStartedOrLeavedCommitMessage(String kind) {
|
|
224 | 224 |
|
225 | 225 |
// Retrieve the feedback informations
|
226 | 226 |
jsonObject.put("java", System.getProperty("java.version") + " (VM: " + System.getProperty("java.vm.name") + "; version: " + System.getProperty("java.vm.version") + ")");
|
227 | |
@@ -362,7 +362,7 @@ public class GitSpy implements ProgressS
|
|
227 |
@@ -366,7 +366,7 @@ public class GitSpy implements ProgressS
|
228 | 228 |
e.printStackTrace();
|
229 | 229 |
}
|
230 | 230 |
|
|
233 | 233 |
msg.put("studentInput", studentInput);
|
234 | 234 |
String commitMsg = writeCommitMessage(lastExo, null, evt_type, msg);
|
235 | 235 |
String userUUID = Game.getInstance().getUsers().getCurrentUser().getUserUUIDasString();
|
236 | |
@@ -395,7 +395,7 @@ public class GitSpy implements ProgressS
|
|
236 |
@@ -399,7 +399,7 @@ public class GitSpy implements ProgressS
|
237 | 237 |
e.printStackTrace();
|
238 | 238 |
}
|
239 | 239 |
|