Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
442 views
in Technique[技术] by (71.8m points)

svn - NetBeans 7.x and Subversion 1.7.1

After upgrading to the latest TortoiseSVN and checking out a repo, NetBeans is complaining about not having the right version of the SVN client. No problem, I downloaded Win32SVN which is 1.7.0 (tortoise is 1.7.1, but that shouldn't be a problem).

Then, in NetBeans I pointed it to the subversion binary using Tools > Options > Versioning > Subversion. No joy.

Every time I open my project in NB, I get a big scary warning DB telling me that I need to downgrade my repo or upgrade my SVN client.

What steps did I miss? I'm not willing to downgrade my TortoiseSVN, so how do I bring NB up to snuff?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

All that was needed, in addition to the steps I followed, above (installing Win32SVN and pointing NetBeans to the command line client, was to actually tell the IDE to use the command line client rather than the built-in client (which should be updated by Nov 2011, according to the devs).

Open up your PogramFiles/NetBeans folder, look for etc/netbeans.conf, and then, on the netbeans_default_options line inside the quotes, add -J-DsvnClientAdapterFactory=commandline. This tells NetBeans to use the command line SVN rather than the plugin.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...