[jbosstools-commits] JBoss Tools SVN: r43963 - branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Sep 24 09:47:24 EDT 2012


Author: rob.stryker at jboss.com
Date: 2012-09-24 09:47:24 -0400 (Mon, 24 Sep 2012)
New Revision: 43963

Modified:
   branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java
Log:
JBIDE-12701 to alpha2

Modified: branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java
===================================================================
--- branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java	2012-09-24 13:47:10 UTC (rev 43962)
+++ branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java	2012-09-24 13:47:24 UTC (rev 43963)
@@ -66,7 +66,7 @@
 	// Get an absolute path, workspace-absolute or fs-absolute
 	public static String getAbsoluteLocation(String expression,
 			String projectName, boolean inWorkspace, double version) {
-		if( projectName == null )
+		if( inWorkspace && projectName == null )
 			return null;
 		
 		if( inWorkspace && ("".equals(expression) || ".".equals(expression))) //$NON-NLS-1$ //$NON-NLS-2$



More information about the jbosstools-commits mailing list