-- dirty dirty fix to issue 10

git-svn-id: http://maven-alfresco-archetypes.googlecode.com/svn/trunk@135 04253f4f-3451-0410-a141-5562f1e59037
This commit is contained in:
mindthegab
2009-02-26 12:31:39 +00:00
parent 304744d164
commit 473951825b

View File

@@ -141,6 +141,10 @@ public class AmpUnArchiver extends AbstractZipUnArchiver {
{ {
relativePath = name.substring(7); relativePath = name.substring(7);
} }
else if((name.startsWith("lib/")))
{
relativePath = name.substring(4);
}
else else
relativePath = FileUtils.removePath(name); relativePath = FileUtils.removePath(name);