Skip to content

SolidityBuilder

UrsZeidler edited this page Feb 1, 2017 · 9 revisions

Solidity builder

The compiler support plugin adds preferences to manage the solidity compilers and the builder. The builder uses the selected compiler to generate a combine json file from the given sources files.

to enable the compilation of solidity files in eclipse:

  • add the compiler to the preferences
  • add the builder to the project
  • configure the builder

solidity builder preferences

The builder preferences are divided in the preferences part and the project specific setting. The builder is always configured by the project settings.

installed compiler pref

Installed solidity compilers

The preferences for the solidity builder contains a list of available compilers and where to find them.

installed compiler pref

  • add - Select a solc file to add a single compiler
  • remove - Removes a selected entry
  • search - Searches recusive the given directory for solc files

Each solc is checked and queried for the version, only valid compilers are added to the view. From this view you can select the

Solc Builder Preference Page

Uses the list of compilers to set the compiler for a project. The main preferences are used as template for the project preferences.

installed compiler pref

configure builder

The builder setting is taken from the project properties and will be configured via the context menu [properties] on the project.

installed compiler pref

enable disable builder

The builder is added via context menu on the project.

installed compiler pref

installed compiler pref

Clone this wiki locally