6 | | 2. Install subversion plugin |
7 | | * Within Eclipse go to 'Help' -> install new software |
8 | | * paste url http://subclipse.tigris.org/update_1.6.x |
9 | | * tick all, next, next, accept, finish |
| 6 | Eclipse comes in many different flavors. |
| 7 | If you have no clue what to choose, we suggest the "Eclipse IDE for Java and Report Developers" a.k.a. "Reporting" flavor. |
11 | | 3. Add svn repository exploring |
12 | | * Choose Window -> Perspective -> Other and then choose SVN Repository Exploring |
| 9 | 2. Check the Eclipse config settings: |
| 10 | |
| 11 | The defaults for the amount of memory Eclipse can claim, may be too small. |
| 12 | In the Eclipse folder there is a config.ini file. |
| 13 | Edit this file to increase the amount of mem available to Eclipse: |
| 14 | (We suggest Xmx of at least 1024m, more is better) |
| 15 | (If the arguments below do not exist already, simply add them ) |
| 16 | {{{ |
| 17 | -vmargs |
| 18 | -Xms128m |
| 19 | -Xmx1024m |
| 20 | -XX:MaxPermSize=128m |
| 21 | }}} |
| 22 | Make sure the statements above don't start with white space and are on separate lines. |
| 23 | Hence, -vmargs -Xms128m -Xmx1024m -XX:MaxPermSize=128m will fail. |
| 24 | |
| 25 | |
| 26 | 3. Install the Freemarker plugin |
| 27 | |
| 28 | * Visit http://www.jboss.org/tools/download/ for a list of JBOSS ''update sites'' |
| 29 | * Copy the URL of the JBOSS ''update site'' compatible with your Eclipse |
| 30 | |
| 31 | In Eclipse: |
| 32 | |
| 33 | * Go to menu "Help" -> menu item "Install New Software..." |
| 34 | * Choose: ''Add'' and add the URL for the JBOSS update site |
| 35 | * Select the new JBOSS ''update site'' you just added and type in the search box: ''freemarker'' |
| 36 | * Select ''Freemarker IDE'' (not SDK) and click "Next". |
| 37 | * Accept the license and follow the instructions... |
| 38 | |
| 39 | 4. Start Eclipse and install the SVN plugin |
| 40 | |
| 41 | In Eclipse: |
| 42 | |
| 43 | * Go to menu "Help" -> menu item "Install New Software..." |
| 44 | * Select "work with:" -> "--All available sites--" and search for SVN. |
| 45 | * You should find several items. Select "Subversive SVN Team Provider (Incubation)" and click "Next". |
| 46 | * Accept the license and follow the instructions... |
| 47 | * When asked to apply changes or restart Eclipse: choose restart |
| 48 | |
| 49 | ''NOTE'': you now have installed half of what you need to work with SVN in Eclipse. |
| 50 | In addition to the subversive SVN plugin, you'll also need an SVN connector. |
| 51 | There are several flavors: We suggest you give SVNKit a try. |
| 52 | The first time you try to interact with SVN in the next step, subversive will notice you don't have a SVN connector and popup a dialog offering you to install one. |
| 53 | Make sure you select a version that is compatible with the SVN version you have installed. If unsure: open a terminal and type ''svn --version'' |
| 54 | |
| 55 | |
| 56 | 5. Add SVN repository exploring |
| 57 | |
| 58 | In Eclipse: |
| 59 | |
| 60 | * Choose menu ''Window'' -> Menu item ''Perspective'' -> ''Other'' and then choose SVN Repository Exploring |