Che: Building che-plugin-wizard (sample)

Created on 17 Oct 2018  路  9Comments  路  Source: eclipse/che

Description

I cloned the repo from GIT and Build it with no errors and ran it. Che started without a problem. But how to check the wizard plugin is working or not?

Reproduction Steps

  1. Cloned https://github.com/che-samples/che-plugin-wizard.git
  2. checkout tag 6.12.0
  3. mvn clean install the repository
  4. Run command:
    docker run -it --rm -v D:\che-plugin-wizard:/repo -v D:\BackupPluginWizard:/data -v D:\che-plugin-wizard\assembly:/assembly -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-cli:6.12.0 start --skip:scripts

OS and version:
Windows 10

Diagnostics:
wizard

Thanks.

kinquestion

All 9 comments

why do you think this command should work?

let me take a look for a correct one

try

docker run -ti -v ~/.m2:/home/user/.m2 -v /Users/sj/dev/tmp/che-plugin-wizard/:/projects eclipse/che-dev:nightly sh -c "mvn clean install"

Also take a look https://www.eclipse.org/che/docs/assemblies.html#custom-assemblies

Build it using the command and gives me an error,

ide-server

Can you please look into this.

I thought it is correct because of this.

@LahiruT94 more logs, please. Is this original master of https://github.com/che-samples/che-plugin-wizard.git or you custom fork?

Yes it is the original master.

output.txt <- Log

@LahiruT94 can you please try build it once again, only configure your Docker to use at least 3GB of RAM?
Build fails on a module that does GWT compilation, which takes up a lot of memory and may be crashing because of low RAM limit

Yes, thank you it worked. (build succeeded).

But I could not figure out how to run it using the che-dev nightly build.

Run command that i used:
docker run -it --rm -v D:/che-samples/che-ide-server-extension:/repo -v D:\che-samples\che-ide-server-extension-data:/data -v D:/che-samples/che-ide-server-extension/assembly:/assembly -v /var/run/docker.sock:/var/run/docker.sock eclipse/che-dev:nightly start --skip:scripts

It gives me this error:
/home/user/entrypoint.sh: line 41: exec: start: not found

Okay, i figured it out. Have to provide the assembly path inside the target.

docker run -it --rm -v D:/che-samples/che-ide-server-extension:/repo -v D:/che-samples/che-ide-server-extension-data:/data -v D:/che-samples/che-ide-server-extension/assembly/assembly-mai
n/target/eclipse-che-6.13.0/eclipse-che-6.13.0:/assembly -v /var/run/docker.sock:/var/run/docker.sock eclipse/che:6.12.1 start --skip:scripts
Was this page helpful?
0 / 5 - 0 ratings

Related issues

johnmcollier picture johnmcollier  路  3Comments

vanzhiganov picture vanzhiganov  路  3Comments

dmytro-ndp picture dmytro-ndp  路  3Comments

JamesDrummond picture JamesDrummond  路  3Comments

Ohrimenko1988 picture Ohrimenko1988  路  3Comments