Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368930 - Enable update dependencies script to get .classpath versions back in step
Summary: Enable update dependencies script to get .classpath versions back in step
Status: NEW
Alias: None
Product: Virgo
Classification: RT
Component: unknown (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 05:20 EST by Glyn Normington CLA
Modified: 2012-01-18 06:30 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Glyn Normington CLA 2012-01-18 05:20:42 EST
update-dependency.rb should support a -f (force) switch which will re-align the versions in .classpath files with those in build.versions. This will be particularly useful if someone updates a version without remembering to use update-dependency.rb.

Once the change is made, the release and ripple scripts can be changed to specify the -f switch so that .classpath files are automatically re-aligned on each release and ripple.
Comment 1 Glyn Normington CLA 2012-01-18 06:30:07 EST
Note that the current update dependency logic checks for both the variable being substituted and the version to avoid false positives in files such as .classpath. The parsing of such files will probably need tightening up to enable -f to be implemented reliably.