"facet" which replaces text tokens XML files?

I need to create (or find) a plug-in that will take a collection of properties file, and, and apply token replacements to XML files before they are interpreted by IDEA.

We have something that does this in ant during build, but it throws IDEA off for things like Spring Beans where the token is a string, but the result "must" be a number.

for example, if the properties file had


and the XML file had:

IDEA will complain that @my.config.value@ is not a valid integer (although I know in our build it will be).

Any ideas on where to start?


Please sign in to leave a comment.