[ https://issues.apache.org/jira/browse/WHIRR-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210140#comment-13210140 ]
Karel Vervaeke commented on WHIRR-514: -------------------------------------- I'm would like to avoid the risk of sed accidentally replacing the version number for dependencies which happen to have the same version number. This is for an automated build system so there's no room for checking by hand every time. I've updated the script to also include voldemort (It wasn't detected because the module is added via a profile). Two more problems to solve: * The version string is present as a String constant in Java code (WhirrKarafTestSupport), I would like to factor that out. * The update script now sets /project/parent/version for all poms. It should not do this for the root pom. > Update release instructions or fix update-version script? > --------------------------------------------------------- > > Key: WHIRR-514 > URL: https://issues.apache.org/jira/browse/WHIRR-514 > Project: Whirr > Issue Type: Task > Components: documentation > Affects Versions: 0.8.0 > Reporter: Karel Vervaeke > > The update-versions script doesn't handle modules without a > /project/parent/version element (the build-tools module doesn't have one). > karel@tomato:~/work/whirr$ ruby build-tools/update-versions 12345 > Updating to version 12345 ... > build-tools/update-versions:61:in `process_module': undefined method > `inner_html=' for nil:NilClass (NoMethodError) > from build-tools/update-versions:54:in `edit_pom' > from build-tools/update-versions:60:in `process_module' > from build-tools/update-versions:73 > from build-tools/update-versions:73:in `each' > from build-tools/update-versions:73 > from build-tools/update-versions:54:in `edit_pom' > from build-tools/update-versions:67 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira