Redeployment of WAR while installing AMP files replacing all modification
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2013 02:13 AM
While installing add-ons (.amp files) to the existing alfresco, the alfresco.war will redeploy again. This will change all the modification done in the theme and configuration files. So, how can I overcome this? Is there any way to take WAR of modified bundle?
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2013 03:44 AM
Hi,
you should put all your modifications into your AMP file and then add it to the original alfresco.war, and then deploy this one only.
The AMP puts file according to a rule contained in it, through Module Management Tool.
This will allow you to, for example, make an upgrade of version without too much pain.
Hope this helps.
Regards,
Andrea
you should put all your modifications into your AMP file and then add it to the original alfresco.war, and then deploy this one only.
The AMP puts file according to a rule contained in it, through Module Management Tool.
This will allow you to, for example, make an upgrade of version without too much pain.
Hope this helps.
Regards,
Andrea
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2013 05:34 AM
Hi abarisone,
I am vry new to alfresco. So, didnt get your answer.
The changes I made in themes and in many other files contained in WEB-INF. So, as you said, how can I put all those modifications into new AMP file, which is the add-on(for eg : reposize-dashlet-share.amp)…? Sorry, not understanding. 😞
I am vry new to alfresco. So, didnt get your answer.
The changes I made in themes and in many other files contained in WEB-INF. So, as you said, how can I put all those modifications into new AMP file, which is the add-on(for eg : reposize-dashlet-share.amp)…? Sorry, not understanding. 😞
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2013 06:13 AM
Hi,
it simply means that is not recommended to put your modifications directly modifying the original Alfresco or Share wars, but you should concentrate all your modification into an AMP file.
Then you apply the AMP to the original wars and you manage to keep things separated.
Since you are new to Alfresco, you might have a look here
http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fdev-Share-i... http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions
https://wiki.alfresco.com/wiki/AMP_Files
Regards,
Andrea
it simply means that is not recommended to put your modifications directly modifying the original Alfresco or Share wars, but you should concentrate all your modification into an AMP file.
Then you apply the AMP to the original wars and you manage to keep things separated.
Since you are new to Alfresco, you might have a look here
http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fdev-Share-i... http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions
https://wiki.alfresco.com/wiki/AMP_Files
Regards,
Andrea
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2013 04:01 AM
Yes Shibu,
And one more thing I want to point out here is Once you apply one AMP If you are deploying aging the same AMP after some changes then you must change the version otherwise it will not pickup the new changes from the AMP file.
And one more thing I want to point out here is Once you apply one AMP If you are deploying aging the same AMP after some changes then you must change the version otherwise it will not pickup the new changes from the AMP file.
