Hi,
My question is simply: how do I escape ${id} in a filtered resource to
have it outputted literally?
The background is that I am using Maven 2 and have the following in a
filtered resource file:
<atlassian-plugin key="${atlassian.plugin.key}" name="${pom.name}"
enabled="true">
<plugin-info>
<description><![CDATA[${pom.description}]]></description>
<version>${pom.version}</version>
<vendor name="${pom.organization.name}"
url="${pom.organization.url}"/>
<param name="configure.url">/admin/acp/config.action</param>
</plugin-info>
<resource name="resources/" type="download" location="resources" />
<xwork name="actions" key="actions">
<package name="manage" extends="default" namespace="/manage">
<default-interceptor-ref name="defaultStack" />
<action name="cart" class="com.adaptavist.manage.CartAction">
<result name="success"
type="redirect">checkout/checkout.action?id=${id}</result>
</action>
</package>
</xwork>
</atlassian-plugin>
This is all well and good, until ${id} is replaced with
"acp:plugin:atlassian-plugin:2.0-SNAPSHOT", when I want it to go through
literally. I have tried what I can think of as being the obvious
escaping routines but none work. It should be noted that ${whatever.id}
is also converted into the same variable output.
Thanks,
--
Dan Hardiker
Adaptavist.com Ltd
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]