J. Matthew Pryor wrote:

Slightly Off Topic .....

Anyway I have been trying to figure out the best way to update (using a
script) version numbers stored in several XML files; to keep them in
sync as it were.

We are using maven & eclipse so in total there end up being about 5 XML
files that need the same version number stamped into them to update the
version number of the "product"

Did you try and <extend/> the project ?

You could have a project like this:

/foo/project.xml
<project>
 <currentVersion>1.234-b1234</currentVersion>
</project>

And your other projects like this:
<project>
 <extend>/foo/project.xml</extend>
 <!-- no "currentVersion" tag here -->
</project>

And the child projects would get their currentVersion
from the parent.

St�phane

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com

--
To unsubscribe, e-mail:   <mailto:turbine-maven-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-maven-user-help@;jakarta.apache.org>

Reply via email to