Hello,
I have some question to the local Eclipse Che development:
I implemented a che plugin which has several dependencies. The Maven Build works fine but Im getting the following error when starting a workspace:
"Error: Failed to run the workspace: "Server 'wsagent/http' in machine 'dev-machine' not available."
I think this is caused by the dependencies I use in my plugin, but im not sure which one. So Is there a way to get detailed information for this error?
I had this error before and solved it by adding <scope>provided</scope> to the dependencies. But this time it isn't working.
Here hard to say what exactly problem. But you can try to check logs of ws-agent, most easiest way you can read "dev-machine" console output.
Do you mean the logs at docker logs che or /path-to-che-data/instance/logs/ ? Can I get the output from dev-machine, if the workspace couldn't start?
I changed the che wide log level CHE_LOG_LEVEL=DEBUG to see the debug logs, but so far i coulnd't figure out if there is something related to my plugin.
The follwing issue has a lower priority than the above one.
Also I have configured a run configuration with the GWT plugin in Eclipse. When I run this configuration I'm gettting this error:
[ERROR] Line 48: No source code is available for type org.eclipse.che.sample.ide.JsonExampleEditorExtension; did you forget to inherit a required module?
Maybe this is a bit basic, but I'm a beginner.
In the pom from the client I have to enter a module name. Is this the class name or the title from the Extension-annotation for example: @Extension(title="someExtension")?
First of all check your model.gwt.xml in you package structure i should have: <source path="ide"/>.
Personally i don't use Eclipse GWT Plugin, for daily work I use this command for start SuperDevMode:
mvn gwt:codeserver -pl :che-ide-gwt-app -am -Dmaven.main.skip -Dmaven.resources.skip -Dche.dto.skip -Dskip-enforce -Dskip-validate-sources
I'll try it.
Che Version: 6.9.0
OS: win10
Docker Desktop: 2.0.0.0-win78 (28905)
Maven command: mvn clean install -Dskip-enforce -DskipTests -Dskip-validate-sources -Dfindbugs:skip -DskipIntegrationTests=true -Dmdep:analyze.skip=true
Docker command: docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock -v <path-to-che>:/data -v <path-to-che>:/repo eclipse/che:6.9.0 start --skip:scripts
I know there are newer Che versions, but I’m developing with this specific Che version and I'm using Docker.
Kind regards,
Tobias Fox
_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/che-dev