[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
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
Oh. That's why. Thank you very much! Regards,J. Allen
Date: Fri, 20 Nov 2009 13:01:37 +0200 From: [email protected] To: [email protected] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] 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
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
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
Ok, I'll try that version. I have been using version 2.2.1
Date: Fri, 20 Nov 2009 15:18:33 +0200 From: [email protected] To: [email protected] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://windows.microsoft.com/shop
participants (2)
-
J. Allen Santos -
Marius Dumitru Florea