apigeetool - how to override base path

Not applicable

I have some BasPath set in my proxy file:

<HTTPProxyConnection>
    <BasePath>/base1</BasePath>
    <Properties/>
    <VirtualHost>default</VirtualHost>
</HTTPProxyConnection>

how can I override it using <g>apigeetool</g>?


when I pass the application parameter "--base-path" it says it can't override /base1

1 2 358
2 REPLIES 2

Try specifying an empty node for BasePath.

i.e.

<HTTPProxyConnection>
	<BasePath/>
	<Properties/>
	<VirtualHost>default</VirtualHost>
</HTTPProxyConnection>

Through trial and error, this seems to work for me, though it wasn't clear from documentation anywhere.

Ignore this. While this does allow the deploy to happen, there is no base-path set when it is deployed to apigee. For now, i'm simply using a build step to replace BasePath.