Hello,
I would like to know whether it is possible to import extensions using .xar files from:
Administration → Import → Add File → Import
in the context of a standalone, offline demo installation of XWiki.
I am using the following version:
xwiki-platform-distribution-flavor-xip-17.10.3
Context
My XWiki instance is running on a completely offline machine (no Internet access).
I can only download files from another computer that has Internet access, and then transfer them manually.
Issue encountered
I am trying to use the XWiki Blog Application.
When I create a blog post, instead of displaying my content, I only see the following text:
$services.blog.renderContentHTML($postDoc, $postObj, $useSummary, false, false)
I imported the following file:
org.xwiki.contrib.blog_application-~.xar
What I have already tried
-
Importing
.xarfiles via Administration → Import -
Manually installing dependencies:
-
.jarfiles copied into:webapps/xwiki/WEB-INF/lib -
.xarfiles imported via the Import menu
-
However:
-
I cannot always find all required dependencies in
.jaror.xarformat -
When importing a
.xar, it seems to download and install items, but then shows an import error -
I have seen on the forum that offline extensions are supposed to work, but they are simply not recognized as “extensions” by the Extension Manager
My questions
-
Am I doing something wrong in the installation process?
-
What is the correct procedure to properly install an extension in a fully offline environment?
-
Should I use a different method instead of manually importing
.xarfiles? -
Is copying
.jarfiles intoWEB-INF/libactually recommended?
In any case, I cannot connect this machine to the Internet.
Thank you in advance for your help ![]()