Reputation: 97
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.
Upvotes: 1
Views: 1006
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:
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