Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Tools > Re: preventing ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 7 Topic 546 of 637
Post > Topic >>

Re: preventing .DS_Store file creation in jar in OSX?

by Gregory Weston <uce@[EMAIL PROTECTED] > Jul 21, 2006 at 08:41 PM

In article <stevewjackson-B5DC84.13001320072006@[EMAIL PROTECTED]
>,
 "Steve W. Jackson" <stevewjackson@[EMAIL PROTECTED]
> wrote:

> In article <e9mats02bt@[EMAIL PROTECTED]
>, steve <steve@[EMAIL PROTECTED]
> wrote:
> 
> [ snip ]
> > 
> > the .ds_store , files  do not need the window to be opened, they often

> > appear 
> > in directories that have never been opened in the finder.
> > 
> > However , that said, Linux and the cvs systems also have a lot of
similar 
> > files scattered about their directory structures 
> > if you use an IDE to build your jar files, most ide's allow an
exemption 
> > list 
> > , which excludes the named files from any build or system process.
> > 
> > steve
> 
> You'll have to show me evidence of the unprovoked appearance of 
> .DS_Store files.  In my years of using OS X, I've never found it to be 
> the case.

It can be done, if something programmatically sets a property of the 
folder or a contained file that is among the things that are stored in a 
..DS_Store file. Here's my contrived example...

In Terminal:

mkdir foo;cd foo;touch blarg;ls -la

(Creates a pristine directory, creates a file in it, and shows that 
there's no .DS_Store.)

In Script Editor:

tell application "Finder"
   set theFile to file "blarg" of folder "foo" of folder "greg" of 
folder "Users" of disk "Macintosh HD"
   set comment of theFile to "arglebargle"
end tell

In Terminal:

ls -la

(Now there's a .DS_Store.)



Now, I'd say that to say they "often" appear in directories that haven't 
been opened by Finder is not a general truth, but it could be that 
someone has and regularly uses a tool that for some reason sets those 
properties.

-- 
What I write is what I mean. I request that anyone who decides to respond
please refrain from "disagreeing" with something I didn't write in the
first
place.
 




 7 Posts in Topic:
preventing .DS_Store file creation in jar in OSX?
Bill Christens-Barry <  2006-07-19 16:17:49 
Re: preventing .DS_Store file creation in jar in OSX?
"Steve W. Jackson&qu  2006-07-19 12:42:05 
Re: preventing .DS_Store file creation in jar in OSX?
Bill Christens-Barry <  2006-07-19 18:48:01 
Re: preventing .DS_Store file creation in jar in OSX?
"Steve W. Jackson&qu  2006-07-19 15:39:00 
Re: preventing .DS_Store file creation in jar in OSX?
steve <steve@[EMAIL PR  2006-07-20 06:15:22 
Re: preventing .DS_Store file creation in jar in OSX?
"Steve W. Jackson&qu  2006-07-20 13:00:13 
Re: preventing .DS_Store file creation in jar in OSX?
Gregory Weston <uce@[E  2006-07-21 20:41:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 9:59:31 CST 2008.