geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Bishop (JIRA)" <>
Subject [jira] Created: (GERONIMO-1685) Need to ignore .DS_Store files in deployment dirs
Date Fri, 03 Mar 2006 20:17:41 GMT
Need to ignore .DS_Store files in deployment dirs

         Key: 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(
	at org.apache.geronimo.deployment.Deployer.deploy(
	at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(
	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(
Caused by: error in opening zip file
	at Method)
	at java.util.jar.JarFile.<init>(
	at java.util.jar.JarFile.<init>(
	at org.apache.geronimo.deployment.util.DeploymentUtil.createJarFile(
	at org.apache.geronimo.deployment.Deployer.deploy(
	... 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:
For more information on JIRA, see:

View raw message