Applying Patch
Applying Patch/Unpatch
Copy the patch to the location $FioranoHome$/APIManagement/DeveloperPortalDrupal/patch.
Before applying any patch/unpatch, give the location of the Drupal Portal folder without a trailing line separator in the 'build.properties' file located at $FioranoHome$/APIManagement/DeveloperPortalDrupal/patch folder.
Example:
CODE/opt/lampstack-7.1.32-0/apache2/htdocs/FioranoDeveloperPortal
After providing the Drupal path, apply patch or unpatch using the following commands:
CODEant patch
CODEant unpatch
Since the path to the Drupal portal folder is provided in the build.properties file, make sure the paths in patch.properties is relative to the drupal portal folder.
Sample patch.properties file:
CODEjars= directories=captcha files=fiorano_core.module captcha=sites/all/modules/captcha fiorano_core.module=sites/all/modules/fiorano_core/fiorano_core.module
Patching/Unpatching can be applied to an existing Live site also by following the above-mentioned steps.
Sometimes changes to the database are required for the desired outcome of the patch. To make changes to the database configuration, open the URL in the browser in the following format:
CODE<Drupal Portal URL>/update.php
- Any database configuration changes that are required will be mentioned in the readme.txt file of the patch.