
Add an existing product to WUM repository
In cases where we have downloaded the product from the product page of wso2.com, we can add this download to the repository so that we can check for updates.
If we have previously downloaded, for example, WSO2 ESB 5.0.0, the previous version of WSO2 EI, and we want to add it to the repository to check whether any update is available for it, we type the following:
C:>wum add --file wso2esb-5.0.0.zip Connecting to WSO2 Update... Adding product wso2esb-5.0.0... Successfully added to following location: C:\wso2\products\wso2esb\5.0.0\wso2esb-5.0.0.zip
What's next?
use wum check-update wso2esb-5.0.0 to check for updates
use wum update wso2esb-5.0.0 to install latest updates
Remember that in Mac, you need to put the full path when typing the name of the file; in this case, we need to type the full path for the file, wso2esb-5.0.0.zip.
Now, we have WSO2 ESB 5.0.0 in the local repository. The ZIP containing the original server will remain in the source location, and an updated/patched copy will be placed under [product.repo]/wso2esb/5.0.0/ in the repository location.
Next step, as we can read in the message displayed in the console, is to check for updates.