Hi at all, how is the best practices?
Use Case:
- 2 project in AEM, every project have his own code base (basically equal)
- On deploy each code base on AEM will overwrite the bundle of the other project
How is possible to deploy or merge the two code base for not overwrite the each other project bundle?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @tommyc11112341,
If your 2 sites are very similar, then you may need something like this:
Just like you would do in any project, you should identify the shared code and extract it to a dependency that both your projects share. This way:
If you're not sure how to do this, please see the WKND Tutorial which will teach you how to use AEM Core Components as a dependency, then do the same in your projects
First of all this is not the best practice to have such kind of code base.
Still you need to have such kind of stuff-
then you need to change package in one of the bundle so that both the bundles not interfere with other.
And you need to update corresponding references in html codes as well.
Note: This is not recommended.
Views
Replies
Total Likes
Hi @tommyc11112341,
If your 2 sites are very similar, then you may need something like this:
Just like you would do in any project, you should identify the shared code and extract it to a dependency that both your projects share. This way:
If you're not sure how to do this, please see the WKND Tutorial which will teach you how to use AEM Core Components as a dependency, then do the same in your projects
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies