[Syncro SVN] How to commit symbolic link ?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Yann.L
Posts: 3
Joined: Fri Jun 11, 2010 11:48 am

[Syncro SVN] How to commit symbolic link ?

Post 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.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Yann.L
Posts: 3
Joined: Fri Jun 11, 2010 11:48 am

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

Post 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 ?

...
Yann.L
Posts: 3
Joined: Fri Jun 11, 2010 11:48 am

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

Post 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
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply