My workaround for NTLM support with Subversion in IDEA 5.1 is not necessary with the latest early-access version of IDEA 6.0, which seems to have all-round better support for Subversion, as well as a bundle of other neat features.
Posted in Java by Dan on July 30th, 2006
My workaround for NTLM support with Subversion in IDEA 5.1 is not necessary with the latest early-access version of IDEA 6.0, which seems to have all-round better support for Subversion, as well as a bundle of other neat features.
Posted in Java by Dan on July 15th, 2006
Having configured the Apache to perform authentication for Subversion using the Windows Domain controller, I was disappointed to find that IntelliJ IDEA’s Subversion plug-in (svn4idea) does not currently support NTLM authentication. Like SmartSVN, which does support NTLM authentication in its latest incarnation (version 2.0.2), svn4idea is based on the javasvn library.
Armed with this information, I thought I’d see what would happen if I dropped SmartSVN’s javasn library over the top of svn4idea’s. The good news is that it mostly works. The only issue I have come across is that the svn4idea plug-in fails to load when the IDE is restarted if you configure it to save your credentials. With IDEA 5.1.1 the IDE just hangs on start-up and with 5.1.2 you get an error dialog.
This situation can be avoided by not checking the “save credentials” box when you are prompted for your Subversion username and password. Instead you will have the minor inconvenience of entering your password once per session. If your credentials are already stored on disk and the IDE is not starting, delete the credentials.xml
file in the svn4idea configuration directory (on Windows you’ll find this somewhere under C:Documents and SettingsyournameApplication DataSubversion
).
A word of warning: this configuration is almost certainly not supported by JetBrains.