From: Sascha H. <sa...@gm...> - 2011-02-22 19:02:35
|
On Tue, Feb 22, 2011 at 6:44 PM, Panayotis Katsaloulis < pan...@pa...> wrote: > > 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 :) > That does make sense, if you want to have it somewhere else. I think .cache is already on the .svn ignore list, if not it should be. So you cannot accidentally submit it. Apart from that feel free to send me a change for review which lets you specify the cache directory location. > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |