Add OI and RobotMap files to Command Project template (fixes artf2407)

Change-Id: Ia3fb2a03b6435ae74bd70ad856a41a2c15f22f5a
This commit is contained in:
Kevin O'Connor
2014-08-20 14:35:04 -04:00
parent 3baaea5a44
commit bf5eaf657e
4 changed files with 60 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ public class JavaProjectType implements ProjectType {
@Override public Map<String, String> getFiles(String packageName) {
Map<String, String> files = super.getFiles(packageName);
files.put("src/"+packageName.replace(".", "/")+"/Robot.java", "command-based/Robot.java");
files.put("src/"+packageName.replace(".", "/")+"/RobotMap.java", "command-based/RobotMap.java");
files.put("src/"+packageName.replace(".", "/")+"/OI.java", "command-based/OI.java");
files.put("src/"+packageName.replace(".", "/")+"/commands/ExampleCommand.java", "command-based/ExampleCommand.java");
files.put("src/"+packageName.replace(".", "/")+"/subsystems/ExampleSubsystem.java", "command-based/ExampleSubsystem.java");
return files;