I am using robocode 1.9.2.6
I created a simple maven project for my robot. When I import the generated the jar into Robocode UI, Robot-> Import Robot. It says robot imported successfully and the jar file is copied into the robots folder.
After that when I create a new Battle my robot doesnt appear. Tried refreshing and clean cache.
When I set path of my class folder in the preferences->development it works.
Let me know if more information is needed.
From what I can tell from the question, I guess you haven't included the file
MyRobotName.propertiesin the resulting.jar. Did you build the.jarusing Maven?Try packaging the robot with Robocode itself (using the built-in packager) as follows:
The resulting
.jarfile should be found in Robocode.Alternatively, you can surely configure your build process in a way such that it creates the
.propertiesfile for you. Just have a look at the one created by the Robocode packager and reconstruct it. That's what I do in my Gradle build process.