[kepler-dev] Problem building Kepler

Dan Higgins higgins at nceas.ucsb.edu
Fri Apr 22 10:18:24 PDT 2005

Bertram and Jianting,

    It's not quite true that you need the CVS version of Ptolemy.

A minor change to the build.xml file may fix your problem. Search the 
build.xml file for 'parser'. You should find the line(s)

    <!--copy the exprimental source-->
    <copy todir="${kep.build.src}" filtering="yes">
      <fileset dir="${srcdir}/${expsrcdir}">
        <include name="**"/>
        <!--<exclude name="ptolemy/moml/MoMLParser.java"/>-->

Remove the comment markers so the the the 'exclude line is
        <exclude name="ptolemy/moml/MoMLParser.java"/>

That will remove the offending code (Be sure to run 'ant clean' before 
your start again after making this change.

After this change, you can work with PT4.0.1. (in fact, I would currently recommend this since there are some issues with the CVS version of PT



Jianting Zhang wrote:

>I just got this error yesterday when I rebuilt my machine.
>The problem is that you need a CVS version of PTII instead of a source 
>release used previously. You may request a read access account by sending 
>mail to ptolemy at eecs.berkeley.edu . Christopher reponded pretty fast.
>----- Original Message ----- 
>From: "Bertram Ludaescher" <ludaesch at ucdavis.edu>
>To: "kepler-dev" <kepler-dev at ecoinformatics.org>
>Sent: Friday, April 22, 2005 10:55 AM
>Subject: [kepler-dev] Problem building Kepler
>>I just updated my Kepler cvs and did an 'ant clean'.
>>The system current doesn't build however (for me).
>>Does anybody have seen this error below before or else know what is
>>C:\ny\kepler>ant run
>>ant run
>>Buildfile: build.xml
>>    [echo] Guessing that you are running: Windows
>>   [mkdir] Created dir: C:\ny\kepler\dynsrc
>>   [mkdir] Created dir: C:\ny\kepler\build
>>    [copy] Copying 1 file to C:\Ptolemy\ptII4.0.1
>>    [copy] Copying 1 file to C:\Ptolemy\ptII4.0.1
>>   [mkdir] Created dir: C:\ny\kepler\build\src
>>   [mkdir] Created dir: C:\ny\kepler\build\classes
>>    [copy] Copying 457 files to C:\ny\kepler\build\src
>>    [copy] Copying 15 files to C:\ny\kepler\build\classes
>>    [copy] Copying 38 files to C:\ny\kepler\build\configs
>>    [copy] Copying 15 files to C:\ny\kepler\build\configs
>>    [copy] Copying 1 file to C:\ny\kepler\build\configs
>>   [mkdir] Created dir: C:\ny\kepler\build\configs\kepler
>>    [copy] Copying 1 file to C:\ny\kepler\build\configs
>>    [copy] Copying 174 files to 
>>    [copy] Copying 7 files to C:\ny\kepler\build\src
>>    [copy] Copying 1 file to C:\ny\kepler
>>   [mkdir] Created dir: C:\ny\kepler\build\tmp
>>   [javac] Compiling 427 source files to C:\ny\kepler\build\classes
>>   [javac] C:\ny\kepler\build\src\ptolemy\moml\MoMLParser.java:399: 
>>in ptolemy.moml.MoMLFilter cannot be applied to 
>>   [javac]                 filteredValue = 
>>   [javac]                                       ^
>>   [javac] Note: Some input files use or override a deprecated API.
>>   [javac] Note: Recompile with -deprecation for details.
>>   [javac] 1 error
>>C:\ny\kepler\build.xml:343: Compile failed; see the compiler error output 
>>for details.
>>Kepler-dev mailing list
>>Kepler-dev at ecoinformatics.org
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org

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

More information about the Kepler-dev mailing list