Commit bb9eabfc authored by NicolaiO's avatar NicolaiO 🐼
Browse files

converted to maven

parents
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src-gen">
<attributes>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
/target/
/src-gen/
/cpp-src/
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ProtobufMessages</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.8
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.tigers.protobufMessages</groupId>
<artifactId>protobufMessages</artifactId>
<version>2.6.1-6</version>
<name>ProtobufMessages</name>
<dependencies>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.6.1</version>
</dependency>
</dependencies>
<build>
<sourceDirectory>src-gen</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<!-- <plugin> -->
<!-- <groupId>org.apache.maven.plugins</groupId> -->
<!-- <artifactId>maven-compiler-plugin</artifactId> -->
<!-- <configuration> -->
<!-- <source>1.7</source> -->
<!-- <target>1.7</target> -->
<!-- </configuration> -->
<!-- </plugin> -->
<!-- <plugin> -->
<!-- <groupId>com.google.protobuf.tools</groupId> -->
<!-- <artifactId>maven-protoc-plugin</artifactId> -->
<!-- <version>0.4.3</version> -->
<!-- <configuration> -->
<!-- <protocExecutable>protoc</protocExecutable> -->
<!-- </configuration> -->
<!-- <executions> -->
<!-- <execution> -->
<!-- <goals> -->
<!-- <goal>compile</goal> -->
<!-- </goals> -->
<!-- </execution> -->
<!-- </executions> -->
<!-- </plugin> -->
</plugins>
</build>
</project>
\ No newline at end of file
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto.model.modules.impls.ai";
option java_outer_classname = "AIModulesProtos" ;
message PlaysOverview {
optional int32 botsWithoutRole = 1;
repeated string activePlays = 2;
}
message TacticalField {
optional bool tigersScoringchance = 1;
optional bool tigersApproximateScoringchance = 2;
optional bool foesScoringchance = 3;
optional bool foesApproximateScoringchance = 4;
optional string botLastTouched = 5;
optional string closestTeamToBall = 6;
optional BallPossesion ballPossesion = 7;
}
message BallPossesion{
required string ballPossesion = 1;
optional string tigersBotId = 2;
optional string foeBotId = 3;
}
\ No newline at end of file
package edu.dhbw.mannheim.tigers.sumatra.proto;
option
java_package = "edu.dhbw.mannheim.tigers.sumatra.proto.model.modules.impls.ai";
option java_outer_classname = "ApollonProtos" ;
message DatabaseOptions {
required string name = 1;
optional string path = 2;
optional bool persistStartegyMerge = 3 [default = true];
optional bool saveOnClose = 4 [default = true];
}
message MatchingOptions{
required double acceptableMatch = 1;
}
\ No newline at end of file
package edu.dhbw.mannheim.tigers.sumatra.proto;
option
java_package = "edu.dhbw.mannheim.tigers.sumatra.proto.model.modules.impls.ai";
option java_outer_classname = "AthenaProtos" ;
message AvailablePlays {
repeated string plays = 1;
}
message PlayCommand {
required string playName = 1;
optional int32 numRolesToAssign = 2;
}
message PlaysToRemove {
repeated string playsToRemove = 1;
}
message ForceNewDecision{
optional bool doAction = 1 [default = true];
}
\ No newline at end of file
package edu.dhbw.mannheim.tigers.sumatra.proto;
option
java_package = "edu.dhbw.mannheim.tigers.sumatra.proto.model.modules.impls.ai";
option java_outer_classname = "BotOverviewProtos" ;
message BotOverview {
repeated Bot bots = 1;
}
message Bot {
required int32 id = 1;
optional string name = 2;
optional string role = 3;
optional bool ballContact = 4;
optional Conditions conditions = 5;
optional DestinationCondition destinationTarget = 6;
optional BotSkills skills = 7;
}
message BotSkills {
optional string move = 1;
optional string dribble = 2;
optional string shoot = 3;
}
message DestinationCondition {
required string destinationTarget = 1;
required string state = 2;
}
message Conditions {
repeated Condition conditions = 4;
optional bool conditionStatus = 5;
}
message Condition{
required string name = 1;
required string condition = 2;
required string state= 3;
}
\ No newline at end of file
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto.model.modules.impls.ai";
option java_outer_classname = "AIGeneralProtos";
message AIException {
required string message = 1;
}
message MatchBehaviour {
required string behaviour = 1;
}
message AIMode {
required string mode = 1;
}
package edu.dhbw.mannheim.tigers.sumatra.proto;
option
java_package = "edu.dhbw.mannheim.tigers.sumatra.proto.model.modules.impls.ai";
option java_outer_classname = "LachesisProtos" ;
message AvailableRoles {
repeated string roles = 1;
}
message RoleCommand {
required string roleName = 1;
optional int32 botId = 2;
}
message ClearRoleCommand {
optional bool doAction = 1 [default = true];
}
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto";
option java_outer_classname = "BotActionCommandProtos";
import "android_bot_color_id.proto";
message BotActionCommand {
required BotColorId botId = 1;
optional float translateX = 2;
optional float translateY = 3;
optional float rotate = 4;
optional float kickForce = 5;
optional float chipForce = 6;
optional float kickArm = 7;
optional float chipArm = 8;
optional float dribble = 9;
optional bool disarm = 11;
optional bool nextBot = 12;
optional bool unassignBot = 13;
optional float accelerate = 14;
optional float decelerate = 15;
}
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto";
option java_outer_classname = "AiControlProtos";
import "android_bot_color_id.proto";
import "android_param_instance.proto";
message AiControl {
required BotColorId botId = 1;
enum Type {
SKILL = 1;
ROLE = 2;
PLAY = 3;
}
required Type type = 2;
required ParamInstance instance = 3;
}
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto";
option java_outer_classname = "AiControlAvailableProtos";
import "android_param_instance.proto";
message AiControlAvailable {
repeated ParamInstance plays = 2;
repeated ParamInstance roles = 3;
repeated ParamInstance skills = 4;
}
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto";
option java_outer_classname = "AiControlStateProtos";
message AiControlState {
enum AiState {
MATCH = 1;
TEST = 2;
EMERGENCY = 3;
}
required AiState state = 1;
}
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto";
option java_outer_classname = "BotColorIdProtos";
message BotColorId {
required int32 botId = 1 [default=-1];
enum Color {
YELLOW = 0;
BLUE = 1;
UNINITIALIZED = 2;
}
required Color color = 2 [default=UNINITIALIZED];
}
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto";
option java_outer_classname = "BotStatusProtos";
import "android_bot_color_id.proto";
message BotStatus {
required BotColorId botId = 1;
optional bool connected = 2 [default = false];
optional bool available = 3 [default = true];
optional bool blocked = 4 [default = false];
optional int32 battery = 5 [default = 0];
optional int32 kicker = 6 [default = 0];
optional string controlledBy = 7 [default = ""];
}
message BotStati {
repeated BotStatus stati = 1;
}
\ No newline at end of file
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto";
option java_outer_classname = "LifeSignProtos";
import "android_bot_color_id.proto";
message LifeSign {
required string name = 1;
optional BotColorId activeBot = 2;
}
package edu.dhbw.mannheim.tigers.sumatra.proto;
option java_package = "edu.dhbw.mannheim.tigers.sumatra.proto";
option java_outer_classname = "LogMessagesProtos";
message LogMessage {
required string message = 1;
enum Level {
TRACE = 1;
DEBUG = 2;
INFO = 3;
WARN = 4;
ERROR = 5;
FATAL = 6;
}
required Level level = 2;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment