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

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

Get Connected