Luis Ruiz wrote: > Hi Marius, > > I need to change code in xwiki core, compile it and then, paste it in lib > enterprise version. Is that possible or am I wrong? When I was testing > enterprise, xwiki core was in jar files, I need to modify them. Now I have > refreshed the project and it runs ok!! Lucene gives me error on > org/apache/lucene/search/Searchable, but I hope I can solve it. > > Then, how should I do if I want to use enterprise but modifying core?
Just overwrite the core jar in WEB-INF/lib and restart the server. That is, modify the core, build only that module with maven, and finally copy the resulted jar from the target directory to the WEB-INF/lib directory where you deployed the enterprise war. Hope this helps, Marius > > Thanks for your help!! > > 2009/11/4 Marius Dumitru Florea <[email protected]> > >> Hi Luis, >> >> Luis Ruiz wrote: >>> Hi Marius, >>> >>> Thanks for your fast reply!! You were right, in my lib folder I didn't >> have >>> the same files I have in enterprise. I can see that when I did mvn >> install >>> in \plugins\skinx\target there is xwiki-plugin-skinx-1.12-SNAPSHOT.jar. >>> Where is meant to configure that xwiki load >>> xwiki-plugin-skinx-1.12-SNAPSHOT.jar and the other plugins? Because when >> I >>> imported war file in eclipse, xwiki-plugin-skinx-1.12-SNAPSHOT.jar does >> not >>> appear in plugins folder. >> platform/web/standard doesn't declare any dependencies on external (to >> xwiki-core) plugins. As a consequence xwiki-web-standard war doesn't >> include any xwiki-plugin-* jar. >> >> enterprise/web on the other hand declares plugin dependencies (see >> http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/web/pom.xml ) so the >> enterprise war contains xwiki-plugin-* jars, including xwiki-plugin-skinx. >> >> I think you should deploy the xwiki-enterprise-web war ( >> >> http://maven.xwiki.org/releases/com/xpn/xwiki/products/xwiki-enterprise-web/2.0.3/ >> for instance) instead of xwiki-web-standard war. >> >> Hope this helps, >> Marius >> >>> Now my xwiki.cfg has: >>> >>> xwiki.plugins=\ >>> com.xpn.xwiki.monitor.api.MonitorPlugin,\ >>> com.xpn.xwiki.plugin.calendar.CalendarPlugin,\ >>> com.xpn.xwiki.plugin.feed.FeedPlugin,\ >>> com.xpn.xwiki.plugin.ldap.LDAPPlugin,\ >>> com.xpn.xwiki.plugin.google.GooglePlugin,\ >>> com.xpn.xwiki.plugin.flickr.FlickrPlugin,\ >>> com.xpn.xwiki.plugin.mail.MailPlugin,\ >>> com.xpn.xwiki.plugin.packaging.PackagePlugin,\ >>> com.xpn.xwiki.plugin.query.QueryPlugin,\ >>> com.xpn.xwiki.plugin.svg.SVGPlugin,\ >>> com.xpn.xwiki.plugin.charts.ChartingPlugin,\ >>> com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\ >>> com.xpn.xwiki.plugin.image.ImagePlugin,\ >>> com.xpn.xwiki.plugin.captcha.CaptchaPlugin,\ >>> >> com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\ >>> com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\ >>> com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\ >>> com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\ >>> com.xpn.xwiki.plugin.lucene.LucenePlugin,\ >>> com.xpn.xwiki.plugin.diff.DiffPlugin,\ >>> >> com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\ >>> com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\ >>> >> com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\ >>> com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\ >>> com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin >>> >>> >>> And in \WebContent\WEB-INF\lib I have >> xwiki-plugin-skinx-1.12-SNAPSHOT.jar >>> but it occurs the same :(. >>> >>> Thanks!! >>> >>> >>> Hi Luis, >>> >>> Luis Ruiz wrote: >>>> Hello, >>>> >>>> I have compiled xwiki-web-standard-2.1- >>> SNAPSHOT + Oracle 10G but when I run >>>> it, everything it's ok but I can see things like this in every page: >>>> >>>> $xwiki.jsfx.use('js/scriptaculous/effects.js', true) >>>> $xwiki.jsfx.use('js/xwiki/widgets/modalPopup.js', true) >>>> $xwiki.ssfx.use('js/xwiki/widgets/modalPopup.css', true) >>>> $xwiki.jsfx.use('js/xwiki/widgets/jumpToPage.js', true) >>>> $xwiki.ssfx.use('js/xwiki/widgets/jumpToPage.css', true) >>>> $xwiki.jsfx.use('uicomponents/widgets/confirmationBox.js', true) >>>> $xwiki.ssfx.use('uicomponents/widgets/confirmationBox.css', true) >>>> $xwiki.jsfx.use('uicomponents/widgets/confirmedAjaxRequest.js', true) >>>> $xwiki.jsfx.use('uicomponents/widgets/notification.js', true) >>>> $xwiki.ssfx.use('uicomponents/widgets/notification.css', true) >>>> >>>> $xwiki.jsfx.use('js/xwiki/viewers/attachments.js', {'forceSkinAction': >>> true, >>>> 'language': >>>> ${context.language}})$xwiki.ssfx.use('js/xwiki/viewers/attachments.css', >>>> true >>>> >>>> >>>> I haven't imported an .xar yet. I even tested with a correct xwiki.cfg >>> from >>>> an enterprise windows installation but it continues doing the same. I >> have >>>> googled and I have read that I must include jsfx and ssfx plugins, but >>>> where? >>> In xwiki.cfg, there is a xwiki.plugins property whose value should >> contain: >>> com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\ >>> com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\ >>> com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\ >>> com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\ >>> >>> Also, can you confirm you have the xwiki-plugin-skinx jar in your >>> WEB-INF/lib directory? >>> >>> Hope this helps, >>> Marius >>> _______________________________________________ >>> devs mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/devs >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

