luckymanStefan
luckymanStefan

Reputation: 97

Don't get ControlsFX repo to compile

I cannot compile the ControlsFX repo which I cloned from Github. It does not work because there are absolute paths in the required libraries (the ones with user "Eugene") that do not exist on my machine.

enter image description here

Upvotes: 1

Views: 1006

Answers (2)

negste
negste

Reputation: 323

Since 2018-12-29 ControlsFX has moved to GitHub

Upvotes: 2

José Pereda
José Pereda

Reputation: 45466

If you are cloning ControlsFX from GitHub, you are cloning a fork, but not the official repo.

It seems this fork has some hardcoded paths in the .classpath file, similar to those you posted in the screenshot.

If this is your source:

  • This repo is a fork, not the official repo
  • It hasn't been updated since more than four years
  • You should check for a more trustable source

The official repo is in BitBucket: https://bitbucket.org/controlsfx/controlsfx

EDIT

If you just want to use ControlsFX as a dependency in your project, you don't need to clone or build the project from the scratch, you can just add it as a dependency.

There are several ways to do it, based on how you build your project.

  • With ant, adding manually your dependencies, you can download the jar from FXExperience for instance, but it is better if you do it directly from Maven Central. Select the required version (8.40.14 for Java 8 or 9.0.0 for Java 9), and download the jar.

  • With Maven or Gradle, you can just include the dependency:

Maven:

 <dependency>
    <groupId>org.controlsfx</groupId>
    <artifactId>controlsfx</artifactId>
    <version>8.40.14</version>
 </dependency>

Gradle:

 compile 'org.controlsfx:controlsfx:8.40.14'

Upvotes: 3

Related Questions