eclipse plugin: Fix the path computing logic and remove a debug statement
This commit is contained in:
parent
2c073a6df0
commit
b6d460e8dd
1 changed files with 1 additions and 3 deletions
|
@ -118,7 +118,7 @@ public class ProjectUtils
|
|||
String projectPath = null;
|
||||
|
||||
if (handle.getLocation() == null && description != null)
|
||||
projectPath = description.getLocationURI().toString( ).substring( 1 );
|
||||
projectPath = description.getLocationURI().getPath( ).toString( ).substring( 1 );
|
||||
else if ( handle.getLocation( ) != null )
|
||||
projectPath = handle.getLocation().toOSString();
|
||||
else // project is in workspace
|
||||
|
@ -126,8 +126,6 @@ public class ProjectUtils
|
|||
ResourcesPlugin.getWorkspace( ).getRoot( ).getLocation( ).toOSString( )
|
||||
+ "/" + handle.getProject( ).getName( );
|
||||
|
||||
System.out.println( projectPath );
|
||||
|
||||
monitor.subTask(Messages.ProjectUtils_0);
|
||||
|
||||
// cleanup existing files
|
||||
|
|
Loading…
Add table
Reference in a new issue