Source Safe on Linux

I wanted to go back in time when I could develop on Linux,
although currently I'm in a M$-dominated Sun's Java environment :)

So after I installed my trustworthy Mandrake 9.1, JDK and got Idea
working on it, it was time to tackle how to interact with Visual Source
Safe :)

I got samba and wine to work, configured both et voila'
Visual Source Safe Explorer works like a breeze, and so seems the
command line client.

Unfortunately, IDEA's integration doesn't.
well it very reasonably expects a binary called SS.EXE to be executable.

even if I created a shell script thus named who invokes the binary
through wine, the integration still doesn't work.

Now, if people are interested in such an exotic config I might add an
SCR to IDEA's tracker,

but right now
I'd be happy if I could wite command line ss invokation scripts for
add, checkin, checkout, diff.

I think the trick lies in setting VSS's 'current project' (a shame of
a concept) with the -p command line option, and derive the value from
the current package ...

can anyone help ?
has anyone got some VSS external tool scripts working ?

Edo

2 comments
Comment actions Permalink

Well, I might be interested in such a feature. But I don't know if it belongs in the tracker. Maybe this is something the community should fix on intellij.org.

I tried to write wrapper script once. I think one of the problem was the IDEA tries to check out files to /tmp (at least for some commands), so you'll probably have to translate that to x: or something other mapped against /tmp.
Well, I didn't get very far since my wine keept crashing. It worked on ss.exe sometimes, but I never got the Source Safe Explorer up and running. What version of wine are you using??

/Anders

0
Comment actions Permalink

Anders Magnusson wrote:

Well, I might be interested in such a feature. But I don't know if it belongs in the tracker. Maybe this is something the community should fix on intellij.org.

I tried to write wrapper script once. I think one of the problem was the IDEA tries to check out files to /tmp (at least for some commands), so you'll probably have to translate that to x: or something other mapped against /tmp.
Well, I didn't get very far since my wine keept crashing. It worked on ss.exe sometimes, but I never got the Source Safe Explorer up and running. What version of wine are you using??

/Anders


I'm using wine 300618 (the mandrake 9.1 RPM) and used the winesetuptk
tool to set it up for me. I choose to create a fake_windows drive but
added to the wine path the full system32 of the real winxp installation
and copied the entire vss dir in the expected program files directory on
the fake windows drive.
after vss explorer appeared to work fine on the fake windows drive local
database I played with samba permissions until I got it working with the
"remote" database

note that even the ro/rw flags to work correctly!

now if I only knew what to pass to the command line .... ;)

****
INTELLIJ ... can you please post the executable command lines generated
by your vss plugin ?
****


Edo

0

Please sign in to leave a comment.