Hi Sebastian,

Some more info on the .js0000755 problem...  

I was surprised that the sdk files would be touched by the migration, and it 
turns out they are probably not.  I now think the problem is with the sdk 
downloads.

I downloaded the 0.7.1 sdk a while ago (a month or so?) via the "latest stable 
sdk" link at http://qooxdoo.org/download  (i.e., i did not checkout directly 
from the svn repository).  Looking back at what I unzipped from that download, 
I see quite a few .png and two .js files with "0000755" appended to their file 
names.

Yesterday I download the 0.7.2 sdk the same way.  It also contains quite a few 
.png files and two .js files that have "0000644" appended to the end of their 
filenames.  Interestingly, it appears to be the same files that are affected.

It could be that the problem is entirely at my end -- which would be "Really 
Weird" as I haven't had any problem with hundreds of other downloads -- and the 
chances of the same files being affected??  Just in case it is useful info, I 
am using windows 2k, downloading via FF 2.0.0.7 and unzipping with Winzip 9.0 .

It is also possible that the problem is with the files being served from sf.  
Perhaps someone else can verify them from another machine?  If this is the 
case, they should probably be fixed.


Cheers,

Simon




----- Original Message ----
From: Sebastian Werner <[EMAIL PROTECTED]>
To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
Sent: Friday, 21 September, 2007 4:53:50 PM
Subject: Re: [qooxdoo-devel] Migrating 0.6.5 to 0.7.1

Simon Bull schrieb:
> Hi List,
> 
> I have been migrating a qx 0.6.5 app to 0.7.1 using the "make migrate" 
> command.
> 
> The migration almost worked out of the box -- but not quite.  Here is a 
> summary of the problems I encountered, and the workarounds.  Perhaps some of 
> these issues have already been found and fixed... please excuse me if this is 
> the case :)
> 
> 
> 0.  The /*! */ comment bug, which I believe has already been fixed.

Yes. Fixed.

> 
> 
> 1.  Many (I suspect all, but I am not certain of this) of my classes were 
> changed from: "qx.OO.defineClass" to "qx.Clazz.define", but actually it 
> needed to be "qx.Class.define".  Updating them manually fixed this.

Interesting. I thought this bug was fixed a long time ago. Do you really 
have used 0.7.1 or later for the migration?

> 
> 
> 2.  Two files ended up being renamed to "*.js0000755" rather than "*.js" .  
> These were qx.ui.table.columnmodel.resizebehaviour:Abstract.js0000755 and  
> qx.ui.table.columnmodel.resizebehaviour:__init__.js0000755 .  

That's completely new for me. Any further ideas on this?

> 
> 
> 3.  Because of 2. (above) Abstract.js was not included in the output of "make 
> source".  Renaming the files to .js fixed this.
> 
> 
> 
> 4. References to internal "statics" were not resolved.  E.g., 
> 
> foo.bar.SomeClass.x = foo.bar.SomeClass.y;
> 
> became
> 
> x : foo.bar.SomeClass.y;
> 
> and foo.bar.SomeClass cannot be resolved at runtime.
> 
> Manually changing it to "x : this.y;" allows the code to execute, but it is 
> not quite the same thing.  Can I do "x : this.Class.y;" or something similar? 

Yes, the migration only do about 90% of the needed changes. All other 
stuff was not helpful enough to pay for the additional time needed to 
support them, too. There are migration information regarding 0.7 which 
should mention some of these issues.

> 
> 
> 5.  The same as 4, but slightly different syntax.  References to statics not 
> resolved when defining sets from constants like this:
> 
> foo.bar.SomeClass.a = "a";
> foo.bar.SomeClass.b = "b";
> foo.bar.SomeClass.c = "c";
> foo.bar.SomeClass.d = "d";
> foo.bar.SomeClass.e = "e";
> 
> var firstSet = [foo.bar.SomeClass.a, foo.bar.SomeClass.c];
> var otherSet = [foo.bar.SomeClass.d, foo.bar.SomeClass.e];
> 
> 
> 
> 6.  Didn't migrate this:
> 
>     qx.core.Init.getInstance().setApplication(new custom.Application);
>     
> to
> 
>     
> qx.core.Init.getInstance().setApplication(custom.Application.getInstance());
> 
> 
> Is this the correct way to do this in 0.7.1?

Normally you set up the application in the Makefile. You do not need 
this qx.core.Init call anymore. Just look at how the feedreader, 
apiviewer etc. do this.

Thank you for your feedback. Do you have interest to place you 
information somewhere in the wiki? I think this is a better archive than 
the mailing list. Could be helpful for other users stumbling on this.

Sebastian

> 
> 
> 
> Hope this is helpful,
> 
> 
> Simon
> 
> 
> 
> 
> 
>       
> ____________________________________________________________________________________
> Sick of deleting your inbox? Yahoo!7 Mail has free unlimited storage.
> http://au.docs.yahoo.com/mail/unlimitedstorage.html
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel





      Sick of deleting your inbox? Yahoo!7 Mail has free unlimited storage.
http://au.docs.yahoo.com/mail/unlimitedstorage.html


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to