my dog learned polymorphism*
The moose likes Mac OS and the fly likes jar .DS_Store Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "jar .DS_Store" Watch "jar .DS_Store" New topic
Author

jar .DS_Store

Kim Mirtens
Greenhorn

Joined: Dec 17, 2006
Posts: 21
When I jar my project it includes the .DS_Store files. How can I get around this?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41082
    
  43
You could use the Ant jar task, and list that filename in the 'excludes' attribute.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jar .DS_Store
 
Similar Threads
Hibernate Problem
Helios, Tomcat 6, Dynamic Web Project - Reading Config File Problem
Tricky NullPointerException Problem
how can we make a jar file
working with macintosh and windows