Last modified by Thomas Mortagne on 2018/02/06 15:27

Show last authors
1 The goal of this tutorial is to describe a way to setup Eclipse to be able to:
2
3 * edit web files (javascript, images, ...) in and automatically publish them in a running instance of XWiki without restarting it
4 * edit and debug java without restarting the XWiki instance
5
6 All these tricks helps to improve the programming speed a lot.
7
8 {{toc/}}
9
10 = Prerequisites =
11
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.
13
14 = Setting Eclipse for debug =
15
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.
17
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]]
22 1. Enjoy :)
23
24 = TODO =
25
26 * add more explanation on how "Run as server" works behind the scene
27 * https://code.google.com/p/m2eclipse-wtp-ext/ seems promising

Get Connected