On 06/13/2014 06:20 PM, Christophe Domas wrote:
> Hi
> 
> I know that I first used the wrong 2.0 syntax in a 2.1 xwiki page, but the
> documentation misleading me;
> *Since XWiki Syntax 2.1 is based on XWiki Syntax 2.0 all syntax from XWiki
> Syntax 2.0 is valid unless the 2.1 specifications suggest differently.*
> And the sample table on Links section had only 2 columns: one for the 1.0
> syntax and another for 2.0.
> 

That is just because I have not finished the new guide before 5.3 :(
So, yes, that should be fixed in production releases, both on the 5.4.x and 6.y 
lines

> By the way, I think it is an excellent idea to have one syntax page per
> version. It is so much clearer and error prone.
> Is it already in production? (I'm still in 5.1 and migration is painfull
> cause I have no internet access from the server that host my xwiki).
> 

I think this is real cuprit, running with outdated stuff and unfixed bugs.
But that should be fixable :)

On my little server farm it is done the following way:

Edit xwiki.properties, and add one line:

  extension.repositories=maven-xwiki:maven:file:///path/to/some/directory/

This disables looking up the main *.xar files from http://nexus.xwiki.org/
and uses the local file system instead.

(If you have extensions installed, you might likely want to set
  extension.repositories=extensions.xwiki.org:xwiki:http://localhost/xwiki/rest/
and install the "Extensions repostitory app", as suggested:
   
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingwithoutinternetconnection
I have to admit that I have not tried to do that, however)

Download the xwiki-enterprise-ui-mainwiki-5.4.5.pom and 
xwiki-enterprise-ui-mainwiki-5.4.5.xar
from
  
http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-ui-mainwiki/5.4.5
via some server that has internet access, and copy it on the production server:

 mkdir -p 
/path/to/some/directory/org/xwiki/enterprise/xwiki-enterprise-ui-mainwiki/5.4.5

and drop both *.pom and *.xar into that dir.

(Actually in my case I have been using mvn install:install-file instead, and
it actually installs a modified set of pages ... but it should still work the 
same.

Repeat the same with xwiki-enterprise-ui-wiki-5.4.5.pom/xar if you have 
subwikis:

  
http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-ui-wiki/5.4.5

Distribution wizard should kick in and fetch the *.xar from the local file 
system instead of the network.

Note: even though I say it works, I have only tested it in a somewhat different 
configuration,
so better try this on some test instance first, or if production is all you 
have,
then at least make a full backup ...  and maybe dont do it on a Friday evening 
;)

Cheers
Clemens

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to