Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368930

Summary: Enable update dependencies script to get .classpath versions back in step
Product: [RT] Virgo Reporter: Glyn Normington <glyn.normington>
Component: unknownAssignee: Project Inbox <virgo-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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.