> qx.OO.defineClass changed to qx.Class.define with 0.7. According to > your statement above, you're skipping the 0.7 migration.
I'm skipping it in so far as that I'm not explicitly migrating to 0.7 using the 0.7 SDK. I am running the 0.7 migrations included with 0.8 though. I have had a look at the migration files and can't find anything that looks like it might migrate the class definitions - it's mostly just regular expression replacements, and it doesn't look like that would be enough for this. It's also worth noting that in terms of the migration guides, the 1.3 guide sends you to the 0.8 guide (for a migration starting with 0.6), but the 0.8 guide does not mention 0.6 at all - it only refers to upgrading from 0.7. So maybe I should indeed try an explicit 0.7 migration, as in 0.6.6 -> 0.7 -> 0.8 -> 1.3. Michael On 04/02/2011 02:13 PM, Derrell Lipman wrote: > On Sat, Apr 2, 2011 at 07:09, elsdoerfer <[email protected] > <mailto:[email protected]>> wrote: > > I'm trying to upgrade a larger project that is currently 0.6.6. Per > the 1.3 > migrations instructions, I'm first going to 0.8.3. After some > fiddling, I > > ... > > regular expression used does not detect the old-style classes: > > qx.OO.defineClass("my.foo.Application", ...) > > > It's been a long time since the 0.6 days, but my recollection is that > qx.OO.defineClass changed to qx.Class.define with 0.7. According to your > statement above, you're skipping the 0.7 migration. > > If you look in tool/data/migration you'll see each of the migration > directories that contain patches to migrate. Although I expect you don't > need to migrate to the -pre or -beta versions, you likely do need to run > all of the intermediate release migrations to bring your code up to current. > > You should also look at each of the releases' release notes. There were > a few where it was explicitly stated that certain things would need > by-hand migration. I don't recall what those were. > > Hope that helps. I, too, have recently been looking at some of my old > 0.6 code, so I well recall that old style. > > Cheers, > > Derrell > ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
