コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.
解決済み

AEMaaCS - what's the best way to upgrade local SDK version?

Avatar

Level 3

Hi everyone,

 

I'm looking for the best way to upgrade our local SDK version for AEMaaCS. Right now, we're packaging our content and installing it in the new SDK, but this is really time consuming and a bit of a hassle to do every time we have a SDK upgrade. 

 

Does anyone have any suggestions on a better way to do this, maybe a way we can automate this process to make things easier for all our developers?

 

Appreciate any help and resources, thanks!

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
Community Advisor
4 返信

Avatar

Community Advisor

Avatar

Level 3

Hi Arun, I saw this but all those approaches are essentially the same where we package and install the content over to the new instance. I'm mainly looking for suggestions on how to automate the process.

Avatar

Community Advisor

Hi @IshaJa

I solved this routine by creating of 2 bash scripts to setup AEM local instances (author and publish) and to migrate a content using a CRX2OAK tool (https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/deploying/upgr...). Example of command: 

echo "Migrating content from $OLD_AEM_FOLDER_LOCATION to $NEW_AEM_FOLDER_LOCATION..."
java $CRX_2_OAK_JVM_ARGS -jar $CRX_2_OAK_JAR_LOCATION \
        "$OLD_AEM_FOLDER_LOCATION/crx-quickstart/repository" \
        "$NEW_AEM_FOLDER_LOCATION/crx-quickstart/repository" \
        "--src-datastore=$OLD_AEM_FOLDER_LOCATION/crx-quickstart/repository/datastore/" \
        "--datastore=$NEW_AEM_FOLDER_LOCATION/crx-quickstart/repository/datastore/" \
        $CRX_2_OAK_INCLUDE_PATHS_ARG \
        $CRX_2_OAK_MERGE_PATHS_ARG \
        $CRX_2_OAK_EXCLUDE_PATHS_ARG \
        $CRX_2_OAK_ADDITIONAL_ARGS \
        --fail-on-error --copy-binaries --ignore-missing-binaries --log-level TRACE || error_exit "CRX2OAK migration failed"

 

Kostiantyn Diachenko


Check out AEM VLT Intellij plugin


Avatar

正解者
Community Advisor

Hi @IshaJa ,

Pls check the below article . This can be helpful .

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/batch-script-for-efficient...

 

Thanks,

Somen