Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Running Che from an IDE

Hi Michael,

I would like to know the answers to the questions you are asking too, especially the most efficient ways to turn around a minor change[1]. Its taking a minute or three to turn around a change using the advice on the wiki[2], and if you are working on the as yet unreleased 6.0 there is some new documentation coming along[3]. My additional advice is to only mvn install the artifacts you know that have changed by using the -pl command line option. For example, this is my approximate compile line when I change one of my plugins for the ide. At the end of this I can refresh the browser and experiment with my changes.

time ( \
   mvn install -pl :che-plugin-XXX-shared,:che-plugin-XXX-ide,:che-ide-full,:che-ide-gwt-app -Pfast \
&& mvn -f assembly clean install -Pfast \
&& docker run --privileged --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v DATALOCATION:/data -v $PWD:/repo eclipse/che:nightly restart --fast \
)  2>&1 | ts

The time and ts is to add timing and timestamps to the whole process. 

[1] https://github.com/eclipse/che/issues/8352
[2] https://github.com/eclipse/che/wiki/Development-Workflow#build-and-run
[3] https://www.eclipse.org/che/docs/6/che/docs/ide-extensions-gwt.html

HTH,
Jonah



~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com

On 2 February 2018 at 18:41, Michael Minella <michael@xxxxxxxxxxxxxxxxxx> wrote:
I'm currently looking at making some updates to Che and have a question.

I can get a clean build locally of the project (thanks to whoever handles the @eclipse_che twitter account for pointing me in the right direction).  However, from there, I'm a bit stuck.

I'll admit I'm a docker newbie, but I can't seem to figure how to run the version I just built locally.  
  • Do I need to publish a docker image to a registry and if so, where the image found?  
  • Can I run it locally directly and if so, how?  
  • Can I run Che's dashboard or IDE straight from my IDE (IntelliJ) somehow (ideal option) so that I don't need to rebuild the entire project to test out minor changes?  If so how?
Any insights you can provide are appreciated.  Thanks in advance!

Thanks,
Michael Minella
Sr. Manager - Spring Engineering
Pivotal


_______________________________________________
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



Back to the top