From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: D-Man Cc: sourcenav@sources.redhat.com Subject: Re: sourcenav munges my preferences! Date: Fri, 23 Mar 2001 12:55:00 -0000 Message-id: <3ABBB83E.6D5CB334@redhat.com> References: <20010323103431.D10980@harmony.cs.rit.edu> X-SW-Source: 2001-q1/msg00254.html This bit really bugs me. You could try and double up the "/" i.e. "//". Hopefullt it's gone now but, they where some dialogs where you had to replace each slash with four (i.e. "C:\\\\hello\\\\world\\\\test.c"). Ian. D-Man wrote: > > In the preferences dialog I want the build command to be: > > sourcenav-ant.bat VSS/LegacyIntegrator buildFull > > but snav insists on changing it to > > sourcenav-ant.bat VSS\LegacyIntegrator buildFull > > I took a look at the source, in multimake.tcl line 215 is : > > @@set $this-makecommand [file nativename $sn_options(both,make-command)] > > Apparently SNav is trying to be smart by converting paths to the > native format. The problem is I don't want that. It won't work with > a '\'. (The build command invokes bash, which runs a shell script > that runs ant (a make replacement for java) and the shell script needs > the / because the \L turns into L and the resulting path DNE). > > I changed the line to : > > @@set $this-makecommand $sn_options(both,make-command) > > and the build window now appears correctly. However, if I open the > preferences dialog again, it has munged the command. > > What can I hack to remove this "feature" and get the string exactly as > I entered? > > Thanks, > -D