Wiki source code of Debugging XWiki using Eclipse WTP
Last modified by Thomas Mortagne on 2018/02/06 15:27
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
102.2 | 1 | The goal of this tutorial is to describe a way to setup Eclipse to be able to: |
![]() |
26.1 | 2 | |
![]() |
69.1 | 3 | * edit web files (javascript, images, ...) in and automatically publish them in a running instance of XWiki without restarting it |
![]() |
102.2 | 4 | * edit and debug java without restarting the XWiki instance |
![]() |
69.1 | 5 | |
![]() |
26.1 | 6 | All these tricks helps to improve the programming speed a lot. |
| 7 | |||
![]() |
70.1 | 8 | {{toc/}} |
![]() |
1.1 | 9 | |
![]() |
71.1 | 10 | = Prerequisites = |
![]() |
1.1 | 11 | |
![]() |
102.2 | 12 | If it's not already done you should take a look at [[Working with Eclipse>>BuildingInEclipse]] for the base setup of Eclipse for XWiki. |
![]() |
1.1 | 13 | |
![]() |
101.1 | 14 | = Setting Eclipse for debug = |
![]() |
1.1 | 15 | |
![]() |
107.1 | 16 | To be able to launch XWiki into Eclipse and debug it we will create a WTP project which will be a mirror of the product web we want to work on. |
![]() |
1.1 | 17 | |
![]() |
105.1 | 18 | 1. [[Mirror XWiki war>>MirrorWeb]] |
| 19 | 1. [[Import and link maven jar projects to debug>>ImportJarProjects]] | ||
| 20 | 1. [[Start Debug Project>>WebStart]] | ||
| 21 | 1. [[Troubleshoots>>Troubleshoots]] | ||
![]() |
70.1 | 22 | 1. Enjoy :) |
![]() |
1.1 | 23 | |
![]() |
71.1 | 24 | = TODO = |
![]() |
5.1 | 25 | |
![]() |
39.1 | 26 | * add more explanation on how "Run as server" works behind the scene |
![]() |
102.2 | 27 | * https://code.google.com/p/m2eclipse-wtp-ext/ seems promising |

