[Scilab-Dev] java compile errors when building metanet
Calixte Denizet
calixte at contrib.scilab.org
Fri Oct 29 21:55:03 CEST 2010
Hello Dean
Le vendredi 29 octobre 2010 à 12:34 -0700, Dean S. Messing a écrit :
> I've been reading about the missing Help pages in the metanet ATOMS
> module (see bug report below) so I tried to build my own from
> metanet-master which contains the help/ directory, and which I got from
> the link Calixte provides in Comment #2 of this bug report:
> http://bugzilla.scilab.org/show_bug.cgi?id=8233
The source tree of metanet is here:
http://forge.scilab.org/index.php/p/metanet/source/tree/master/
you can git clone it.
>
> After doing `exec builder.sce', all goes well til the java stuff starts
> compiling. Then I get a boatload java compile errors like this:
>
> [javac] /usr/local/src/Scilab/scilab-5.3.0/contrib/metanet/src/java/org/scilab/modules/metanet/actions/CircuitAction.java:37: package org.scilab.modules.types.scilabTypes does not exist
> [javac] import org.scilab.modules.types.scilabTypes.ScilabString;
> [javac] ^
>
Two things:
i) grep and find are now your best friends ! (and dev ML too)
ii) org.scilab.modules refers to a package which is in the scilab tree,
so go to the directory SCI/modules/types/src/java/org.... and you'll see
that the dir scilabTypes is missing :/. The gitweb should help you:
http://gitweb.scilab.org/?p=scilab.git;a=shortlog;h=refs/heads/5.3
here you can see the history of the directory types:
http://gitweb.scilab.org/?p=scilab.git;a=history;f=scilab/modules/types/src/java/org/scilab/modules/types;hb=refs/heads/5.3
and in looking at the 7th link you'll understand that Sylvestre moved
the file ScilabString from scilabTypes to types !
So you can conclude that the sources of metanet were not updated.
>
> and this:
>
>
> [javac] /usr/local/src/Scilab/scilab-5.3.0/contrib/metanet/src/java/org/scilab/modules/metanet/io/GraphReader.java:44: cannot find symbol
> [javac] symbol : class ScilabTList
> [javac] location: class org.scilab.modules.metanet.io.GraphReader
> [javac] public static HashMap<String, Object> convertTListToDiagram(ScilabTList data) {
> [javac] ^
>
>
I think this is the same problem than previous one ...
> How do I proceed?
>
As explained... If I was not clear enough, don't hesitate to reply and
I'll help you if I can.
> Deann
Calixte
More information about the dev
mailing list