GSoC 2019: Week 2 updates

This week mostly involved studies and work for the Server Manager. On a new branch, I have started replacing the old UI code. Probably at the end of this summer, it’ll get merged into develop branch, when the launcher will be on the verge of version 4.

Web API client generation

I used the Swagger codegen plugin for Gradle to help generate the API client sources automatically using the API specifications. To generate the sources:

  1. Go to the root of TerasologyLauncher project
  2. Run gradlew generateSwaggerCodeClient to generate the sources
  3. Run gradlew idea to rebuild IntelliJ files
  4. Now open TerasologyLauncher.ipr in IntelliJ or restart it to finish importing

On success, you’ll see a new module in the project tree.

2019-06-10-124746_1366x768_scrot

Be sure to check out this post on my weekly GSoC forum thread.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

Create your website at WordPress.com
Get started
%d bloggers like this: