Wiki source code of Import and link maven jar projects to debug
Last modified by Thomas Mortagne on 2018/02/06 15:35
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
5 | You now have a complete "virtual" XWiki you can run from Eclipse and where your can edit web files. | ||
6 | |||
7 | We will now see how to link XWiki jar projects (xwiki-platform-oldcore, extensions...) to this XWiki instance to be able to edit java using all of the Eclipse tools. | ||
8 | |||
9 | = Import Jar project = | ||
10 | |||
11 | * Start the Import wizard | ||
12 | ((( | ||
13 | image:import-1.jpg | ||
14 | ))) | ||
15 | * Select //Maven Projects// | ||
16 | * Click image:[email protected] | ||
17 | ((( | ||
18 | image:import-2.jpg | ||
19 | ))) | ||
20 | * Select root folder of project you want to import | ||
21 | * Click image:[email protected] | ||
22 | ((( | ||
23 | image:import-3.jpg | ||
24 | ))) | ||
25 | |||
26 | == Link Jar project to the web project == | ||
27 | |||
28 | Project which are already part of the standard XWiki WAR are automatically linked. | ||
29 | |||
30 | For extensions or any other jar you want to deploy on XWiki go to project ##Properties -> Deployment Assembly## and add the project. | ||
31 | |||
32 | {{velocity}} | ||
33 | ########################################################################## | ||
34 | ## NAVIGATOR | ||
35 | #set($previous_tuto_page = 'MirrorWeb') | ||
36 | #set($next_tuto_page = 'WebStart') | ||
37 | #if($previous_tuto_page) [[previous>>$previous_tuto_page]] ~| #end[[home>>Community.DebugXWikiWithEclipse]]#if($next_tuto_page) ~| [[next>>$next_tuto_page]]#end---- | ||
38 | {{/velocity}} |