Hi!

Is there anyway to list all files a component depended to 
(either included or inherited) for the purpose of getting the 
latest modification timestamp of all those files?

Here is why I am asking: I use Mason to create a colletion of 
static pages from a set of components. This static pages will 
then uploaded to the actual site. However, I would like to 
minimize upload only for modified files only. The only way I can 
think of is to save the generated content into a temporary file, 
compare the temporary file with the existing page, and then 
replace the page with the temporary file if there is any 
difference. But obviously quite a work there.

I am thinking about deciding to replace file based on last 
modification time of the component. However, the components may 
include other files and inherit from other components, and if 
the other files or components were modified, the file should 
still be generated. Hence my question above.

Let me know your thought.

Thanks!

-- 
                              (stephan paul) Arif Sahari Wibowo
    _____  _____  _____  _____
   /____  /____/ /____/ /____
  _____/ /      /    / _____/      http://www.arifsaha.com/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to