[kepler-dev] Compile Problems with latest Ptolemy

Edward A. Lee eal at eecs.berkeley.edu
Sat Jul 29 11:21:46 PDT 2006


Oops, sorry... I had no idea anything in Kepler would be using
these classes...

What is SizedMatrixType used for?  As far as I know, this class
was never finished, and doesn't actually work...  I removed
the class.  If necessary, we can put it back in, but it would
be nice to have some tests or something so we have some confidence
that it does something useful.

I renamed UnsizedMatrixType to MatrixType, so if you make this
change, things should work in that dimension.

Profound apologies... I guess I need to set up to regularly
do a kepler build with such changes...

Edward

At 11:56 AM 7/28/2006, Dan Higgins wrote:
>Hi All.
>     There are some problems with compiling Kepler with the latest PTII
>code. The Ptolemy folks just fixed their code so it compiles under Java
>1.4.2, but now we see some compile problems with
>src\org\kepler\sms\KeplerRefinementIOPort.java ! (see below)
>
>     Could whoever is responsible for the sms code take a look at the
>problem?
>
>
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>41: cannot find symbol
>     [javac] symbol  : class SizedMatrixType
>     [javac] location: package ptolemy.data.type
>     [javac] import ptolemy.data.type.SizedMatrixType;
>     [javac]                          ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>44: cannot find symbol
>     [javac] symbol  : class UnsizedMatrixType
>     [javac] location: package ptolemy.data.type
>     [javac] import ptolemy.data.type.UnsizedMatrixType;
>     [javac]                          ^
>     [javac]
>C:\work\kepler\build\src\org\ecoinformatics\seek\workflow\TypeObject
>.java:114: cannot find symbol
>     [javac] symbol  : variable NUMERICAL
>     [javac] location: class ptolemy.data.type.BaseType
>     [javac]     else if(t == BaseType.NUMERICAL)
>     [javac]                          ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>246: package SizedMatrixType does not exist
>     [javac]         if(type instanceof SizedMatrixType.BooleanMatrixType)
>     [javac]                                               ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>248: package SizedMatrixType does not exist
>     [javac]         if(type instanceof SizedMatrixType.DoubleMatrixType)
>     [javac]                                               ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>250: package SizedMatrixType does not exist
>     [javac]         if(type instanceof SizedMatrixType.FixMatrixType)
>     [javac]                                               ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>252: package SizedMatrixType does not exist
>     [javac]         if(type instanceof SizedMatrixType.IntMatrixType)
>     [javac]                                               ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>254: package SizedMatrixType does not exist
>     [javac]         if(type instanceof SizedMatrixType.LongMatrixType)
>     [javac]                                               ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>256: package UnsizedMatrixType does not exist
>     [javac]         if(type instanceof UnsizedMatrixType.BooleanMatrixType)
>     [javac]                                                 ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>258: package UnsizedMatrixType does not exist
>     [javac]         if(type instanceof UnsizedMatrixType.DoubleMatrixType)
>     [javac]                                                 ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>260: package UnsizedMatrixType does not exist
>     [javac]         if(type instanceof UnsizedMatrixType.FixMatrixType)
>     [javac]                                                 ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>262: package UnsizedMatrixType does not exist
>     [javac]         if(type instanceof UnsizedMatrixType.IntMatrixType)
>     [javac]                                                 ^
>     [javac]
>C:\work\kepler\build\src\org\kepler\sms\KeplerRefinementIOPort.java:
>264: package UnsizedMatrixType does not exist
>     [javac]         if(type instanceof UnsizedMatrixType.LongMatrixType)
>     [javac]                                                 ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 13 errors
>     [javac] 1 warning
>
>BUILD FAILED
>
>--
>*******************************************************************
>Dan Higgins                                  higgins at nceas.ucsb.edu
>http://www.nceas.ucsb.edu/    Ph: 805-893-5127
>National Center for Ecological Analysis and Synthesis (NCEAS) Marine 
>Science Building - Room 3405
>Santa Barbara, CA 93195
>*******************************************************************
>
>
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev

------------
Edward A. Lee
Professor, Chair of EECS
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal  



More information about the Kepler-dev mailing list