Many of us have probably written their PDE build around the famous build automation article. With Galiloe's must do to provide p2 metadata, many projects are forced to update their build now. We at ECF want to stick to our classic update site and keep build changes minimal though. So here's how we've done our integration. Technically, it simply creates p2 metadata from pre build classic update site. You could also move generation out of PDE build if required.
` //customBuild.xml
`
And just before everything is zipped in site/build.xml, let p2 generate metadata from bits at ${updateSiteStagingLocation} and you're done.
` //site/build.xml
// build classic update site ...
// zip update site ...
`
Until the fix to bug #263449 hits the grounds, "inplace" has to be used instead of "updateSite".