anchor.diff:  
   :devportal
   echo Starting to optimize API Manager for the Developer Portal profile
  -call :disableDataPublisher
  -call :disableJMSConnectionDetails
  -call :disableBlockConditionRetriever
  -call :disablePolicyDeployer
  -call :disableTransportSenderWS
  -call :disableTransportSenderWSS
   call :removeWebSocketInboundEndpoint
   call :removeSecureWebSocketInboundEndpoint
   rem ---removing webbapps which are not required for this profile--------
  
positive.code: 
  :keyManager
  echo Starting to optimize API Manager for the Key Manager profile
  call :disableDataPublisher
  call :disableJMSConnectionDetails
  call :disablePolicyDeployer
  call :disableBlockConditionRetriever
  call :disableTransportSenderWS
  call :disableTransportSenderWSS
  call :removeWebSocketInboundEndpoint
  call :removeSecureWebSocketInboundEndpoint
  call :removeSynapseConfigs
  
negative.code: rem  limitations under the License.
  
  set userLocation=%cd%
  set pathToAxis2XMLTemplate=..\repository\resources\conf\templates\repository\conf\axis2\axis2.xml.j2
  set pathToRegistryTemplate=..\repository\resources\conf\templates\repository\conf\registry.xml.j2
  set pathToInboundEndpoints=..\repository\deployment\server\synapse-configs\default\inbound-endpoints
  set pathToWebapps=..\repository\deployment\server\webapps
  set pathToJaggeryapps=..\repository\deployment\server\jaggeryapps
  set pathToSynapseConfigs=..\repository\deployment\server\synapse-configs\default
  set pathToAxis2TMXmlTemplate=..\repository\resources\conf\templates\repository\conf\axis2\axis2_TM.xml.j2
  set pathToRegistryTMTemplate=..\repository\resources\conf\templates\repository\conf\registry_TM.xml.j2
  set axis2XMLBackupTemplate=axis2.xml.j2.backup
  set registryBackupTemplate=registry.xml.j2.backup
  set axis2XMLTemplate=axis2.xml.j2
  set registryXMLTemplate=registry.xml.j2
  
  cd /d %~dp0
  