I haven't tried the GWT development mode since a long time. It's strange
that you have XWiki 7.4 and you try to use xwiki-commons-component-api
8.0-SNAPSHOT. Have you tried to use the $XE_VERSION variable instead? Are
you sure xwiki-commons-component-api is available in the local maven repo?
Note that we plan to replace the GWT-based WYSIWG editor with CKEditor soon
(see
http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration
). So if you're doing custom development on top on the current editor, you
should think how this will integrate with the new CKEditor.
Hope this helps,
Marius
On Fri, Feb 26, 2016 at 11:43 AM, Maksim Birukov <m.birukov(a)comparus.de>
wrote:
Hi All,
Could you please help me with information about debugging client part!
I don’t understand why I have in the GWT development mode this error:
[ERROR] Errors in
'org/xwiki/gwt/wysiwyg/client/converter/HTMLConverter.java’
[ERROR] Line 22: The import org.xwiki.component cannot be
resolved
[ERROR] Line 32: Role cannot be resolved to a type
As I see this package org.xwiki.component.annotation exists in the
xwiki-commons-component-api and client part includes this package as maven
dependency...
I use file start_wysiwyg_noserver_debug.sh where I added maven
dependencies now it looks like :
XE_VERSION=7.4;
GWT_VERSION=2.6.0;
GWT_INCUBATOR_VERSION=2.0.1;
SMART_GWT_VERSION=2.4;
M2_REPO=~/.m2/repository;
APP_DIR=`dirname $0`/webapps/xwiki;
java \
-Xmx1024m \
-Xdebug \
-Xnoagent \
-Djava.compiler=NONE \
-Xrunjdwp:transport=dt_socket,server=y,address=5006,suspend=y \
-cp \
$M2_REPO/org/xwiki/platform/xwiki-platform-gwt-dom/$XE_VERSION/xwiki-platform-gwt-dom-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-gwt-user/$XE_VERSION/xwiki-platform-gwt-user-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-oldcore/$XE_VERSION/xwiki-platform-oldcore-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/commons/xwiki-commons-component-api/8.0-SNAPSHOT/xwiki-commons-component-api-8.0-SNAPSHOT.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-client/$XE_VERSION/xwiki-platform-wysiwyg-client-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-server/$XE_VERSION/xwiki-platform-wysiwyg-server-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-client/$XE_VERSION/xwiki-platform-wysiwyg-client-shared-$XE_VERSION.jar:\
$M2_REPO/org/xwiki/platform/xwiki-platform-wysiwyg-plugin-api/$XE_VERSION/xwiki-platform-wysiwyg-plugin-api-$XE_VERSION.jar:\
$M2_REPO/com/google/gwt/gwt-user/$GWT_VERSION/gwt-user-$GWT_VERSION.jar:\
$M2_REPO/com/google/gwt/gwt-dev/$GWT_VERSION/gwt-dev-$GWT_VERSION.jar: \
com.google.gwt.dev.DevMode \
-noserver \
-port 8080 \
-war $APP_DIR/resources/js/xwiki/wysiwyg \
-startupUrl xwiki/bin/edit/Sandbox/Test?editor=wysiwyg \
org.xwiki.gwt.wysiwyg.Wysiwyg
Best regards,
Maxim Birukov
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users