So, that's the question. I want to just throw a build number somewhere in a file which is updated automatically by IDEA. I've thought of using the "pre-process" or "post-process" tabs on the artifact but I think the ant target doesn't get that info. Actually, I think maybe it cannot be done. Some plugin perhaps?