Now I see IU, now IU don’t

Eclipse 3.6M3 went out the door over the weekend, along with a lot of Halloween candy.

Sometimes, you can have too much Halloween candy. And sometimes, you can have too many IUs in your p2 repo. Don’t believe me – just look at this repo with bogus bundles – scary!

Both scenarios can cause your friendly neighbourhood release engineer pain. This is unusual because we’re a very pain tolerant people. To alleviate the suffering, the p2 team added an Ant task in 3.6M3 that allows you to remove bundles from your repo. As much as I love spending quality time at the command line modifying metadata, Ant tasks that automate tedious jobs are even better.

The p2.remove.iu task will remove both the metadata and the bundle from the repository for a specified IU. For example, if you had bogus packed com.ibm.icu.* bundles in your repo, this task would remove them.

This task is useful if you’d like to remove some built time bundles from your repo. Or just correct a mistake after a release. It happens. In any case, it’s all good. Almost as tasty as chocolate.

Related bugs

Support excluding bundles when running p2.process.artifacts task
p2.remove.iu task should have an option to specify to remove packed file only
ICU jars at Eclipse 3.5 update site have size of 0

0 comments on “Now I see IU, now IU don’t

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: