[xwiki-users] XWiki Web 1.8.1
Hi, I am trying to build Xwiki web version 1.8.1. I got some errors. Appended below is part of the long error message: [gwt:compile] establishing classpath list (buildClaspathList - scope = COMPILE) google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies Removing units with errors [ERROR] Errors in 'file:/home/jooty/Desktop/XWiki-Web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java' [ERROR] Line 48: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiGWTDefaultApp; did you forget to inherit a required module? [ERROR] Line 61: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiAsyncCallback; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/Desktop/XWiki-Web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPlugin.java' [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.MessageDialog; did you forget to inherit a required module? [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.Dialog; did you forget to inherit a required module? [ERROR] Line 452: No source code is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module? I'm not sure what that means. Any ideas? -J. Allen _ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Web 1.8.1
Oh. That's why. Thank you very much! Regards,J. Allen Date: Fri, 20 Nov 2009 13:01:37 +0200 From: mariusdumitru.flo...@xwiki.com To: users@xwiki.org Subject: Re: [xwiki-users] XWiki Web 1.8.1 Hi, J. Allen Santos wrote: Hi, I am trying to build Xwiki web version 1.8.1. I got some errors. Appended below is part of the long error message: [gwt:compile] establishing classpath list (buildClaspathList - scope = COMPILE) google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies Removing units with errors [ERROR] Errors in 'file:/home/jooty/Desktop/XWiki-Web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java' [ERROR] Line 48: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiGWTDefaultApp; did you forget to inherit a required module? [ERROR] Line 61: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiAsyncCallback; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/Desktop/XWiki-Web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPlugin.java' [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.MessageDialog; did you forget to inherit a required module? [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.Dialog; did you forget to inherit a required module? [ERROR] Line 452: No source code is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module? I'm not sure what that means. Any ideas? Did you change any of the poms? The client side of web/wysiwyg module depends on the client side of the web/gwt module. As a consequence the GWT compiler requires the web/gwt sources in order to build the WYSIWYG editor. The error messages show that xwiki-web-gwt-1.8.1-sources.jar is not on the classpath. This shouldn't happen as long as web/wysiwyg pom declares a dependency on the sources jar generated by web/gwt with the maven-source-plugin. Try to build the web modules separately in this order: gwt, xwiki-gwt-dom, wysiwyg, standard. Hope this helps, Marius -J. Allen _ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _ Windows 7: Simplify what you do everyday. Find the right PC for you. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWikiPage timestamp
Hi, I was wondering, can the modification date be manually overridden? I mean, how does the org.codehaus.swizzle.confluence.Page.setModified() work? Thank you very much, Allen _ Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Web 1.8.1
Why is it that when I build XWiki - Platform - Web - WYSIWYG (war), it builds successfully; But, when I build XWiki - Platform - Web - Parent POM (pom), which includes the wysiwyg in its modules, it fails due to the same error said earlier ?? Any ideas? J. Allen _ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Web 1.8.1
Ok, I'll try that version. I have been using version 2.2.1 Date: Fri, 20 Nov 2009 15:18:33 +0200 From: mariusdumitru.flo...@xwiki.com To: users@xwiki.org Subject: Re: [xwiki-users] XWiki Web 1.8.1 J. Allen Santos wrote: Why is it that when I build XWiki - Platform - Web - WYSIWYG (war), it builds successfully; But, when I build XWiki - Platform - Web - Parent POM (pom), which includes the wysiwyg in its modules, it fails due to the same error said earlier ?? Any ideas? Maybe it's a maven issue. What version did you use? Can you try 2.2.0? Hope this helps, Marius J. Allen _ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki Web 1.8.1
Hi I'm trying to build XWiki Web 1.8.1. It fails. I'm using Ubuntu 9.10 and tried building it in the terminal and in Netbeans. Both failed with the same error message. I know i'm using the right settings.xml. ThanksAllen Here is part of the message: Building XWiki Platform - Web - WYSIWYG task-segment: [install][enforcer:enforce][remote-resources:process {execution: xwiki-license-resources}][resources:resources]Using default encoding to copy filtered resources.[compiler:compile]Nothing to compile - all classes are up to date[dependency:unpack]Configured Artifact: com.google.gwt:gwt-dev:linux-libs:1.5.3:zipgwt-dev-1.5.3-linux-libs.zip already unpacked.[gwt:compile]establishing classpath list (buildClaspathList - scope = COMPILE)google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependenciesRemoving units with errors [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java' [ERROR] Line 48: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiGWTDefaultApp; did you forget to inherit a required module? [ERROR] Line 61: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiAsyncCallback; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java' [ERROR] Line 137: No source code is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPlugin.java' [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.MessageDialog; did you forget to inherit a required module? [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.Dialog; did you forget to inherit a required module? [ERROR] Line 452: No source code is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module?Removing invalidated units [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ui/ImageSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/valign/VerticalAlignPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/DefaultPluginManager.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/widget/WikiSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/editor/WysiwygEditorDebugger.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/importer/ImporterPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/list/ListPlugin.java' is removed due to invalid reference(s): [WARN]
Re: [xwiki-users] XWiki Web 1.8.1
I was able to build gwt module. I got the same error when I tried building the entire web. But, when I tried building wysiwyg module, no error at all. Any ideas? Date: Thu, 7 Jan 2010 10:11:20 +0200 From: mariusdumitru.flo...@xwiki.com To: users@xwiki.org Subject: Re: [xwiki-users] XWiki Web 1.8.1 Hi, The platform/web/wysiwyg module depends on the platform/web/gwt module. For some reason in your case the jars generated by the gwt module are not available when building the wysiwyg module. Can you try to build the gwt module manually first and then rebuild the entire web? Hope this helps, Marius J. Allen Santos wrote: Hi I'm trying to build XWiki Web 1.8.1. It fails. I'm using Ubuntu 9.10 and tried building it in the terminal and in Netbeans. Both failed with the same error message. I know i'm using the right settings.xml. ThanksAllen Here is part of the message: Building XWiki Platform - Web - WYSIWYG task-segment: [install][enforcer:enforce][remote-resources:process {execution: xwiki-license-resources}][resources:resources]Using default encoding to copy filtered resources.[compiler:compile]Nothing to compile - all classes are up to date[dependency:unpack]Configured Artifact: com.google.gwt:gwt-dev:linux-libs:1.5.3:zipgwt-dev-1.5.3-linux-libs.zip already unpacked.[gwt:compile]establishing classpath list (buildClaspathList - scope = COMPILE)google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependenciesRemoving units with errors [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java' [ERROR] Line 48: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiGWTDefaultApp ; did you forget to inherit a required module? [ERROR] Line 61: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiAsyncCallback; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java' [ERROR] Line 137: No source code is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPlugin.java' [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.MessageDialog; did you forget to inherit a required module? [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.Dialog; did you forget to inherit a required module? [ERROR] Line 452: No source c ode is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module?Removing invalidated units [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ui/ImageSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/valign/VerticalAlignPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/DefaultPluginManager.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/widget/WikiSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/table/TablePlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/editor/WysiwygEditorDebugger.java' is removed
Re: [xwiki-users] XWiki Web 1.8.1
Hi, I tried using other version of maven. I can't seem to find 2.2.0 from the maven site so I used 2.0.10. And it worked (terminal and netbeans)! Thank you very much! Allen Date: Thu, 7 Jan 2010 12:57:02 +0200 From: mariusdumitru.flo...@xwiki.com To: users@xwiki.org Subject: Re: [xwiki-users] XWiki Web 1.8.1 J. Allen Santos wrote: I was able to build gwt module. I got the same error when I tried building the entire web. But, when I tried building wysiwyg module, no error at all. Any ideas? Maybe it's a maven issue. I'm using 2.2.0 Hope this helps, Marius Date: Thu, 7 Jan 2010 10:11:20 +0200 From: mariusdumitru.flo...@xwiki.com To: users@xwiki.org Subject: Re: [xwiki-users] XWiki Web 1.8.1 Hi, The platform/web/wysiwyg module depends on the platform/web/gwt module. For some reason in your case the jars generated by the gwt module are not available when building the wysiwyg module. Can you try to build the gwt module manually first and then rebuild the entire web? Hope this helps, Marius J. Allen Santos wrote: Hi I'm trying to build XWiki Web 1.8.1. It fails. I'm using Ubuntu 9.10 and tried building it in the terminal and in Netbeans. Both failed with the same error message. I know i'm using the right settings.xml. ThanksAllen Here is part of the message: Building XWiki Platform - Web - WYSIWYG task-segment: [install][enforcer:enforce][remote-resources:process {execution: xwiki-license-resources}][resources:resources]Using default encoding to copy filtered resources.[compiler:compile]Nothing to compile - all classes are up to date[dependency:unpack]Configured Artifact: com.google.gwt:gwt-dev:linux-libs:1.5.3:zipgwt-dev-1.5.3-linux-libs.zip already unpacked.[gwt:compile]establishing classpath list (buildClaspathList - scope = COMPILE)google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependenciesRemoving units with errors [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java' [ERROR] Line 48: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiGWTDefaultA pp ; did you forget to inherit a required module? [ERROR] Line 61: No source code is available for type com.xpn.xwiki.gwt.api.client.app.XWikiAsyncCallback; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java' [ERROR] Line 137: No source code is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module? [ERROR] Errors in 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/sync/SyncPlugin.java' [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.MessageDialog; did you forget to inherit a required module? [ERROR] Line 438: No source code is available for type com.xpn.xwiki.gwt.api.client.dialog.Dialog; did you forget to inherit a required module? [ERROR] Line 452: No sourc e c ode is available for type com.xpn.xwiki.gwt.api.client.XWikiGWTException; did you forget to inherit a required module?Removing invalidated units [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/image/ui/ImageSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/valign/VerticalAlignPlugin.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/plugin/internal/DefaultPluginManager.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/Wysiwyg.java [WARN] Compilation unit 'file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/widget/WikiSelector.java' is removed due to invalid reference(s): [WARN] file:/home/jooty/NetBeansProjects/xwiki-web-1.8.1/wysiwyg/src/main/java/com/xpn/xwiki/wysiwyg/client/WysiwygService.java [WARN] Compilation unit
[xwiki-users] Observer
How do I create an observer without adding a groovy code within a page?I saw this document: http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications but it requires code to be added within a page. Thank you.Allen _ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Observer
What we want to do is to create an application that we could use to connect to an XWiki Server to do certain actions whenever a user creates/modifies/updates a document in the Wiki. Is it possible to create such an application that wouldn't require us to include code snippets in the wiki pages/documents as stated in http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications, or even modify a module used by XWiki? We want it to be portable so that it can be used by any other XWiki Servers with very minimal, or better yet, no configurations. From: vinc...@massol.net Date: Mon, 11 Jan 2010 09:05:13 +0100 To: users@xwiki.org Subject: Re: [xwiki-users] Observer On Jan 11, 2010, at 5:01 AM, J. Allen Santos wrote: How do I create an observer without adding a groovy code within a page?I saw this document: http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications but it requires code to be added within a page. You mean how to do it from java? What do you want to achieve? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _ New Windows 7: Simplify what you do everyday. Find the right PC for you. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Observer
Thank you very much Vincent! This would really help us. I guess I was searching the wrong phrase/keyword. Allen From: vinc...@massol.net Date: Mon, 11 Jan 2010 11:54:56 +0100 To: users@xwiki.org Subject: Re: [xwiki-users] Observer Hi, On Jan 11, 2010, at 11:48 AM, J. Allen Santos wrote: What we want to do is to create an application that we could use to connect to an XWiki Server to do certain actions whenever a user creates/modifies/updates a document in the Wiki. Is it possible to create such an application that wouldn't require us to include code snippets in the wiki pages/documents as stated in http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications, or even modify a module used by XWiki? We want it to be portable so that it can be used by any other XWiki Servers with very minimal, or better yet, no configurations. So I assume you're coding from Java. Yes it's possible. Everything in XWiki is coded in Java. The tutorial shows how to write java code in a groovy page but you don't have to use groovy for that! :) Here's the doc: http://code.xwiki.org/xwiki/bin/view/Modules/ObservationModule However I see that Thomas has forgotten to write a quick example on http://code.xwiki.org/xwiki/bin/view/Modules/LocalObservationModule As you can see you have 2 options: - in-JVM - as distributed events You can also look at the source code: http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-observation/ Hope it helps, -Vincent From: vinc...@massol.net Date: Mon, 11 Jan 2010 09:05:13 +0100 To: users@xwiki.org Subject: Re: [xwiki-users] Observer On Jan 11, 2010, at 5:01 AM, J. Allen Santos wrote: How do I create an observer without adding a groovy code within a page?I saw this document: http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications but it requires code to be added within a page. You mean how to do it from java? What do you want to achieve? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Observer
Hi Sorry, I'm having a hard time understanding how to do it. May I request for a sample program/code for the remote observation module? Say for example, whenever a user views, a view counter increments. ThanksAllen From: vinc...@massol.net Date: Mon, 11 Jan 2010 11:54:56 +0100 To: users@xwiki.org Subject: Re: [xwiki-users] Observer Hi, On Jan 11, 2010, at 11:48 AM, J. Allen Santos wrote: What we want to do is to create an application that we could use to connect to an XWiki Server to do certain actions whenever a user creates/modifies/updates a document in the Wiki. Is it possible to create such an application that wouldn't require us to include code snippets in the wiki pages/documents as stated in http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications, or even modify a module used by XWiki? We want it to be portable so that it can be used by any other XWiki Servers with very minimal, or better yet, no configurations. So I assume you're coding from Java. Yes it's possible. Everything in XWiki is coded in Java. The tutorial shows how to write java code in a groovy page but you don't have to use groovy for that! :) Here's the doc: http://code.xwiki.org/xwiki/bin/view/Modules/ObservationModule However I see that Thomas has forgotten to write a quick example on http://code.xwiki.org/xwiki/bin/view/Modules/LocalObservationModule As you can see you have 2 options: - in-JVM - as distributed events You can also look at the source code: http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-observation/ Hope it helps, -Vincent From: vinc...@massol.net Date: Mon, 11 Jan 2010 09:05:13 +0100 To: users@xwiki.org Subject: Re: [xwiki-users] Observer On Jan 11, 2010, at 5:01 AM, J. Allen Santos wrote: How do I create an observer without adding a groovy code within a page?I saw this document: http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications but it requires code to be added within a page. You mean how to do it from java? What do you want to achieve? Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _ Windows 7: Simplify what you do everyday. Find the right PC for you. http://windows.microsoft.com/shop ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Users
Hi, I was playing with XWiki 1.8.1. I was told that users in a wiki is represented as a page with a certain object - XWikiUsers. I copied one user page from one xwiki instance and then saved it to another xwiki instance so as to register that user to that instance. The user was registered but, it seems that the user doesn't have any rights at all. So, I tried modifying the rights. I registered as Admin then included that user to the XWikiAll group. That solved the problem. Any comments? Any ideas on how to completely register a user from one instance to another by copying the user page.. using code? Thanks, Allen _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki Logo
Hi, could we use the logo of xwiki, modify it, then include it in our project logo? Thanks,Allen _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. https://signup.live.com/signup.aspx?id=60969 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users