[jamming] Majam - keeping jam up-to-date

Matthias Braun matze at braunis.de
Tue Mar 27 06:33:36 PST 2007


Am Freitag, den 11.08.2006, 10:05 +0300 schrieb Groleo Marius:
> On 8/11/06, Johan Nilsson <johan.nilsson at esrange.ssc.se> wrote:
> > I guess your question is that whether it is possible to use a "unified",
> > unix-like, syntax within the Jamfiles and still be VMS compatible. My
> > answer is - I think so. Also check the excellent replies from Tim
> > Sneddon.
> 
> I gues you could do something like:
> /root/foo/bar.txt<10>
> 
> While on VMS, 10 becomes the version, and on Unix/NT it's ignored.
> 
The problem here is that unix seems to allow any characters except '/'
in a filename (I can do
	touch 'bar.txt<10>'
easily in my shell. So you would make it impossible to access some files
with jam. You can be sure that some people will have to deal with such
obscure filenames in practice. You need to have at least some obscure
way to support such filenames anyway. Then again, we already have
similar problems with jams grist I guess...

On windows '/' is luckily disallowed for filenames, so converting '/' to
'\\' should be fine. Well also here you could have valid unix filenames
with '\\' in their name, but you wouldn't be able to store them on a
windows filesystem anyway, so there is no way anyway to make such a
project work on windows.

Greetings,
	Matze



More information about the jamming mailing list