I was wondering whether the Java track supports submitting multiple files?
I was working on the Robot Simulator exercise on the track, made changes to both the Robot.java and Orientation.java and ran exercism submit src/main/java/Robot.java src/main/java/Orientation.java.
I can see an iteration with the changes in exercism, but the exercism shows compilation errors (gradle test runs just fine locally on my machine).
[ERROR] COMPILATION ERROR :
[ERROR] /tmp/solution/src/main/java/Robot.java:[21,34] cannot find symbol
symbol: method turnRight()
location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[25,34] cannot find symbol
symbol: method turnLeft()
location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[29,31] cannot find symbol
symbol: method advance(GridPosition)
location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[36,46] cannot find symbol
symbol: method turnRight()
location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[39,46] cannot find symbol
symbol: method turnLeft()
location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[42,43] cannot find symbol
symbol: method advance(GridPosition)
location: variable orientation of type Orientation
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project exercise: Compilation failure: Compilation failure:
[ERROR] /tmp/solution/src/main/java/Robot.java:[21,34] cannot find symbol
[ERROR] symbol: method turnRight()
[ERROR] location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[25,34] cannot find symbol
[ERROR] symbol: method turnLeft()
[ERROR] location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[29,31] cannot find symbol
[ERROR] symbol: method advance(GridPosition)
[ERROR] location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[36,46] cannot find symbol
[ERROR] symbol: method turnRight()
[ERROR] location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[39,46] cannot find symbol
[ERROR] symbol: method turnLeft()
[ERROR] location: variable orientation of type Orientation
[ERROR] /tmp/solution/src/main/java/Robot.java:[42,43] cannot find symbol
[ERROR] symbol: method advance(GridPosition)
[ERROR] location: variable orientation of type Orientation
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
I’m pretty sure I added those methods to Orientation in the iteration…