Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Orbit » Script to "Refresh Tags" on Orbit bundles
Script to "Refresh Tags" on Orbit bundles [message #562574] Mon, 23 April 2007 17:18
Matt McCutchen is currently offline Matt McCutchen
Messages: 32
Registered: July 2009
Member
--=-gisqQ2BdXXN2wpvlY2vc
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I keep some of the Orbit bundles checked out from CVS in Eclipse. I
like to see when a branch with a newer version of a bundle is created so
I can switch to it, but Eclipse makes it inconvenient to "Refresh Tags"
since the bundles are not at the top level of the repository and aren't
defined modules. Thus, I wrote the attached script to query the
repository and make a list of tags that I can paste into the
repositoriesView.xml in my workspace to achieve the same effect. Other
people in the same situation might find the script useful. Please tell
me if I should be monitoring new versions of bundles a different way.

Matt

--=-gisqQ2BdXXN2wpvlY2vc
Content-Disposition: attachment; filename=orbit-refresh-tags
Content-Type: application/x-shellscript; name=orbit-refresh-tags
Content-Transfer-Encoding: base64

IyEvYmluL2Jhc2gKIyBleGFtcGxlOiBvcmJpdC1zY2FuIDpwc2VydmVyOmFu b255bW91c0BkZXYu
ZWNsaXBzZS5vcmc6L2N2c3Jvb3QvdG9vbHMgb3JnLmVjbGlwc2Uub3JiaXQK IyBMb29rcyBmb3Ig
LnByb2plY3QgaW4gc3ViZGlycyBvZiB0aGUgZ2l2ZW4gZGlyIGluIHRoZSBy ZXBvc2l0b3J5LiAg
UHJpbnRzIGEKIyByZXBvc2l0b3JpZXNWaWV3LnhtbCBzbmlwcGV0IGxpc3Rp bmcgYWxsIHN1YmRp
cnMgYW5kIHRoZWlyIHRhZ3MgdG8gc3Rkb3V0LgojIFlvdSBjYW4gcGFzdGUg dGhlIHNuaXBwZXQg
aW50byB0aGUgYXBwcm9wcmlhdGUgPHJlcG9zaXRvcnk+IGVsZW1lbnQKIyBp biB5b3VyIHdvcmtz
cGFjZS8ubWV0YWRhdGEvLnBsdWdpbnMvb3JnLmVjbGlwc2UudGVhbS5jdnM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cXVpdC4Kcm0gLXJmICIkY28iCg==


--=-gisqQ2BdXXN2wpvlY2vc--
Previous Topic:org.w3c.dom probably should not Export-Package: license
Next Topic:Script to "Refresh Tags" on Orbit bundles
Goto Forum:
  


Current Time: Tue Jul 29 23:13:37 EDT 2014

Powered by FUDForum. Page generated in 0.03898 seconds