Hi Alex,

please try the following:

../qooxdoo/frontend/framework/tool/generator.py
--exclude qx.*
--class-path=../qooxdoo/frontend/framework/source/class
--class-path=source/class --migrate-source --migration-target 0.6.2 |
tee migration_to_0_6_2.log

Hint: You must define the qooxdoo class path, too, but you can exclude 
it for migration.

Hope this helps.

Sebastian


Alex D. schrieb:
> 
> 
> Fabian Jakobs schrieb:
>> Alex D. schrieb:
>>>> Alex D. schrieb:
>>>>    
>>>>> Hi,
>>>>>
>>>>> I'm about to migrate my source from somewhere between 0.6.1 and 
>>>>> 0.6.2 to 0.6.2 release.
>>>>> I'm in  myproject/frontend folder and enter:
>>>>>
>>>>> ../qooxdoo/frontend/framework/tool/generator.py --script-input 
>>>>> source/class --migrate-source --migration-target 0.6.2
>>>>>
>>>>>         
>>>> You need to add the --class-path parameter, e.g.:
>>>>
>>>> ../qooxdoo/frontend/framework/tool/generator.py 
>>>> --class-path=../qooxdoo/frontend/framework/
>>>> source/class --script-input source/class --migrate-source 
>>>> --migration-target 0.6.2
>>>>
>>>>
>>>> best Fabian
>>>>
>>>>     
>>> I did it and that's what i see:
>>>
>>> generator.py: error: no such option: --class-path
>>>   
>>
>> Sorry, this option was introduced with qooxdoo 0.6.4. Your original 
>> command should work but anyway it would be best to update to 0.6.4. 
>> Download 0.6.4 SDK and use the following commands for migration:
>>
>> ../qooxdoo-0.6.4-sdk/frontend/framework/tool/generator.py 
>> --class-path=source/class --migrate-source --migration-target=0.6.2
>> ../qooxdoo-0.6.4-sdk/frontend/framework/tool/generator.py 
>> --class-path=source/class --migrate-source --migration-target=0.6.3
>> ../qooxdoo-0.6.4-sdk/frontend/framework/tool/generator.py 
>> --class-path=source/class --migrate-source --migration-target=0.6.4
>>
>> After each run take a look at the messages if something in your code 
>> needs to be updated.
>>
>> Best Fabian
>>
> Hmm.. Sebastian wrote:
> "Your tools should be in the version, which is the target version for 
> migration. e.g. migrate to 0.6.3 = use 0.6.3 tools."
> But anyway i checked out the qooxdoo_0_6_4 tag and tried it but it seems 
> to be the same problem:
> 
> i' m in myproject/frontend folder and qooxdoo 0.6.4 is in myproject/qooxdoo
> ==========================**snip**==============================
> ../qooxdoo/frontend/framework/tool/generator.py 
> --class-path=source/class --migrate-source --migration-target 0.6.2 | 
> tee migration_to_0_6_2.log
> 
>   INITIALIZATION:
> ----------------------------------------------------------------------------
>   * Processing arguments...
> 
>   SOURCE LOADER:
> ----------------------------------------------------------------------------
>   * Indexing class paths...
>     - Indexing: source/class
>       - 69 classes were found
>   * Resolving dependencies: 
> .....................................................................
> 
>   SORT OF INCLUDE LIST:
> ----------------------------------------------------------------------------
>   * Sorting 69 classes...
>     * Error: Couldn't find required file: qx.OO
>     * Error: Couldn't find required file: qx.ui.window.Window
>     * Error: Couldn't find required file: qx.OO
>     * Error: Couldn't find required file: qx.OO
>     * Error: Couldn't find required file: qx.OO
>     * Error: Couldn't find required file: qx.OO
>     .
>     .
> ==========================**snap**==============================
> 
> 
> Best Regards
> alex.d
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to