For Hibernate.cfg.xml it is ok but when i upgrade from 1.9.3 to 2.0.3 I got a crash when I
copied the entire xwiki.cfg.
Regarding my script modifications :
I change in login.vm (in colibri skin) the message regarding the forgotten message like
follow :
## TODO: Replace this with an interface extension once IX are implemented
#if($xwiki.exists("XWiki.ResetPassword"))
## <div style="font-size: 70%; margin-top: 2em;">Forgot your <a
href="$xwiki.getURL('XWiki.ForgotUsername')">username</a> or
<a
href="$xwiki.getURL('XWiki.ResetPassword')">password</a>?</div>
<div style="font-size: 70%;font-style:bold;color:#005A83; margin-top:
2em;">To connect, use your Network Id and password.</div>
#end
In a future, I hope to implement SSO...and then avoid such modification ;-)
Cyril
-----Message d'origine-----
De : devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] De la part de Vincent Massol
Envoyé : mercredi 25 novembre 2009 12:23
À : XWiki Developers
Objet : Re: [xwiki-devs] Automatic update
On Nov 25, 2009, at 12:10 PM, MOUZELER Cyril wrote:
Currently this is my process:
1. download the XEM war
2. unzip the file into my jetyt/webapps folder 3. configure
hibernate.cfg.xml
This one is not needed. You can simply reuse your existing config file.
4. in the xwiki.cfg set the ldap part(server, user,
group), the stat
part, virtual part, lucene part
Again this one is not needed you can reuse your existing file.
5. in the xwiki.properties set OpenOffice part
Same as above.
6. in the xwiki itself , set the Alias for default
name, the smtp
server.
Again not needed. You just need to not import XWikiPreferences. Or are you talking about
another page?
7. adjust some skins modifications, script
modifications.
Any details on these?
Several times I tryed to copy directly the file but I
got a crash
(some properties in hybernate file change, new properties definition
in the xwiki.cfg...).
hmm... What you could do is a diff between your version and the new version. In general
whatever new config param we add has a default value that is similar to the old behavior
so it shouldn't change anything.
Personally I'd like to move all config files in a .xwiki directory in your user
directory so that upgrades don't require you to remember to save your config and put
it back.
Points 4 to 7 consume time.
I understand that the automatic process is complex (for example to
change the script...) I will have a look on the ExtensionManager.
IMO the only real hard part is the upgrade of the XAR (ie the wiki pages). To reduce this
burden you should try to not change pages packaged in the default XAR and instead create
new pages. This will prevent you from overwriting changes. There's also a list of page
you should not upgrade, listed in the Installation guide.
It's for the XAR upgrade that we'd like to have the Extension Manager in the
future.
Thanks
-Vincent
Thx for your answer !
Cyril
-----Message d'origine-----
De : devs-bounces(a)xwiki.org [mailto:devs-bounces@xwiki.org] De la part
de Vincent Massol Envoyé : mercredi 25 novembre 2009 11:49 À : XWiki
Developers Objet : Re: [xwiki-devs] Automatic update
Hi Cyril,
On Nov 25, 2009, at 11:39 AM, MOUZELER Cyril wrote:
Hi all,
Is it planned to develop a way to update xwiki automatically ?
I have installed XEM on Windows using Oracle, ActiveDirectory,
Exchange, Openoffice... To configure all, it takes time and it is not
an obvious task.
Could you list the tasks that take time? (I have some idea but would
be interested to know what you think is painful in the upgrade
process).
Note: In the future we've planned to implement an extension manager,
see
http://dev.xwiki.org/xwiki/bin/view/Design/ExtensionManager
Thanks
-Vincent
That's why i am wondering if there is a way
to automatically update
XEM without change the conf.
Cyril
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
----------------------------------------------------------------------
----------
This e-mail is intended only for the addressee named above. It does
not bind the sender, except in the case of an existing written
convention with the addressee. This e-mail may contain material that
is confidential and privileged for the sole use of the intended
recipient. Any review, reliance or distribution by others or
forwarding without express permission is strictly prohibited and may
be unlawful. If you are not the intended recipient, please contact the
sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-
mail and any attachments are free from any computer virus or similar
defect, no liability will be accepted in that respect. Anyone
accessing this e-mail must take their own precautions as to security
and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955
Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender,
except in the case of an existing written convention with the addressee. This e-mail may
contain material that is confidential and privileged for the sole use of the intended
recipient. Any review, reliance or distribution by others or forwarding without express
permission is strictly prohibited and may be unlawful. If you are not the intended
recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any
attachments are free from any computer virus or similar defect, no liability will be
accepted in that respect. Anyone accessing this e-mail must take their own precautions as
to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg
B 6395, T (352) 47 97 1