Posts Tagged ‘SVN’
svn: OPTIONS request failed on
Case
IntelliJ IDEA 7.x, version control with Subversion.
When I try to update the project, I get the following error:
Error:svn: unknown host myHost svn: OPTIONS request failed on /myProject/trunk/
On another hand, I can update the project thanks to TortoiseSVN. Then, I conclude the server exists and allows updates.
Fix
Firstly I thought of an issue of proxy, hence check your settings if you face the problem. Else:
- Shutdown IDEA
- Delete
~/.IntelliJIdea70/system/caches
- Restart IDEA
Automatic update with TortoiseSVN
On my current position, I had to update my project with Subversion every morning. It took half an hour every day ; some other guys prefered to update only once a week or twice a month… But they accepted to spend half a day for merges etc.
Yet, I found a way to make this update automatically, thanks to a planned task in Windows XP.
The command that is launched is
"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:update /path:"C:\the\path\of\my\project" /notempfile /closeonend
Thanks to another planned task, I rebuild the complete project with Maven. And on breakfast I find my project up-to-date with all jars compiled and available.
How to set default keywords to files with Subversion?
Abstract: we would like to add the SVN-keyword $Id$
to all SQL files.
- go to SVN config folder (mainly
$HOME/Subversion/config
) - search for line:
[auto-props]
- just below, add the following line:
*.sql = svn:keywords=Id