Sebastian Werner <[EMAIL PROTECTED]> writes:

> The full migration of qooxdoo is not yet tested or supported. I think  there
> are some areas which needs finetuning. A application built upon  qooxdoo
> however should work quite good. Hint 1: You can use all  include/exclude
> statements during migration, too. Hint 2: You don't  need to migrate qooxdoo
> just to migrate an application (only for this  v0.7). The application only
> should be enough.

Thanks.  I have not upgraded the framework; only my application.

The initial problem is solved (needed to change type:"singleton" to
type:"abstract".

I just found the cause of the second problem (a static method is erroring out
as "not a function").

Given a pre-0.7 class file that looks like this very simple test case:

    /**
     * Some comment
     */
    qx.OO.defineClass("myclass.main.Xxx");

    qx.Class.someMethod = function(param1, param2)
    {
      var o;
    };


the result after migration is this:


    /**
     * Some comment
     */
    qx.Clazz.define("myclass.main.Xxx",
    {
      /*
      
*****************************************************************************
         STATICS
      
*****************************************************************************
      */

      statics :
      {
        /**
         * TODOC
         *
         * @type static
         * @param param1 {var} TODOC
         * @param param2 {var} TODOC
         * @return {void} 
         */
        someMethod : function(param1, param2) {
          var o;
        }
      }
    });

    qx.OO.defineClass("myclass.main.Xxx");


Note the extra qx.OO.defineClass() at the end, which scribbles all over the
static method someMethod() and lots of other stuff as well.  That line from
the input should not be included in the output.

Cheers,

Derrell

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to