question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom Stack by 'stacks-archetype' does not work

See original GitHub issue

Hi, I am try to custom stack by Archetype assembly, add our stacks by default in Che server. I try following code from archetype generate and template ‘stacks-archetype’. But the stacks are not customized after start the server, all the stacks are displayed and I do not see the custom stack.

Here are the steps I try:

  1. generate assembly
docker run -it --rm \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v /data/Che/test/archetype_stack:/archetype \
  -v /data/Che/test/data_stack:/data \
  -v /root/.m2/repository:/m2 \
    eclipse/che:5.14.0 archetype generate --archid=stacks-archetype --che

And select 7)

7) stacks-archetype               - Assembly with sample stack packaging module, for using custom stacks in assemblies
Please enter your choice: 7
  1. run ‘mvn clean install’ under /data/Che/test/archetype_stack/assembly

  2. start Che

docker run -it --rm --name run-che \
           -v /var/run/docker.sock:/var/run/docker.sock \
           -v /data/Che/test/data_stack:/data \
           -v /data/Che/test/archetype_stack/assembly/assembly/assembly-main/target/eclipse-che-5.14.0/eclipse-che-5.14.0:/assembly \
              eclipse/che:5.14.0 start --skip:nightly

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15

github_iconTop GitHub Comments

1reaction
ghostcommented, Jul 13, 2017

You may add default stacks to your custom stacks.json.

0reactions
qi-mincommented, Jul 13, 2017

got it, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

stacks-archetype fails because it does not exist #5548 - GitHub
I can't create the new stacks-archetype introduced in #5417. Reproduction Steps: I get a The desired archetype does not exist (org.eclipse.che.
Read more >
Custom maven archetype doesn't generate sources defined in ...
I'm following the maven Documentation on creating custom archetypes and as far as I can see I'm doing everything correctly.
Read more >
Archetype stacking that alters the same ability. - Reddit
My personal house rule, however, is that they have to ACTUALLY alter the same material in practice, not just in name. So if...
Read more >
FAQ - Pathbuilder 2e
Custom races, weapons, armor, equipment, and spells are currently enabled. Custom classes, specials and archetypes will not be added to Pathbuilder. It's ...
Read more >
11.4. Writing a Custom Plugin
11.4.1. Creating a Plugin Project. To create a plugin project, you should use the Maven Archetype plugin. ... Or, was there a problem...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found