The command below generates .ear with the clean version without the patch and without the customizations.
./customizeACM.sh -i /tmp/aveksa/staging,/tmp/repackaged_ear_dir
There is another command that generates a .ear with patch or customizations.?
In short I need to generate a new .ear with the updated version that is deployed.
Hello Rodrigo,
No problem :)
Regarding your below question
"If I apply a patch to IGL (example P02) and use the customizeACM.sh -c command it will use an .ear
that does not contain the applied patch."
- All the EARs will be stored in /home/oracle/archive
now if the latest/current EAR is P02 EAR and you run customzeACM.sh -c it will pick that latest EAR only
Example below :
-Here I have aveksa_7.1.1_161195-2019-Mar-18-13.31.ear (7.1.1 EAR ) and aveksa_7.1.1_161195_P01-2019-Dec-20-14.19.ear (7.1.1 P1 EAR )
acm->:/home/oracle/Aveksa_7.1.1_P01/logs # cd /home/oracle/archive/
acm->:/home/oracle/archive # ls -l
total 1971764
-rw-r--r-- 1 oracle oinstall 552 Mar 18 2019 Archive_README.txt
-rw-r--r-- 1 oracle oinstall 159 Mar 18 2019 DO_NOT_REMOVE_ARCHIVE_FILES.txt
-rw-rw---- 1 oracle oinstall 1012144645 Mar 18 2019 aveksa_7.1.1_161195-2019-Mar-18-13.31.ear
-rw-rw---- 1 oracle oinstall 1006918058 Dec 20 14:22 aveksa_7.1.1_161195_P01-2019-Dec-20-14.19.ear
-rw-rw---- 1 oracle oinstall 131 Dec 20 14:27 wildfly_deployment.properties
- Now run ./customizeACM.sh -c
it shows that current ear file is 7.1.1 P1 EAR and it picked that
acm->:/home/oracle/archive # cd /home/oracle/deploy/
acm->:/home/oracle/deploy # ./customizeACM.sh -c
You have not specified an archive ear file to customize.
The current ear file deployed to Wildlfy is stored at: /home/oracle/archive/aveksa_7.1.1_161195_P01-2019-Dec-20-14.19.ear
Do you want to customize that archived ear file [yes/no]?
- Secondly , I believe customization should’ve been taken care of by running “patch.sh” script
what i mean that , we have customization stuff in existing EAR (Ver) and now we applied patch on top of that ver.
i believe the patch.sh script take care of it as you see when we run patch.sh it does repacking, underplaying/deploying new customized ear. (unless you want to add more contents after)
Many Thanks,
Rakhee