Thursday, October 24, 2013

Deploy Theme static resources using configengine with out using webdav client

This config engine task is used to deploy theme static resources to webdav folders without actually using webdav client. (useful when promoting from dev to test or prod environments for administrators).

To deploy theme using Configuration task create a zip file with all your static resources organized by type in to folders. lets call it testtheme.zip









and copy this zip file to a temp folder on your server.

and execute the following command based on your operating system.

./ConfigEngine.sh webdav-deploy-zip-file -DTargetURI=dav:/fs-type1/themes/ 
     -DZipFilePath=/tmp/testtheme.zip
 
./ConfigEngine.bat webdav-deploy-zip-file -DTargetURI=dav:/fs-type1/themes/ 
     -DZipFilePath=/tmp/testtheme.zip
 you should also pass 
  • WasUserid The WebSphere® Application Server user ID
  • WasPassword The WebSphere Application Server password
  • PortalAdminId The portal administrator user ID
  • PortalAdminPwd The portal administrator password 
 as parameters if these values are not already specified in wkplc.properties file. 
 
webdav-deploy-zipfile task by default will replace the existing contents of the specified
target folder with the contents in the zip file. if you want to avoid accidentally deleting
any of the necessary files/folders use optional UpdateMode paramater with value as merge
so that this taks will merge the contents of the zip file with the content thats already 
there in the target folder.  

the resulting command should me something like this.

./ConfigEngine.sh webdav-deploy-zip-file -DTargetURI=dav:fs-type1/themes 
-DZipFilePath=/tmp/testTheme.zip -DUpdateMode=merge
 
 
this task can also be used to deploy skins,iwidgets and layouts also using these
below values for  -DTargetURI
 

dav:fs-type1/layout-templates/
dav:fs-type1/iwidgets/myWidget/
dav:fs-type1/skins/
 
 

3 comments:

  1. if you wish to avoid accidentally deleting any of the mandatory files/folders use elective Update Mode parameter with price as merge in order that this takes can merge the contents of the nothing file with the content that's already there within the target folder college essay writing service.

    ReplyDelete
  2. This config engine task is employed to deploy theme static resources to webdav folders while not really exploitation webdav shopper. helpful once promoting from dev to check or prod environments for directors buy essay writing service.

    ReplyDelete
  3. I read this article. I think You put a lot of effort to create this article. I appreciate your work Provide Dissertation Writing Help Thanks For The Information.

    ReplyDelete

comments