Search
K
Comment on page

Build / Run Configuration

When you build and run, you can define options on your own.
To set build options, go to [Project] > [build/run configuration].
This opens [Project Properties] pop-up window, which displays the list of projects under [Build/run configuration].

C/C++

This is how to set up build/run options in C++ project.
  • Compiler - g++ / gcc / i686-w64-mingw43-g++ / clang / clang++
  • Main File Name - Write down the main file's name you want to build.
  • Source Path - Choose the folder where Main file exists.
  • Build Path - Choose the folder where the built files will be stored.
  • Build Option - Add build command options.
  • Run Option - Add run command options.
  • Use Makefile - Click the box if you want to use Makefile.

JAVA

This is how to set up build/run options in JAVA project.
  • Main Class path - It shows the path of Main class.
  • Package/Main Class Name - Write down a name of your main class.
  • Source Path - Choose the folder that contains the main class you want to build.
  • Class Path - Choose the folder where the library file(Jar) exists.
  • Build Path - Choose the folder where the built files will be stored.
  • Build Option - Add build command options.
  • Run Option - Add run command options.

Node.js

This is how to set up build/run options in Node.js project.
  • Run On - Choose your preferred run option, either server or console.
  • Execution File - Choose the main file you want to run.
  • Source Path - Write down the path of the folder which contains the main file.
  • Run Option - Add run command options.
  • Log File Path - Write down the Log file path.

Python

This is how to set up build/run options in Python project.
  • Run On - Choose your preferred run option, either server or console.
  • Compiler - Python2 / Python3
  • Execution File - Choose the main file to run.
  • Source Path - Write down the path of the folder that the main file exists.
  • Run Option - Add run command options.
  • Log File Path - Set the Log file path.

Ruby

This is how to set up build/run options in Python project.
  • Run On - Choose your preferred run option, either server or console.
  • Execution File - Choose the main file you want to run.
  • Source Path - Write down the path the folder that the main exists.
  • Run Option - Add run command options.
  • Log File Path - Set the Log file path.

JSP

This is how to set up build/run options in Python project.
  • Main Class Path - Path of the main class.
  • Main Class Name - Choose the main class to build.
  • Index File - Choose the the main file to run.
  • Deploy Path - Write down the Tomcat deploy path.
  • Source Path - Choose the folder where the main class exists.
  • Class Path - Choose the folder where the library file(Jar) exists.
  • Build Path - Choose the folder where the built files will be stored.
  • Build Option - Add build command options to.
  • Log File Path - Set the Log file path.
  • Web Viewer - Choose the location that your browser can show the execution result.

PHP

This is how to set up build/run options in PHP project.
  • Index File - Choose the main file to run.
  • Log File Path - Set the Log file path.
  • Web Viewer - Choose the location that your browser can show the execution result.

If you want to check the execution results of other files(which are not index.php),

For example, suppose you have a test.php file. Choose one of the two ways below.
1. After running the project, access to https://[Project URL]/test.php
or
2-1. Enter the top menu [Project] - [build/run configuration], and select the "test.php" file at [Index file] item, then click OK to save.
2-2. Modify the run command to php -S 0.0.0.0:${current.using.port} ${php.set.main}.php
2-3. After running the project, access to https://[Project URL]/test.php

.NET

This is how to set up build/run options in .NET project.
  • Namespace
  • Target Framework
  • Build Option - Set build command options to add.
  • Run Option - Set run command options to add.

Spring-Maven

This is how to set up build/run options in Spring-Maven projects.
The project.build described below means <project > <build></build> </project> in the pom.xml file.
  • pom.xml Path - pom.xml file path. The default setting is pom.xml for top path of the project.
    • Automatically set pom.xml when container runs - Automatically locate and set the pom.xml location when connecting to the container at check time. Sets the topmost pom.xml to priority.
    • Subattributes are set automatically by changing the pom.xml path, saving pom.xml file, or start running project. Read and apply the project.properties set in pom.xml as well is also read and applied.
    • Deploy Path - The path Tomcat sees when running a project. [Project]>[Toggle Build Automatically] feature also compiles and copies files based on that path. The path is set to project.build.directory/project.build.finalName in pom.xml
      • Command Variable : ${java.set.deploy.path}
    • Source Path - The path is set to project.build.sourceDirectory in pom.xml
      • Command Variables : ${java.set.src_path}
    • Build Path - The path is set toproject.build.outputDirectory in pom.xml
      • Command Variables : ${java.set.build.path}
  • The <properties> set in project.profiles.profile in pom.xml are also available.
    • Read the profile.properties whose project.profiles.profile.activeByDefault is set to true.
    • If the variable name in the existing project.properties is the same, apply the value set in project.profiles.profile.properties first.
Changes can be returned to their initial state by the Revert to default settingsbutton. The Apply button allows users to apply the custom build/run option. You can apply change just with the OKbutton at the bottom. If you do not want to apply it after changing, press Cancel or OK after revert to the default settings.
Last modified 2yr ago