Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update template/bootstrap script for 2211? #29

Open
fibsifan opened this issue Aug 14, 2023 · 1 comment · May be fixed by #30
Open

Update template/bootstrap script for 2211? #29

fibsifan opened this issue Aug 14, 2023 · 1 comment · May be fixed by #30

Comments

@fibsifan
Copy link

I'm trying to generate a project for 2211 and getting error after error.

  • The 2011.9 version seems to be in many files not just one, but I managed to replace it everywhere.
  • The supplied wrapper version can't be used with plugin versions of 4.0.0 - you have to update gradle before updating the wrapper because otherwise the build script can't be loaded
  • Once versions are up to date (gradle 8.2.1 and commerce build plugins 4.0.0) , some of the dependencies for the tasks in the bootstrap.gradle.kts are not up to latest standards (something about tasks using output from other tasks and needing dependecies on those tasks)
  • after fixing this I get an error like this:
> Task :moveJsonnet FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':moveJsonnet'.
> Warning: Could not find file /home/developer/src/demoproject/core-customize/bootstrap/manifest.jsonnet.filtered to copy.

I'm taking a break here but I suspect there might be more adaptions needed.

@mpern
Copy link
Member

mpern commented Aug 22, 2023

Hi Johannes!

Yep, you are right.
This template needs some love to work with all the changes to the gradle pugins, Commerce 2211 and the Spartacus 6.x release.
To be fully transparent, I only have very limited capacity to work on it at the moment, so it will take me at least few weeks to do the changes, bootstrap a project and test it on a ccv2 subscription.

That said: any and all pull requests are welcome, so if you want to take a stab at it, please go ahead 😄

@fibsifan fibsifan linked a pull request Aug 31, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants