Plugin Embed JavaScript :: Parent pom

Provides version of third parties artifacts to use in Codenvy platform projects

License

License

Categories

Categories

JavaScript Languages Eclipse Che Development Tools IDE CLI User Interface
GroupId

GroupId

org.eclipse.che.sample
ArtifactId

ArtifactId

plugin-embedjs-sample
Last Version

Last Version

6.19.0
Release Date

Release Date

Type

Type

zip
Description

Description

Plugin Embed JavaScript :: Parent pom
Provides version of third parties artifacts to use in Codenvy platform projects
Project URL

Project URL

https://www.eclipse.org/che/
Project Organization

Project Organization

Red Hat, Inc.
Source Code Management

Source Code Management

https://github.com/che-samples/che-plugin-embedjs

Download plugin-embedjs-sample

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • plugins
  • assembly

Che Plugin EmbedJS Sample

Build

You can build this sample using command mvn clean install, as well as using Docker Image eclipse/che-dev:nightly to build

Description of mounting volumes

  • /home/user/.m2 - use this to mount your local Maven repository
  • /projects - mount for the sample directory

Example of running this command docker run -ti -v ~/.m2:/home/user/.m2 -v /home/user/che-plugin-embedjs/:/projects eclipse/che-dev:nightly sh -c "mvn clean install"

Note, that building the module with GWT compilation may fail, if there would not be enough memory. Make sure that your Docker container can use at least 3GB of RAM.

Run

Run this sample by mounting assembly to your Che Docker image:

Description of mounted volumes:

  • /var/run/docker.sock - docker socket, required by Che for launching workspaces
  • /data - path to Che data files on host system(logs, configuration)
  • /assembly - path to your Che assembly-main files location (note that it has to point to the unwrapped Che files in target/<eclipse-che-version>/<eclipse-che-version> of assembly-main)

Example of running this command docker run -it --rm -v /home/user/che-data/:/data -v /home/user/che-samples/che-plugin-embedjs/assembly/assembly-main/target/eclipse-che-6.13.0/eclipse-che-6.13.0:/assembly -v /var/run/docker.sock:/var/run/docker.sock eclipse/che:nightly start --skip:scripts

org.eclipse.che.sample

Versions

Version
6.19.0
6.18.0
6.17.0
6.16.0
6.15.0
6.14.0
6.13.0
6.12.0
6.11.0
6.10.0