[kepler-users] problem in building kepler

[BE] Ufuk Utku Turuncoglu turuncu at be.itu.edu.tr
Mon Aug 6 03:02:39 PDT 2007


Hi,

I install java 1.5.0_12 and recompile with both make and inside form 
kepler using ant. So the previous errors is not appear in the compile 
log of Ptolemy II but now i have new problems in Kepler site. When i 
compile with ant using 'ant rebuild' command, i get following errors,

   [javac] 
/SFS/users/turuncu/progs/kepler20070801/build/src/org/kepler/gui/UploadToRepository.java:55: 
cannot find symbol
   [javac] symbol  : class KeplerDocumentationAttribute
   [javac] location: package ptolemy.vergil.basic
   [javac] import ptolemy.vergil.basic.KeplerDocumentationAttribute;
   [javac]                             ^
   [javac] 
/SFS/users/turuncu/progs/kepler20070801/build/src/org/kepler/objectmanager/ActorMetadata.java:82: 
cannot find symbol
   [javac] symbol  : class KeplerDocumentationAttribute
   [javac] location: package ptolemy.vergil.basic
   [javac] import ptolemy.vergil.basic.KeplerDocumentationAttribute;
   [javac]

and  also,

   [javac] 
/SFS/users/turuncu/progs/kepler20070801/build/src/org/sdm/spa/MessageBasedWebService.java:85: 
warning: as of release 1.5, 'enum' is a keyword, and may not be used as 
an identifier
   [javac] (try -source 1.5 to use 'enum' as a keyword)

i think the problem related with kepler documentation which is not 
included in kepler. Any suggestion will be helpful.

best regards,

ufuk

Dan Higgins wrote:
> Hi,
>    I am not sure what your problem may be. It does look like you are 
> running 'make' on the Ptolemy source code. For your information, you 
> don't need to run 'make' to use Ptolemy in Kepler. If you have a PTII 
> environment variable pointing to the directory with the Ptolemy 
> source, you can compile Ptolemy and create the jar file Kepler uses by 
> running 'ant ptolemy' from the Kepler directory.
>
> (Although 'make' should work also - Maybe the java errors are due to 
> using Java 1.6?? I use 1.5)
>
> Dan Higgins
> NCEAS - UCSB
>
> turuncu at be.itu.edu.tr wrote:
>> Hi,
>>
>> I try to install Ptolemy II source to add new actors to Kepler but i get
>> lots of error messages as,
>>
>> fast build with 'CLASSPATH="../../../.."
>> /SFS/users/turuncu/progs/jdk1.6.0_02/bin/javac -g -O *.java' in
>> /SFS/users/turuncu/progs/ptII6.0.2/ptolemy/kernel/util/test
>> ../../../../ptolemy/data/type/ArrayType.java:423: non-static variable 
>> this
>> cannot be referenced from a static context
>>         private InequalityTerm _replacementElementTerm = new
>> ElementTypeTerm() {
>>                                                          ^
>> ../../../../ptolemy/data/type/ArrayType.java:423: non-static variable 
>> this
>> cannot be referenced from a static context
>>         private InequalityTerm _replacementElementTerm = new
>> ElementTypeTerm() {
>>                                                                                
>> ^
>> Note: ../../../../ptolemy/data/expr/UtilityFunctions.java uses or
>> overrides a deprecated API.
>> Note: Recompile with -Xlint:deprecation for details.
>> Note: Some input files use unchecked or unsafe operations.
>> Note: Recompile with -Xlint:unchecked for details.
>> 2 errors
>>
>> i am using Redhat Linux AS 4.0 in EM64T machine and latest version of 
>> java
>> SDK (1.6.0). How can i solve the problem.
>>
>> Best regards,
>>
>> Ufuk Utku Turuncoglu
>> ITU, Informatics Institute
>> HPC Lab
>>
>>
>> ---------------------------------------------------------------------------- 
>>
>> Posted to the ptolemy-hackers mailing list.  Please send administrative
>> mail for this list to: ptolemy-hackers-request at ptolemy.eecs.berkeley.edu
>>
>>   
>
>


---------------------------------------------------------------------------- 

Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: ptolemy-hackers-request at ptolemy.eecs.berkeley.edu



More information about the Kepler-users mailing list