java:infocenter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
java:infocenter [2011/08/03 07:00] – rlunaro | java:infocenter [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== InfoCenter -- Four and final attempt ====== | ||
+ | Eventually I've found the steps for getting the [[http:// | ||
+ | |||
+ | ===== Step 1: download the file of this guy ===== | ||
+ | |||
+ | This guy: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | have done all the staff of isolating the infocenter as an standalone application for us. So the only thing we have to do is download the jar file who has provided and install it in a tomcat directory. | ||
+ | |||
+ | Then we have to start tomcat and point our browser to http:// | ||
+ | |||
+ | |||
+ | ===== Step 2: Adding your onw data to the existing data ===== | ||
+ | |||
+ | The help documentation is stored with the plugin information, | ||
+ | |||
+ | **Adding our own content is easy:** | ||
+ | |||
+ | **3.1** Move to the plugins directory (in my case '' | ||
+ | | ||
+ | <code bash> | ||
+ | $ mkdir com.supermanhamuerto.doc-1.0.0 | ||
+ | </ | ||
+ | |||
+ | I've called this directory upon this website, but you can pick up whatever name you want. | ||
+ | |||
+ | **3.2** Create a '' | ||
+ | |||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | < | ||
+ | <toc file=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Of course, the values " | ||
+ | |||
+ | **3.3** create this '' | ||
+ | |||
+ | <code xml> | ||
+ | <?xml version=" | ||
+ | <toc label=" | ||
+ | <topic label=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Obviously, it can be more complex: http:// | ||
+ | |||
+ | **3.4** And finally provide this '' | ||
+ | |||
+ | My directory has the following files: | ||
+ | |||
+ | <code bash> | ||
+ | ~/ | ||
+ | plugin.xml | ||
+ | </ | ||
+ | |||
+ | After this, just wait until tomcat rescans the application or simply restart tomcat again: when it's done, the infocenter will index the new content and it will appear again. | ||
+ | |||
+ | You should see your new content by refreshing the browser: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ~~DISQUS~~ |