Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup ant like variable substitution in atlassian-plugin.xml

Shivam Srivastava June 27, 2018

Below question is related to https://developer.atlassian.com/server/jira/platform/servlet-filter/ .

How to setup ant like variable substitution in atlassian-plugin.xml as we do in web.xml(http://tomcat.apache.org/tomcat-7.0-doc/config/).
For example I have one init param for my filter configured in web.xml and atlassian-plugin.xml as below-

<init-param>
<param-name>some.file.name</param-name>
<param-value>${BITBUCKET_HOME}/file</param-value>
</init-param>

But this does not work in atlassian-plugin.xml, I get below error -

Caused by: java.io.IOException: Unable to properly expand ${BITBUCKET_HOME}/file

 

I am using bitbucket version - 4.14.5

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events