Monday, 17 November 2014

Exporting and importing wcm library

Use-case :-  You have developed a module in WCM by creating custom library. Now you want to share it with other developer. We need to export the library from one machine to another machine.

Step1 :-  We need to set the library which we want to export in WCMConfigService in your was administration.


Step 2 :- Set export.libraryname to the library you want to export.

Step 3 :- Execute below config engine task under wp_profile

ConfigEngine.bat export-wcm-data -DWasPassword=pAssw0rd321 -DPortalAdminPwd=pAssw0rd321

Step 4 :- Now you can find exported library under {C:\IBM\WebSphere\wp_profile\PortalServer\wcm\ilwwcm\system\export} this path


Step 5 :- In other machine set import.directory  in WCMConfigService and run below task

ConfigEngine.bat import-wcm-data -DWasPassword=pAssw0rd321 -DPortalAdminPwd=pAssw0rd321



No comments:

Post a Comment

Custom single threaded java server

 package com.diffengine.csv; import java.io.*; import java.net.*; import java.util.Date; public class Server { public static void main(Str...