Re: Moving/changing protogen

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <074901c64278$63cf5a40$3501a8c0@rogersqyvr14d3>
> Should we move this to the phone directory given that this is where it needs
> to run, 

If that happens then it won't be able to import other files in the
future (eg from common).

> or have it automatically go into phones to do its work. The latter
> might be easier for command line operation.

If you invoke it with no arguments then it processes all .p files
in the current directory.  So today you could do this from the phones
directory:

  ../protogen.py 

Alternatively you could make it glob into phones, or do both (ie glob
in the current directory and phones if it exists).  That way you could
run it from either directory.  Some timestamp checking can then also
make it pass over any unmodified .p files.

Roger


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.