[jbosstools-commits] JBoss Tools SVN: r43961 - trunk/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:31:37 EDT 2012


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

Modified:
   trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java
Log:
JBIDE-12701 commit to trunk

Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java	2012-09-24 13:16:48 UTC (rev 43960)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java	2012-09-24 13:31:37 UTC (rev 43961)
@@ -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