Page 1 of 1

Setting up Eclipse with WZ SVN.

Posted: 06 May 2010, 17:39
by EvgenijM86
I just tried it myself and decided to write a guide about it if someone wish to use something different than MSVS. This guide assumes that you are using unix type OS, but it should not be that different on other OS.

1. Get Eclipse CDT.

2. It does not support SVN out of the box, so you will need to install a plugin: either subversive or subclipse.. I choose subversive.
In Eclipse CDT go to Help -> Install new software -> Available software sources -> *type "sub" in a filter window and you will see subclipse address marked as disabled. Enable it and press OK* -> *Go to "install new software" again and in a field named "Work with" you can select what you enabled from drop down box*
http://img580.imageshack.us/img580/3498 ... ftware.png
I selected all 3 and installed them. Then restart Eclipse and it will ask what connector to use to connect to SVN. I selected javaHL for version 6.x (since wz SVN uses a 6.x version), since other connector did not work for some reason. JavaHL requires libsvnjavahl-1.so file, so install libsvn-java package on your Linux distro.
You can now check out SVN by going to File -> New -> Project... -> SVN -> Project from SVN. Then you will get a list of options and select "check out as a project with a name specified". You will get a simple project without any language specific options attached to it. You will convert it to Autotools project in step 3.

3. You can convert it to C/C++ project at this step (File->New->Convert to a C/C++ project) to get intellisence and lots of other features, but you will have problems compiling it, since it uses autotools. So we will install another plug-in that handless that - Autotools.
Go to Help -> Install new software -> *paste http://download.eclipse.org/technology/ ... ls/update/ to "Work with" field; press Add; give it a name (like Linux Tools); * -> * you can now select it from drop down box in "Work with"; I simply installed all options, but you are free to choose the specifics if you know what you are doing; Restart eclipse *
Go to File -> New and there is a new choice - Convert to C/C++ Autotools project. Once you done that it will automatically manage your compilation, by invoking autogen.sh ./configure and all other common steps. Just run the project and it should do the compilation.


To get update from SVN you will need to go Window-> Open Perspective -> Team Synchronising. Then select your project on the left, right click and you will see Synchronize, Update and Commit actions.
http://img80.imageshack.us/img80/5492/c ... ynchro.png

Re: Setting up Eclipse with WZ SVN.

Posted: 06 May 2010, 18:01
by EvgenijM86
And btw, big thanks to dev team - the trunk looks visually gorgeous, when compared to original graphics.

Re: Setting up Eclipse with WZ SVN.

Posted: 11 May 2010, 02:38
by Buginator
You might want to throw this up on the wiki page...
I am sure others will find it helpful. :)

Re: Setting up Eclipse with WZ SVN.

Posted: 21 Aug 2010, 23:03
by noccy
It's of course a matter of personal preference, but I've become a big fan of NetBeans for C++ development. It's code tracing functions have been invaluable when trying to analyse and figure out the code.
netbeans.png
Setting it up is a piece of cake. Install it, go to tools>plugins, and make sure you install the C++ development plugin :)