Enter a brief description of your changes
(Required)
Minor changes are by default collapsed in the page history.
No changes
The page does not exist yet.
Failed to load changes
Version by on
Leave Collaboration
Are you sure you want to leave the realtime collaboration and continue editing alone? The changes you save while editing alone will lead to merge conflicts with the changes auto-saved by the realtime editing session.
Release notes says, that to do upgrade you have to point xwiki to your 0.9.x database. This did not work for me. Can someone update this topic with answer?
JeroenBaten, 2010/09/15 12:00
Updated the bash script to also detect pages found in the xar but not found in the wiki:
#!/bin/bash
XWIKI_BASE_URL=http://localhost:8080
if [ "${1}" ]; then
echo args is: "${1}"
else
echo $1 no arg supplied
fi
for page in `jar tvf $1 | sed -ne "/\/.*xml/{s/.*\s\(\S\+\)\/\(\S\+\).xml/\1\/pages\/\2/ p}"`; do
curltxt=`curl -s -b cookies.txt -c cookies.txt ${XWIKI_BASE_URL}/xwiki/rest/wikis/xwiki/spaces/$page `
found=` echo "$curltxt" | grep "The server has not found anything matching the request" `
# if $? is 0 then this page is not found in the wiki
if [ $? -eq 0 ]; then
result="PAGE NOT FOUND IN WIKI"
else
version=` echo "$curltxt" | sed -ne "/version/{s/.*version>\(.*\)<\/version.*/\1/ p}"`
if [[ $version != "1.1" ]]; then
result="UPDATED TO VERSION: $version"
fi
fi
echo $page $result
done
Release notes says, that to do upgrade you have to point xwiki to your 0.9.x database. This did not work for me. Can someone update this topic with answer?
Updated the bash script to also detect pages found in the xar but not found in the wiki: