Hi, We also store the pages for individual XWiki applictions on git. For example, this is the UI for the Administration application: https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki
As you can see, they are XWiki pages which have been exported using the XAR Export feature, unzipped and moved to git while preserving the directory structure from the xar archive. They are unzipped so that you can make changes and easily work with them with git. To build back a xar file which can then be imported in XWiki (either using the manual importer or by Extension Manager when installing an extension), we create a maven module (pom.xml) that uses "<packaging>xar</packaging>" (with our maven xwiki-commons-tool-xar-handlers extension that defines this new packaging, of course). For example, for the Administration application's UI, this is the pom.xml file: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/pom.xml To actually build the xar, we just build the maven module that we have created (mvn clean install) and it will produce the .xar artefact. Hope this helps, Eduard On Tue, Mar 15, 2016 at 10:17 PM, Debajit Adhikary <[email protected]> wrote: > Hi > > For my XWiki deployment, I need the search results to be customized. I > would like to move the contents of the search results page under source > control, so that I can use our continuous deployment system. > > What is the best way to do this? > > I've tried to move the search result page (and its macros) to a skin file > and include a #template(filename) link in the wiki page — but I have a > feeling this may not be a good way to do it. > > I've noticed some files under webapps/resources/uicomponents/ — can I add > my files there? If I did, how do I let the UI know that it should read a > particular file? > > If there is some XWiki documentation around this, could you point me to it > please? I was not able to find anything around that. > > Thanks in advance > Debajit > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
