JMP with SVN 1.7.x compatibility

Dear JMonkey guys,



I had a funky idea to upgrade my SVN tools (working on Windows with TortoiseSVN) without thinking about jMonkey Plateform.

So, now I always have error messages below when loading jMP.

To continue with my brilliant idea, I converted my project repository to the last version.

=> Could advice please ?



[java]

org.tigris.subversion.javahl.ClientException: Unsupported working copy format

This client is too old to work with working copy ‘C:developpementprojetsQuarksProjectForgottenSpace’. You need

to get a newer Subversion client, or to downgrade this working copy.

See http://subversion.tigris.org/faq.html#working-copy-format-change

for details.



We strongly recommend to either install a newer Subversion client or downgrade your working copy.

Any local changes might corrupt your working copy and some file operations as copying, renaming and deleting will not work correctly.

[/java]







JMP Version


Product Version: jMonkeyEngine SDK 3.0beta
Java: 1.6.0_29; Java HotSpot(TM) Server VM 20.4-b02
System: Windows XP version 5.1 running on x86; Cp1252; fr_FR (jmonkeyplatform)


SVN version
[java]
TortoiseSVN 1.7.4, Build 22459 - 32 Bit , 2012/01/13 12:57:07
Subversion 1.7.2,
apr 1.4.5
apr-utils 1.3.12
neon 0.29.6
OpenSSL 1.0.0e 6 Sep 2011
zlib 1.2.5
[/java]

You can make the SDK use any command line tools you might use instead of the tigris java svn tools. Its in the application settings under “Miscellaneous->SVN”

I’ve just run into a similar problem with Subversion 1.7.6.

@normen said:

You can make the SDK use any command line tools you might use instead of the tigris java svn tools. Its in the application settings under “Miscellaneous->SVN”


I tried this by itself and it didn't help - if I understand correctly, these settings dictate which Subversion binary to use, but do not change the client used internally by jMP. Eventually I recalled having run into the same problem with Netbeans - I gave it a shot & it turned out that the same solution worked for me under jMP:

Goto jMP_INSTALL_FOLDER/etc/
Make a backup copy of jmonkeyplatform.conf (technically not required, but better safe than sorry)
Add -J-DsvnClientAdapterFactory=commandline to the default_options string

For a more complete explanation of what this does please refer to Netbeans' Subversion 1.7 Support page. There's also a nice post at StackOverflow covering a lot of the same ground.

Side note: when I applied this fix to Netbeans I noticed my commits (especially large one) sometimes took much longer.