microservices-patterns / ftgo-application

Example code for the book Microservice patterns
Other
3.35k stars 1.29k forks source link

Make sure that project (development branch) can be imported by idea/eclipse #109

Open dartartem opened 3 years ago

dartartem commented 3 years ago

Idea:

Open project. Set java 8 and jdk8 in module settings. reload all gradle projects

Eclipse:

Import project with standard settings. assemble it with gradle (./gradlew assemble or via eclipse gradle tasks) refresh gradle project

dartartem commented 3 years ago

There were unresolved types in integration tests. integrationTestCompile directive did not work. It is fixed by: https://github.com/dartartem/ftgo-application/commit/92ea07eb1baacc52995edc646a4a7ba4a429c46e

cer commented 3 years ago

How exactly did you import the project into each IDE? each has various ways to import?

dartartem commented 3 years ago

In idea I just opened project with default configuration. Then clicked gear butting in gradle menu "reload all gradle projects".

In eclipse I cliecked Project->Import->Gradle Project (Next->Next->Finish without changing anything). Assembled it by gradle. Then clicked on project folder (In project explorer)->Gradle->Refresh gradle project

cer commented 3 years ago

In idea I just opened project with default configuration - does this mean you opened the file build.gradle and imported the project. Please be precise.

dartartem commented 3 years ago

File->Open->Select ftgo project folder->Ok