2012/11/17

plone.app.jquery Upgrade

Plone 4.2.2 預設的 plone.app.jquery 版本是 1.4.4,想要單獨昇級 jQuery 版本的話,可以在 versions.cfg 直接指定 plone.app.jquery = 1.7.1.1,再執行 buildout:

$ bin/buildout -c develop.cfg
Getting distribution for 'zc.recipe.testrunner==1.2.1'.
zip_safe flag not set; analyzing archive contents...
Got zc.recipe.testrunner 1.2.1.
Uninstalling zopeskel.
Uninstalling zopepy.
Uninstalling instance.
Installing _mr.developer.
Generated script '/home/marr/plone422/zinstance/bin/develop'.
Installing instance.
Getting distribution for 'plone.app.jquery==1.7.1.1'.
Got plone.app.jquery 1.7.1.1.
Generated script '/home/marr/plone422/zinstance/bin/instance'.
Installing zopepy.
Generated interpreter '/home/marr/plone422/zinstance/bin/zopepy'.
Installing zopeskel.
Generated script '/home/marr/plone422/zinstance/bin/zopeskel'.
Generated script '/home/marr/plone422/zinstance/bin/paster'.
Installing omelette.
Updating backup.
Updating chown.
chown: Running echo Dummy references to force this to execute after referenced parts
echo /home/marr/plone422/zinstance/var/backups
chmod 600 .installed.cfg
find /home/marr/plone422/zinstance/var -type d -exec chmod 700 {} \;
chmod 744 /home/marr/plone422/zinstance/bin/*
Dummy references to force this to execute after referenced parts
/home/marr/plone422/zinstance/var/backups
Installing test.
Generated script '/home/marr/plone422/zinstance/bin/test'.
Updating repozo.
Updating unifiedinstaller.
*************** PICKED VERSIONS ****************
[versions]

*************** /PICKED VERSIONS ***************

直接或間接用到 jQuery 的模組至少有:Products.CMFPlone, collective.z3cform.datetimewidget, plone.app.jquerytools, plone.app.controlpanel, plonetheme.sunburst, archetypes.querywidget。

No comments: