[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"/>-->
</fileset>
</copy>
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
Dan
=======
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.
>
>Jianting
>
>
>----- 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
>
>
>
>
>>Hi:
>>
>>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
>>broken?
>>
>>thanks!
>>
>>Bertram
>>
>>C:\ny\kepler>ant run
>>ant run
>>Buildfile: build.xml
>>...
>>win.prep:
>> [echo] Guessing that you are running: Windows
>>
>>lin.prep:
>>
>>init:
>> [mkdir] Created dir: C:\ny\kepler\dynsrc
>>
>>copy-lib-win:
>>
>>copy-lib-unix:
>>
>>setcommonclasspath:
>>
>>prepare:
>> [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
>>C:\ny\kepler\build\configs\ptolemy\configs\kepler\workflows
>> [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
>>
>>compile:
>> [javac] Compiling 427 source files to C:\ny\kepler\build\classes
>> [javac] C:\ny\kepler\build\src\ptolemy\moml\MoMLParser.java:399:
>>filterAttributeValue(ptolemy.kernel.util.NamedObj,java.lang.String,java.lang.String)
>>in ptolemy.moml.MoMLFilter cannot be applied to
>>(ptolemy.kernel.util.NamedObj,java.lang.String,java.lang.String,java.lang.String)
>> [javac] filteredValue =
>>filter.filterAttributeValue(_current,
>> [javac] ^
>> [javac] Note: Some input files use or override a deprecated API.
>> [javac] Note: Recompile with -deprecation for details.
>> [javac] 1 error
>>
>>BUILD FAILED
>>C:\ny\kepler\build.xml:343: Compile failed; see the compiler error output
>>for details.
>>
>>_______________________________________________
>>Kepler-dev mailing list
>>Kepler-dev at ecoinformatics.org
>>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>>
>>
>>
>
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>
>
--
*******************************************************************
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