[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Upgrading 32-bit to 64-bit

Hi all! 

I saw that Doug and Pascal had an exchange about a year back regarding forcing 32-bit clients to get “pushed” to 64-bit clients (see http://dev.eclipse.org/mhonarc/lists/p2-dev/msg05383.html).

I’d love to get any details Doug may have had about how he achieved this. We have many users on Macs who are using a 32-bit version of our RCP, but we’d like to discontinue 32-bit builds and push them onto the 64-bit builds without basically sending out a ton of emails asking users to reinstall (and hoping they’ll read it and do it).  I’m guessing this is something that the Eclipse folks in general may want to do as Mac moves away from 32-bit and likely may drop support at some point?

I'm guessing we’d have to have some sort of Job run on startup/before update checks on Mac 32-bit installs that would get the IProfile, then modify the IProfile.PROP_ENVIRONMENTS string to set the arch to x86_64, then do the normal update check? Maybe we can just permanently set it to some osgi.os value that says it supports both x86 and x86_64?

- Chris