Hi Green, > I found string like "@@VERSION@@" in above codes, it seems like > a macro, and is prepared to be replaced by some preprocessing > tools. > > My question is which tool can do such a macro replacement? and > how can I utilize such tool?
I guess it's done by ants <replace> tag. You can view the documentation of this tag: http://jakarta.apache.org/ant/manual/index.html As its done with ant you can easily integrate it in maven. :-) BTW I found the above solution not so fine. I used to read the MANIFESET.MF in my jar file. Due to maven includes version numbers automatically there you easily use this information to display it. You found the API in java.util.zip. Bye Toby -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
