| 58 | |
| 59 | === Eclipse Editor (3.2) === |
| 60 | You can also work with Eclipse. I only tried this on Ubuntu yet and I'm not used to the whole system in linux with installing and stuff, but I'll try to explain it anyway. |
| 61 | |
| 62 | Since Eclipse is a Java based editor you'll need a JDRE or something similar to work with Eclipse. Also to program C++ with Eclipse you'll need the package "eclipse-cdt". After installing eclipse run it for the first time... |
| 63 | |
| 64 | === Workspace === |
| 65 | Since you will mostly work on branches in Orxonox it's recommended to use ~/orxonox/branches or wherever you downloaded that piece of svn repository to. |
| 66 | |
| 67 | If you'll work on the trunk as well, you will have to switch workspaces I guess, of course you can download every branch separately into the same directory you downloaded the trunk to. Best thing is to choose the parent directory of the trunk or your branch as workspace directory. |
| 68 | |
| 69 | === New Project === |
| 70 | Now I assume you already downloaded the branch you want to work on with svn. Choose "New->Project" and "Standard C++ Project" in the popup. There you choose as the project name the name of your branch. Eclipse will create a directory for every new project, so by choosing the existing directory of the branch you don't have to worry that eclipse doesn't get where the files are. |
| 71 | |
| 72 | Beside that, all the other preferences should be okay for our project, so click finish to create the project. If everything went well, you should have the whole directory tree of your Orxonox branch in Eclipse now. |
| 73 | |
| 74 | === Build Project === |
| 75 | On the right handed side you are able to create make targets to build your project. Don't forget to use ./autogen.sh and ./configure when you're dealing with a new checked out branch. Just make a target there to let eclipse build Orxonox. You may want to experiment with those make targets, but a normal make should be okay. |
| 76 | |
| 77 | |
| 78 | I'll add some more about Orxonox in Eclipse as I work with it. |