mill.eclipse
Members list
Type members
Classlikes
The object contains the necessary information required to create all Eclipse JDT files for a specific project.
The object contains the necessary information required to create all Eclipse JDT files for a specific project.
Value parameters
- dependentLibraries
-
used for creating the ".classpath" file
- dependentProjectPaths
-
used for creating the ".classpath" file
- javaSourceVersion
-
used for creating the Eclipse JDT related preferences
- javaTargetVersion
-
used for the launcher and creating the Eclipse JDT related preference
- linkedResources
-
will include source folders outside of the project directory
- projectName
-
used for creating the ".project" file
- sourceFolders
-
used for creating the ".classpath" file
Attributes
- Source
- EclipseJdtProject.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- EclipseJdtUtils.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EclipseJdtUtils.type
This generates Eclipse and Eclipse JDT project files for Java - Scala, Kotlin not supported!
This generates Eclipse and Eclipse JDT project files for Java - Scala, Kotlin not supported!
This includes the following files per project:
- ".project", see EclipseJdtUtils.createProjectFileContent
- ".classpath", see EclipseJdtUtils.createClasspathFileContent
- ".settings/org.eclipse.core.prefs", see EclipseJdtUtils.getOrgEclipseCoreResourcesPrefsContent
- ".settings/org.eclipse.jdt.core.prefs", see EclipseJdtUtils.getOrgEclipseJdtCorePrefsContent
For more information as well as limited references for the file format, see the latest Eclipse IDE documentation.
This can be improved in the future for finding the project Java source and target version by looking at JavaModuleApi.javacOptions for the "-source" and "-target" flags! This is not yet implemented and relies on the Java Runtime version of the Mill process due to the fact that the Mill Modules are aggregated as much as possible for generating Eclipse JDT Projects!
Attributes
- Companion
- object
- Source
- GenEclipseImpl.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Source
- GenEclipseImpl.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
GenEclipseImpl.type
This contains the information about a Mill Module library. As this not necessarily has to be a Jar archive and if it is, there is no garantee that a sources or Javadoc Jar archive exists.
This contains the information about a Mill Module library. As this not necessarily has to be a Jar archive and if it is, there is no garantee that a sources or Javadoc Jar archive exists.
Value parameters
- jarPath
-
path to the main library (most likely a Jar archive)
- javadocJarPath
-
(optional) path to Javadoc archive
- sourcesJarPath
-
(optional) path to sources archive
Attributes
- Source
- EclipseJdtProject.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
For source folders outside of the Eclipse JDT Project directory we have to create a linked resource that will be in turn be used in the ".classpath" file via its name.
For source folders outside of the Eclipse JDT Project directory we have to create a linked resource that will be in turn be used in the ".classpath" file via its name.
Value parameters
- absolutePath
-
to the linked resources
- name
-
of the linked resource (by default the folder name) used for the classpath entry
Attributes
- See also
- Source
- EclipseJdtProject.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
This contains the information about a source folder for the Eclipse JDT Project. We eequire this information for constructing the ".classpath" information with the correct output directories.
This contains the information about a source folder for the Eclipse JDT Project. We eequire this information for constructing the ".classpath" information with the correct output directories.
Value parameters
- isTest
-
whether this contains test code or nor
- relativePath
-
to the source folder
Attributes
- Source
- EclipseJdtProject.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all