on ‎2018 Jul 25 1:23 PM
Hi all,
When using the ant addoninstall command to install an addon into your storefront extension, do you:
Run this command once and commit the changes it makes to version control (along with the addon itself, if needed)
Run this command when setting up a new developer environment and as part of every Continuous Integration build.
I had assumed that committing the changes was the normal approach but speaking to some other Hybris practitioners they've been taking the other approach and running ant addoninstall as part of the build process.
Request clarification before answering.
Hi,
I would say it depends on what kind of addon it is.
From my experience every project is unique and most of the time addon have to be customized.
So I prefer run ant addon once and commit the changes. It 's easy for maintaining the project.
If you are using multiple addons for different project I'll have a git for each of them to add generic features but nothing to specific.
That's a personal opinion, not sure if there is a good / bad answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matthew,
we're also using 2nd mentioned method: run ant addoninstall for new developer environments and in every bamboo build - esp. for deployment.
I don't know if this is a best practice. However, this way we can leave the hybris commerce core pure and reuse it as a bitbucket repository for multiple projects. This is handy for CI - i guess that all of it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.