IntelliJ KBean¶
Manages Eclipse metadata files.
EclipseKBean
provides methods for generating metadata files for the Eclipse IDE, specifically the .classpath and .project files.
To ensure it works correctly, define a JEKA_USER_HOME classpath variable in Eclipse with the value ~/.jeka.
Manages Eclipse metadata files.
This KBean exposes the following fields:
| Field | Description |
|---|---|
| javadoc [boolean] | If true, .classpath will include javadoc reference for declared dependencies. |
| jreContainer [String] | If not null, this value will be used as the JRE container path in .classpath. |
| useVarPath [boolean] | If true, dependency paths will be expressed relatively to Eclipse path variables instead of absolute paths. |
This KBean exposes the following methods:
| Method | Description |
|---|---|
| all | Generates Eclipse files (.project and .classpath) on all sub-folders of the current directory. Only sub-folders having a jeka-src directory are taken in account. See eclipse#files. |
| files | Deprecated: use 'sync' instead. |
| sync | Generates Eclipse files (.classpath and .project) in the current directory. The files reflect project dependencies and source layout. |