Skip to content

Building ControlsFX

Abhinay Agarwal edited this page Jul 13, 2019 · 3 revisions

ControlsFX library consists of several projects, which can all be built at once or separately.

  • Building the whole project: execute gradle clean build in the root of the project
  • Each specific project can be built by executing the same command in its respective root
  • Building controlsfx-samples requires cached dependency to controlsfx artifact. In order to see your changes in controlsfx show up in controlsfx-samples, run gradle clean install on controlsfx
  • To execute controlsfx-samples from command line use gradle run inside controlsfx-samples subproject

Importing into IDE

Eclipse

  1. Make sure Gradle IDE is installed
  2. Choose File > Import
  3. In the following Ipport dialog choose Gradle Project
  4. Set root folder to point to yourControlsFx local repository
  5. Press Build Model button to generate Gradle model
  6. In the project list select projects you'd like to import
  7. Choose desired Gradle options below.
  8. Press Finish button.

Idea

  1. Make sure Gradle tooling is installed
  2. In Module Settings window select Import module
  3. In following window select build.gradle file in the root of your local ControlsFX repo
  4. Press Finish button

Netbeans

  1. Make sure Gradle Support is installed
  2. Choose File > Open Project and select ControlsFX root directory
  3. Press Open Project button