[Scilab-Dev] Re: Error building Metanet for Scilab 5.4

Clément DAVID clement.david at scilab-enterprises.com
Tue Jun 19 16:33:21 CEST 2012


Hello,

Thanks to reporting this issue, please use the forge issues next time.

This issue is fixed and metanet start at [70195a].

[70195a]: 
http://forge.scilab.org/index.php/p/metanet/source/commit/70195a947647db3b09a125b2b5034e326cf88e3a/

--
Clément DAVID

Le 19/06/2012 12:18, Arvid Rosén a écrit :
> Hi again,
>
> I tried to fix this by implementing the missing functions which cause
> the first error, but there seems to be some confusion regarding the type
> of the WindowID. In Tab.java it is int, but in SimpleTab.java it is
> String (both in the Scilab-tree). Has anyone here any clue on how to fix
> this?
>
> Best regards,
> Arvid
>
> 14 jun 2012 kl. 23:37 skrev Arvid Rosén:
>
>> Hi!
>>
>> I just checked out the latest get versions of Scilab and Metanet.
>> Building Scilab works fine, but when I execute builder.sce for Metanet
>> I run into problems. Here are the errors I get:
>>
>> [javac]
>> /Users/arvid/Develop/metanet/src/java/org/scilab/modules/metanet/MetanetTab.java:94:
>> org.scilab.modules.metanet.MetanetTab is not abstract and does not
>> override abstract method getParentWindowId() in
>> org.scilab.modules.gui.tab.Tab
>> [javac] public class MetanetTab extends SwingScilabTab implements Tab {
>> [javac] ^
>> [javac]
>> /Users/arvid/Develop/metanet/src/java/org/scilab/modules/metanet/MetanetTab.java:705:
>> incompatible types
>> [javac] found : org.scilab.modules.gui.bridge.window.SwingScilabWindow
>> [javac] required: org.scilab.modules.gui.window.Window
>> [javac] final Window configuration =
>> WindowsConfigurationManager.createWindow(DEFAULT_WIN_UUID, false);
>> [javac] ^
>> [javac]
>> /Users/arvid/Develop/metanet/src/java/org/scilab/modules/metanet/ViewPortTab.java:24:
>> org.scilab.modules.metanet.ViewPortTab is not abstract and does not
>> override abstract method getParentWindowId() in
>> org.scilab.modules.gui.tab.Tab
>> [javac] public final class ViewPortTab extends SwingScilabTab
>> implements Tab {
>> [javac] ^
>> [javac]
>> /Users/arvid/Develop/metanet/src/java/org/scilab/modules/metanet/ViewPortTab.java:151:
>> incompatible types
>> [javac] found : org.scilab.modules.gui.bridge.window.SwingScilabWindow
>> [javac] required: org.scilab.modules.gui.window.Window
>> [javac] final Window configuration =
>> WindowsConfigurationManager.createWindow(DEFAULT_WIN_UUID, false);
>> [javac] ^
>> [javac] Note:
>> /Users/arvid/Develop/metanet/src/java/org/scilab/modules/metanet/node/BasicNode.java
>> uses unchecked or unsafe operations.
>> [javac] Note: Recompile with -Xlint:unchecked for details.
>> [javac] 4 errors
>>
>> My platform is Mac OS X 10.7 using latest XCode and Java packages.
>> What can I do to fix this, or does anyone already have a solution?
>>
>> Best regards,
>> Arvid
>


-- 
Clément DAVID
Scilab Enterprises

mobile: 06 26 26 51 90
skype://clement_david_scilab



More information about the dev mailing list