Page 1 of 1

[Syncro SVN] How to commit symbolic link ?

Posted: Fri Jun 11, 2010 12:39 pm
by Yann.L
Hi,

I work under Windows XP. I use "Terminal X" (X-Win32) to launch Syncro SVN Client on Unix (Syncro SVN Client 5.1, build 2010031611).
My working copy is under Unix.

So, I can't see the symbolic link and of course, I can't commit it too.

In my SVN preferences, I don't see the "Enable symbolic link support" parameter. However, when I work under Linux environment, this parameter appear in the SVN preferences ?!!?!??!! :shock:

Could you help me please ? :wink:

Thanks.

Re: [Syncro SVN] How to commit symbolic link ?

Posted: Fri Jun 11, 2010 2:14 pm
by adrian
Hello,

Syncro SVN Client only enables the symbolic link support for Linux. It should have been enabled on Unix systems as well but this was overlooked. I've logged this to our issue tracking tool and we'll address it in the next release.

Meanwhile you can use a workaround for the Syncro SVN Client launched on the Unix machine. Go to its installation directory and edit the syncroSVNCLient.sh launch script.
Look at the end of the script and add after the line with "${OXYGEN_JAVA}" \ a new line with
-Dos.name=Linux \

This will force the application to recognize the OS as being Linux and the symbolic link option should be activated.

e.g.

Code: Select all

"${OXYGEN_JAVA}" \
-Dos.name=Linux \
-Dcom.oxygenxml.app.descriptor=ro.sync.svn.SyncroSVNClientFrameDescriptor \
-Xmx256m\
-XX:SoftRefLRUPolicyMSPerMB=10\
-cp "$CP"\
ro.sync.exml.Oxygen
Now when you launch this script you should find the option 'Enable symbolic link support' in Options -> Preferences -> SVN.

Regards,
Adrian

Re: [Syncro SVN] How to commit symbolic link ?

Posted: Fri Jun 11, 2010 3:05 pm
by Yann.L
Wouhaouh !! Yes :D

Thank you Adrian for this bright idea !!
Now I can see the "Enable symbolic link support" parameter in Options -> Preferences -> SVN.

But, do you think if I add my symbolic link (directory), it will be a real symbolic link in my server repository ? Should I do something special when I add my directory ?

...

Re: [Syncro SVN] How to commit symbolic link ?

Posted: Fri Jun 11, 2010 3:23 pm
by Yann.L
Hum... I make a test... and a symbolic link on a directory is seen like a file... when I check out my project, the symbolic link is present...

Thanks a lot Adrian :D

Re: [Syncro SVN] How to commit symbolic link ?

Posted: Fri Jun 11, 2010 3:37 pm
by adrian
Yes, on the repository it's seen as a file with a special property. But when checked out in a working copy it is turned back into a symbolic link.

Regards,
Adrian