Integrate commons-maven to eliminate classpath text file based solution

This commit is contained in:
Alex Boyko
2016-10-25 17:15:25 -04:00
parent ea6079bea2
commit 5ea5b5cb28
47 changed files with 1315 additions and 1002 deletions

View File

@@ -1,14 +1,33 @@
package org.springframework.ide.vscode.commons.java;
import java.nio.file.Path;
public interface IClasspath {
/**
* Deprecated: Remove this. We should expose here information about classpath as a list of entries. Not
* depend on where it is read from.
*/
@Deprecated
Path getPath();
}
/*******************************************************************************
* Copyright (c) 2016 Pivotal, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Pivotal, Inc. - initial API and implementation
*******************************************************************************/
package org.springframework.ide.vscode.commons.java;
import java.nio.file.Path;
import java.util.Collection;
/**
* Classpath for a Java artifact
*
* @author Kris De Volder
* @author Alex Boyko
*
*/
public interface IClasspath {
/**
* Classpath entries paths
*
* @return collection of classpath entries in a form file/folder paths
* @throws Exception
*/
Collection<Path> getClasspathEntries() throws Exception;
}