EclipseJdtUtils

mill.eclipse.EclipseJdtUtils

Attributes

Source
EclipseJdtUtils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def createClasspathFileContent(javaTargetVersion: String, sourceFolders: Seq[SourceFolder], dependentProjectName: Seq[String], dependentLibraries: Seq[Library]): Elem

This generates the XML content for the ".classpath" file based on the adjusted information from a EclipseJdtProject object. Adjusted because the dependent project names are not yet final when such an object is created.

This generates the XML content for the ".classpath" file based on the adjusted information from a EclipseJdtProject object. Adjusted because the dependent project names are not yet final when such an object is created.

Value parameters

dependentLibraries

used for creating dependency entries (optional sources / javadoc)

dependentProjectName

used for creating dependency entries

javaTargetVersion

used for setting the launcher container version

sourceFolders

used for creating the entries and the correct output directories

Attributes

Returns

the XML content of the file

Source
EclipseJdtUtils.scala
def createJdtProjectFileContent(projectName: String, linkedResources: Seq[LinkedResource]): Elem

Create the ".project" file content for JDT projects

Create the ".project" file content for JDT projects

Value parameters

linkedResources

used to create the links with the correct name and path

projectName

name of the Eclipse project

Attributes

Returns

the XML content of the file

Source
EclipseJdtUtils.scala
def createNormalProjectFileContent(projectName: String): Elem

Create the ".project" file content for normal, non-JDT projects

Create the ".project" file content for normal, non-JDT projects

Value parameters

projectName

name of the Eclipse project

Attributes

Returns

the XML content of the file

Source
EclipseJdtUtils.scala
def createProjectFileContent(projectName: String, isJdtProject: Boolean, linkedResources: Seq[LinkedResource]): Elem

This creates the XML content for the ".project" file.

This creates the XML content for the ".project" file.

Value parameters

isJdtProject

used for setting the build command / nature of JDT

linkedResources

used to create the links with the correct name and path

projectName

name of the Eclipse project

Attributes

Returns

the XML content of the file

See also
Source
EclipseJdtUtils.scala

Creates the content for the ".settings/org.eclipse.core.resources.prefs" file. This is the standard configuration, users can later change / enhance this from within Eclipse itself.

Creates the content for the ".settings/org.eclipse.core.resources.prefs" file. This is the standard configuration, users can later change / enhance this from within Eclipse itself.

This is the Java Properties file format, the content is the default set when a project is created from within Eclipse.

Attributes

Source
EclipseJdtUtils.scala
def getOrgEclipseJdtCorePrefsContent(javaSourceVersion: String, javaTargetVersion: String): String

Creates the content for the ".settings/org.eclipse.jdt.core.prefs" file.

Creates the content for the ".settings/org.eclipse.jdt.core.prefs" file.

This is the Java Properties file format, the content is the default set when a Java project is created from within Eclipse.

Value parameters

javaSourceVersion

used for setting the compiler source / compliance version

javaTargetVersion

used for setting the compiler target version

Attributes

Source
EclipseJdtUtils.scala