Skip to content

Compiling Project

piitex edited this page Jan 25, 2025 · 3 revisions

Compiling

This page assumes you built your project with RSDK or RSDK-GUI.

You will have to compile your project every time you modify the code. Compiling is different for every IDEA.

Intellij

To compile in Intellij you have to navigate to the Maven sidebar (Right side of the window under Notifications). Expand Lifecycle select both clean and install. (To select both you might need to hold ctrl. You can also run them separately in that order.) Press the green triangle run button on the top.

Eclipse

Instructions unknown

Visual Studio

Instructions unknown

Command Line

If you have Maven installed onto windows you can use the terminal or command prompt.

Use cd to navigate to your projects directory or if you are on windows 11 use the open terminal in the right-clicked menu. Once in your projects directory type mvn clean install.

Results

The console or command prompt will tell you the results of the build. If the build passed, the jar file will be inside of the target directory. There might be two jars. orginial-yourjar.jar and yourjar.jar. Never use the original-.

Moving Jar

You will have to move the compiled jar-file from your target directory into your environment directory. Overwrite the file. Now run the debug.bat.

Clone this wiki locally