Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Building Eclipse Che with local binaries

Hello Tobias!

You need to add --skip:scripts to your run syntax.

or

You may also mount just Che binaries path/to/assembly-main/target/che-binaries:/assembly

On Thu, Aug 9, 2018 at 8:06 AM, Tobias Fox <TobiasFox@xxxxxxx> wrote:

Hello everyone,

I have some questions about the plugin development for Eclipse Che.

I use the example repo https://github.com/che-samples/che-ide-server-extension and I want to develop within another eclipse IDE on my local pc. So later I want to develop an own customized assembly.

So what is the workaround for developing plugins with local binaries? Do I see normally all the changes I made, when running eclipse che with local binaries?  In my case I didn’t see any changes. Or Do I have to start Eclipse Che with the local binaries and create a workspace for building Che in Che, import my own project (for example with che dir) and executes the commands inside of che for my plugins?

 

Here are some more details:

I’m using Windows 10, docker for windows and Mozilla Firefox.

So I cloned this repo, didn’t change any files and build Che with this maven command:

mvn clean install (inside the root folder)

The docker command is this one:

docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock
–v ~/Desktop/che_examples/che_example2/che_data:/data
–v ~/Desktop/che_examples/che_example2/che-ide-server-extension:/repo
eclipse/che start

When I try this command it says:
WARN: Bound 'eclipse/che' to 'eclipse/che:6.9.0'INFO: (che cli): /repo mounted - using assembly and manifests from your local repository
/scripts/base/startup_01_init.sh: line 317: /repo/dockerfiles/cli/scripts/post_init.sh: No such file or directory

So this error took a while to figure out. The path for the referenced file is not correct so I copied the whole dockerfile folder and changed the path in line 119:

from:  DEFAULT_CHE_SCRIPTS_CONTAINER_SOURCE_DIR="/repo/dockerfiles/cli/scripts"
to: DEFAULT_CHE_SCRIPTS_CONTAINER_SOURCE_DIR="/dockerfiles/cli/scripts”
 

Do you need some more information?

Do you have any idea, what I can do?

Do I see normally all the changes I made, when running eclipse che with local binaries?

Is there another workaround for developing an assembly with local binaries?

Did I do something wrong?

 

Sorry for the long email and I’m happy for every help.
Best 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://dev.eclipse.org/mailman/listinfo/che-dev




--

EUGENE IVANTSOV

Red Hat 

eivantsov@xxxxxxxxxx   


Back to the top