org.apache.maven.plugin.eclipse.reader
Class ReadWorkspaceLocations

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocations

public class ReadWorkspaceLocations
extends Object

Scan the eclipse workspace and create a array with IdeDependency for all found artefacts.

Version:
$Id: ReadWorkspaceLocations.java 1681500 2015-05-24 17:25:06Z agudian $
Author:
Richard van Nieuwenhoven

Field Summary
static String BINARY_LOCATION_FILE
           
static String METADATA_PLUGINS_ORG_ECLIPSE_CORE_RESOURCES_PROJECTS
           
 
Constructor Summary
ReadWorkspaceLocations()
           
 
Method Summary
 void init(Log log, WorkspaceConfiguration workspaceConfiguration, MavenProject project, String wtpDefaultServer, boolean preferStandardClasspathContainer)
           
 List<File> readProjectLocations(File workspaceDirectory, Log logger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BINARY_LOCATION_FILE

public static final String BINARY_LOCATION_FILE
See Also:
Constant Field Values

METADATA_PLUGINS_ORG_ECLIPSE_CORE_RESOURCES_PROJECTS

public static final String METADATA_PLUGINS_ORG_ECLIPSE_CORE_RESOURCES_PROJECTS
See Also:
Constant Field Values
Constructor Detail

ReadWorkspaceLocations

public ReadWorkspaceLocations()
Method Detail

init

public void init(Log log,
                 WorkspaceConfiguration workspaceConfiguration,
                 MavenProject project,
                 String wtpDefaultServer,
                 boolean preferStandardClasspathContainer)

readProjectLocations

public List<File> readProjectLocations(File workspaceDirectory,
                                       Log logger)
Parameters:
workspaceDirectory - the directory of the workspace
logger - logger
Returns:
the physical locations of all workspace projects


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.