You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Matt Bishop (JIRA)" <de...@geronimo.apache.org> on 2006/03/03 21:17:41 UTC

[jira] Created: (GERONIMO-1685) Need to ignore .DS_Store files in deployment dirs

Need to ignore .DS_Store files in deployment dirs
-------------------------------------------------

         Key: GERONIMO-1685
         URL: http://issues.apache.org/jira/browse/GERONIMO-1685
     Project: Geronimo
        Type: Bug
  Components: deployment  
    Versions: 1.0    
 Environment: Mac OS X
    Reporter: Matt Bishop
    Priority: Trivial


Mac OS X creates a little file in every directory that the user views in the Finder (Think Windows Explorer) called ".DS_Store".  Geronimo, upon seeing such a file, tries to open it as if it were a deployable app, leading to the following stack traces:

09:03:00,995 WARN  [DirectoryMonitor] Unable to calculate module ID for module /Library/Geronimo/Home/deploy/.DS_Store [/Library/Geronimo/Home/deploy/.DS_Store is neither a JAR file nor a directory!]
09:03:05,004 INFO  [Hot Deployer] Deploying .DS_Store
09:03:05,299 ERROR [Hot Deployer] Unable to deploy: Cound not open module file: /Library/Geronimo/Home/var/temp/geronimo-deployer32634.tmpdir/.DS_Store
org.apache.geronimo.common.DeploymentException: Cound not open module file: /Library/Geronimo/Home/var/temp/geronimo-deployer32634.tmpdir/.DS_Store
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:209)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:102)
	at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:106)
	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:59)
	at java.lang.Thread.run(Thread.java:552)
Caused by: java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:111)
	at java.util.jar.JarFile.<init>(JarFile.java:127)
	at java.util.jar.JarFile.<init>(JarFile.java:92)
	at org.apache.geronimo.deployment.util.DeploymentUtil.createJarFile(DeploymentUtil.java:164)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:207)
	... 10 more

It would be nice if Geronimo would ignore .DS_Store files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira