Author: rob.stryker(a)jboss.com
Date: 2007-07-27 13:15:28 -0400 (Fri, 27 Jul 2007)
New Revision: 2704
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/internal/ModelTruezipBridge.java
Log:
small change to ensure its getting proper archive detector if its an archive
Modified:
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/internal/ModelTruezipBridge.java
===================================================================
---
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/internal/ModelTruezipBridge.java 2007-07-27
15:36:46 UTC (rev 2703)
+++
trunk/core/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/internal/ModelTruezipBridge.java 2007-07-27
17:15:28 UTC (rev 2704)
@@ -234,7 +234,7 @@
if( node.getNodeType() == IArchiveNode.TYPE_ARCHIVE ) {
IArchive node2 = ((IArchive)node);
boolean exploded = ((IArchive)node).isExploded();
- ArchiveDetector detector = exploded ? ArchiveDetector.NULL : ArchiveDetector.DEFAULT;
+ ArchiveDetector detector = exploded ? ArchiveDetector.NULL :
TrueZipUtil.getJarArchiveDetector();
if( parentFile == null )
return new
File(node2.getGlobalDestinationPath().append(node2.getName()).toOSString(), detector);
return new File(parentFile, node2.getName(), detector);
Show replies by date