Is there any way I can get Eclipse WTP to do token substitution on publish/deployment assembly?
I'd like to have tokens like ${hostname}, ${environment} etc. in web.xml or a properties file, substituted at build time from some context.
A specific example from persistence.xml:
<property name="javax.persistence.jdbc.url" value="${jdbc.url}"/>
Is there any way to do this with Eclipse/WTP without having Maven manage my build? More precisely, can I have WTP publish changes incrementally without rebuilding and redeploying every single class/resource in the WAR to the server?