Java Code Examples for com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil#toCanonicalPath()

The following examples show how to use com.intellij.openapi.externalSystem.util.ExternalSystemApiUtil#toCanonicalPath() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ProjectData.java    From consulo with Apache License 2.0 5 votes vote down vote up
@Deprecated
public ProjectData(@Nonnull ProjectSystemId owner,
                   @Nonnull String ideProjectFileDirectoryPath,
                   @Nonnull String linkedExternalProjectPath) {
  super(owner, "unnamed");
  myLinkedExternalProjectPath = ExternalSystemApiUtil.toCanonicalPath(linkedExternalProjectPath);
  myIdeProjectFileDirectoryPath = ExternalSystemApiUtil.toCanonicalPath(ideProjectFileDirectoryPath);
}
 
Example 2
Source File: ProjectData.java    From consulo with Apache License 2.0 5 votes vote down vote up
public ProjectData(@Nonnull ProjectSystemId owner,
                   @Nonnull String externalName,
                   @Nonnull String ideProjectFileDirectoryPath,
                   @Nonnull String linkedExternalProjectPath) {
  super(owner, externalName);
  myLinkedExternalProjectPath = ExternalSystemApiUtil.toCanonicalPath(linkedExternalProjectPath);
  myIdeProjectFileDirectoryPath = ExternalSystemApiUtil.toCanonicalPath(ideProjectFileDirectoryPath);
}
 
Example 3
Source File: ProjectData.java    From consulo with Apache License 2.0 4 votes vote down vote up
public void setIdeProjectFileDirectoryPath(@Nonnull String ideProjectFileDirectoryPath) {
  myIdeProjectFileDirectoryPath = ExternalSystemApiUtil.toCanonicalPath(ideProjectFileDirectoryPath);
}
 
Example 4
Source File: ContentRootData.java    From consulo with Apache License 2.0 2 votes vote down vote up
/**
 * Creates new <code>GradleContentRootImpl</code> object.
 *
 * @param rootPath  path to the root directory
 */
public ContentRootData(@Nonnull ProjectSystemId owner, @Nonnull String rootPath) {
  super(owner);
  myRootPath = ExternalSystemApiUtil.toCanonicalPath(rootPath);
}