roborescue / adf-sample-agent-java

A sample team using RCRS Agent Development Framework
https://roborescue.github.io/rcrs-adf-sample/
BSD 3-Clause "New" or "Revised" License
10 stars 26 forks source link

gradlew problem #15

Closed 2661348402 closed 2 years ago

2661348402 commented 2 years ago

The problem occurs when I try ./gradlew build,how do i solve it? 图片 )

tkmnet commented 2 years ago

The version of java code is specified as 17 in build.gradle. So you will solve the problem by installing OpenJDK-17 or later.

2661348402 commented 2 years ago

Why we can't run the team's previous code, what's the problem 图片 图片

gnardin commented 2 years ago

Dear @2661348402 There was a change in the communication infrastructure with the release of RCRS Server v2.0 that prevents to run without change any team developed using the ADF v1.1.

RCRS Server x ADF versions compatibility RCRS Server v1.5 or earlier - ADF v1.1 or earlier RCRS Server v2.0 - ADF v4.0

Migration You will have to migrate the legacy code to the new ADF 4.0 to be able to run it on the RCRS Server 2.0. The migration is simple since the ADF itself was not modified. I suggest you

Please let us know if you succeeded in migrating your code to the new ADF version.

2661348402 commented 2 years ago

Does the new version only include the sample team in the source code, which is very different from the previous source code, how do we integrate them together 图片 图片

gnardin commented 2 years ago

Yes, the adf-sample-agent-java project includes only the sample_team code. The default module's classes were moved to the adf-core-java project under the adf.impl package. We moved the default module's classes to the the adf-core-java project because it was confusing to new user to understand the structure of the sample agent directory structure.

Please let me know if you have any further questions.