Class EclipseProjectScanner
java.lang.Object
tools.mdsd.library.standalone.initialization.core.EclipseProjectScanner
- All Implemented Interfaces:
InitializationTask
The Eclipse Project scanner allows to register multiple projects with the standalone
initialization which are nested inside a given folder.
The scanner looks for Eclipse Project files (".project") files and Jar-File Manifests
("META-INF/MANIFEST.MF"). It should be added to a Standalone Initialization sequence through
StandaloneInitializerBuilder.addCustomTask(InitializationTask)
.-
Field Summary
-
Constructor Summary
ConstructorDescriptionEclipseProjectScanner
(Path basePath) Creates a new Instance of the Eclipse Project Scanner Task. -
Method Summary
Modifier and TypeMethodDescriptionfindProjects
(Path basePath) void
Performs an initialization if running outside of Eclipse.protected static String
protected static String
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tools.mdsd.library.standalone.initialization.InitializationTask
init, initializationWithPlatform, isPlatformRunning
-
Field Details
-
DEFAULT_MAX_DEPTH
public static final int DEFAULT_MAX_DEPTH- See Also:
-
PROJECT_FILE_NAME
- See Also:
-
-
Constructor Details
-
EclipseProjectScanner
Creates a new Instance of the Eclipse Project Scanner Task.- Parameters:
basePath
- the path within which the scanner will look for Eclipse project files or Jar-Manifests.
-
-
Method Details
-
initilizationWithoutPlatform
Description copied from interface:InitializationTask
Performs an initialization if running outside of Eclipse.- Specified by:
initilizationWithoutPlatform
in interfaceInitializationTask
- Throws:
StandaloneInitializationException
- In case of an error during the initialization.
-
findProjects
- Throws:
IOException
-
readProjectNameFromProjectFile
-
readProjectNameFromManifestFile
-