Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] che plugin, part development

Hello,
 
I have a question:
Eclipse Che with local binaries is running and I want to develope a part. So I followed this guide https://www.eclipse.org/che/docs/parts.html
 
When started the mvn build I get this error:
 
--- gwt-maven-plugin:1.0-rc-8:compile (default) @ assembly-ide-war ---
[INFO] Compiling module org.eclipse.che.ide.IDE
[INFO]    Ignored 92 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[INFO]    Computing all possible rebind results for 'com.google.gwt.useragent.client.UserAgentAsserter'
[INFO]       Rebinding com.google.gwt.useragent.client.UserAgentAsserter
[INFO]          Checking rule <generate-with class='com.google.gwt.editor.rebind.SimpleBeanEditorDriverGenerator'/>
[INFO]             [WARN] Detected warnings related to 'com.google.gwt.editor.client.SimpleBeanEditorDriver'.   Are validation-api-<version>.jar and validation-api-<version>-sources.jar on the classpath?
[INFO]             Specify -logLevel DEBUG to see all errors.
[INFO]             [WARN] Unknown type 'com.google.gwt.editor.client.SimpleBeanEditorDriver' specified in deferred binding rule
[INFO]    Computing all possible rebind results for 'org.eclipse.che.ide.client.inject.IDEInjector'
[INFO]       Rebinding org.eclipse.che.ide.client.inject.IDEInjector
[INFO]          Checking rule <generate-with class='org.eclipse.che.util.ExtensionRegistryGenerator'/>
[INFO]             Tracing compile failure path for type 'org.eclipse.che.ide.client.inject.IDEInjector'
[INFO]                [ERROR] Errors in 'file:/C:/Users/<username>/Desktop/che_examples/che-ide/che-ide-server-extension/assembly/assembly-ide-war/target/generated-sources/gen/org/eclipse/che/ide/client/inject/IDEInjector.java'
[INFO]                   [ERROR] org.eclipse.che.ide.bootstrap.IdeBootstrap cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/C:/Users/<username>/.m2/repository/org/eclipse/che/core/che-core-ide-app/6.10.0-SNAPSHOT/che-core-ide-app-6.10.0-SNAPSHOT.jar!/org/eclipse/che/ide/bootstrap/IdeBootstrap.java'
[INFO]                   [ERROR] org.eclipse.che.ide.bootstrap.ExtensionInitializer cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/C:/Users/<username>/.m2/repository/org/eclipse/che/core/che-core-ide-app/6.10.0-SNAPSHOT/che-core-ide-app-6.10.0-SNAPSHOT.jar!/org/eclipse/che/ide/bootstrap/ExtensionInitializer.java'
[INFO]                   [ERROR] org.eclipse.che.ide.client.ExtensionManager cannot be resolved to a type
[INFO]                [ERROR] Errors in 'file:/C:/Users/<username>/Desktop/che_examples/che-ide/che-ide-server-extension/assembly/assembly-ide-war/target/generated-sources/gen/org/eclipse/che/ide/client/ExtensionManager.java'
[INFO]                   [ERROR] org.eclipse.che.sample.ide.ServerServiceExtension cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/C:/Users/<username>/Desktop/che_examples/che-ide/che-ide-server-extension/plugins/plugin-serverservice/plugin-serverservice-ide/target/plugin-serverservice-ide-6.10.0-SNAPSHOT.jar!/org/eclipse/che/sample/ide/ServerServiceExtension.java'
[INFO]                   [ERROR] org.eclipse.che.sample.ide.action.MyAction cannot be resolved to a type
[INFO]                [ERROR] Errors in 'jar:file:/C:/Users/<username>/Desktop/che_examples/che-ide/che-ide-server-extension/plugins/plugin-serverservice/plugin-serverservice-ide/target/plugin-serverservice-ide-6.10.0-SNAPSHOT.jar!/org/eclipse/che/sample/ide/action/MyAction.java'
[INFO]                   [ERROR] Line 27: No source code is available for type org.eclipse.che.plugn.parts.ide.helloworldview.HelloWorldPresenter; did you forget to inherit a required module?
[INFO]    [ERROR] Errors in 'org/eclipse/che/ide/client/IDE.java'
[INFO]       [ERROR] Line 24: Failed to resolve 'org.eclipse.che.ide.client.inject.IDEInjector' via deferred binding
 
Further in the MyGinModule i cannot use the class AbstractGinModule. The import is not successfully, although the class exists in the gin folder in the .m2/repository.
 
Do you have any suggestions what I can do?
 
By the way: In the guide I was confused about the name of the Presenter. First you named it HelloWorldPresenter and later MyPartPresenter.
 
best regards,
Tobias

Back to the top