From: Panayotis K. <pan...@pa...> - 2011-02-22 18:44:31
|
On Feb 22, 2011, at 8:24 PM, Sascha Haeberling wrote: > > > On Tue, Feb 22, 2011 at 5:24 PM, Panayotis Katsaloulis <pan...@pa...> wrote: > > On Feb 22, 2011, at 4:54 PM, Sascha Haeberling wrote: > >> I don't think it should be in the build directory. When you start xmlvm e.g. from eclipse then there is no build directory. It should be created from wherever you run xmlvm. >> > > > Although in general I understand the reason for being hidden, I believe that there should be a way to make it "visible" to the user. > At a minimum I believe that this folder should not be hidden, so that the user might understand what is happening. > If this is not elegant enough, we can make other optimizations, like produce in the tmp folder, or specify a target directory where all possible temporary/intermediate files could be stored. > > What do you think? > > > Well, it's not really hidden. It's just that some operating system or file browsers decide to hide files and folders that start with a dot :) > > I think it's fine the way it is. The purpose of this directory is that normal XMLVM users don't have to worry about it at all. Naming it .cache is a convention I have seen in other tools as well. > > Btw, you can also switch of caching, if you want to, using the --no-cache option with XMLVM. It can help in certain situation, e.g. if you make changes to the style sheet. Again, a normal user doesn't need to care about that flag at all. I believe caching is fine, as long as it is not in my way. Keeping it with the name ".cache" is a good naming convention of course, but there should be at least a way to redirect this to another location, probably with a command line argument ? or... use some other heuristics where to save it? Keeping temporary garbage in the root tree of a project I don't think it is a good idea. There should be a way to redirect this (useful) garbage to a place which can be easily collected :) |