Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Eclipse Che custom assembly

Andrew,

The location you have mentioned is a Tomcat assembly. And if you look into webapps it is workspace master. Plugins are deployed with the workspace agent. If you look at lib directory, you will find a tar with another tomcat. This is workspace agent. A custom jar will end up in a ROOT.war

On Fri, Dec 29, 2017 at 1:56 AM, Andrew McLachlan <andrew.mclachlan@xxxxxx> wrote:

Hi there!

Quick question.

I have generated an archetype using the following command (note that I am using 5.22.0):

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`/archetype:/archetype -v `pwd`/data:/data -v ~/.m2/repository:/m2 -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro   --user=0:0   --group-add 999 eclipse/che-cli:5.22.0 archetype generate

When I run mvn clean install or

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`/archetype:/archetype -v `pwd`/data:/data -v ~/.m2/repository:/m2 -v /etc/group:/etc/group:ro -v /etc/passwd:/etc/passwd:ro   --user=0:0   --group-add 999 eclipse/che-cli:5.22.0 archetype build

I expected the new plugins (JARs/WAR) to be set-up / copied into

`pwd`/archetype/assembly/assembly-che/assembly-main/target/eclipse-che-5.22.0/eclipse-che-5.22.0

but I do not see that happening. I can start Che with the archetype using archetype run but I’d like to customise the dashboard and AFAIK it requires the WAR to be in the webapps folder.

Is there anything obvious that I am missing?

Thanks for your continuing support.

Andrew (McLachlan)

_______________________________________________
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