[kepler-dev] Error in the new check ins?
Dan Higgins
higgins at nceas.ucsb.edu
Tue Aug 2 10:44:37 PDT 2005
Efrat,
I don't think anything in the cache should affect compilation,
should it? (In any case, I didn't delete my cache and had no problem)
Dan
Efrat Jaeger wrote:
> Laura,
>
> Maybe cleaning the cache folder '$HOME/.kepler/cache' could solve this
> problem (?).
>
> - Efrat
>
> Dan Higgins wrote:
>
>> Laura (and other kepler devers)
>> I modified the build.xml and basicKeplerActorLibrary.xml files in
>> Kepler to avoid compiling the org.monash.** code and referencing it
>> in the actor lib due to the Java Versioning problem. A new checkout
>> (ant an ant clean) should now allow users with Java 1.4.2 to compile
>> and run kepler.
>> Incidently, there was a change to the "Composite Actor" entity
>> that used "org.monash.griddles.JTypedCompositeActor" rather than the
>> original "ptolemy.actor.TypedCompositeActor". I suspect that change
>> would have 'broken' many older workflows!
>>
>> PS Laura, I don't know where your KSWLibraryBuilder error came from.
>> It never appeared for me with a new checkout.
>>
>> Dan
>>
>> -----
>> Laura L. Downey wrote:
>>
>>>So what is the decision? And when will I be able to get Kepler to compile?
>>>
>>>Do I need to change to Java 1.4.2_08?
>>>
>>>I'm getting two compile errors (listed below) and I've got the latest
>>>Ptolemy and the latest Kepler. One of the errors is the same one Ilkay
>>>reported yesterday and I'm assuming related to the Java issue. But I don't
>>>know what is causing the other one.
>>>
>>>compile-dev:
>>> [javac] Compiling 638 source files to C:\kepler\build\classes
>>> [javac] C:\kepler\build\src\org\kepler\moml\KSWLibraryBuilder.java:45:
>>>org.k
>>>epler.moml.KSWLibraryBuilder is not abstract and does not override abstract
>>>meth
>>>od buildLibrary(ptolemy.kernel.CompositeEntity) in
>>>ptolemy.moml.LibraryBuilder
>>> [javac] public class KSWLibraryBuilder extends LibraryBuilder
>>> [javac] ^
>>> [javac]
>>>C:\kepler\build\src\org\monash\griddles\GriddlesRemoteExec.java:132:
>>> cannot access jobrun.MyJobrun_Impl
>>> [javac] bad class file:
>>>C:\kepler\lib\jar\griddles\griddlesActorLib.jar(jobr
>>>un/MyJobrun_Impl.class)
>>> [javac] class file has wrong version 49.0, should be 48.0
>>> [javac] Please remove or make sure it appears in the correct
>>>subdirectory of
>>> the classpath.
>>> [javac] return (Stub)(new MyJobrun_Impl().getJobrunIFPort());
>>> [javac] ^
>>> [javac] Note: Some input files use or override a deprecated API.
>>> [javac] Note: Recompile with -deprecation for details.
>>> [javac] 2 errors
>>>
>>>BUILD FAILED
>>>C:\kepler\build.xml:355: Compile failed; see the compiler error output for
>>>detai
>>>ls.
>>>
>>>Total time: 7 minutes 50 seconds
>>>
>>>Laura L. Downey
>>>Senior Usability Engineer
>>>LTER Network Office
>>>Department of Biology, MSC03 2020
>>>1 University of New Mexico
>>>Albuquerque, NM 87131-0001
>>>505.277.3157 phone
>>>505.277-2541 fax
>>>ldowney at lternet.edu
>>>
>>>-----Original Message-----
>>>From: kepler-dev-bounces at ecoinformatics.org
>>>[mailto:kepler-dev-bounces at ecoinformatics.org] On Behalf Of jagan
>>>Sent: Monday, August 01, 2005 8:04 PM
>>>To: Ilkay Altintas
>>>Cc: jagan; Kepler-Dev
>>>Subject: Re: [kepler-dev] Error in the new check ins?
>>>
>>>Hi Ilkay,
>>>
>>> If you want to stick to java 1.4.2 version. How about switching
>>>over to java 1.4.2_08 version?
>>>
>>> GriddLeS works with java 1.4.2_08, please let me know how is it going?
>>>
>>>I tested for java version of .....
>>>====================
>>>java version "1.4.2_08"
>>>Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
>>>Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
>>>==================================================
>>>
>>>with regards,
>>>
>>>Jagan Kommineni
>>>
>>>
>>>
>>>
>>>Christopher Brooks wrote:
>>>
>>>
>>>
>>>>In Ptolemy II, the Caltrop code does not work under 1.5
>>>>Other than that, Ptolemy II should work. I spent some
>>>>effort fixing configure etc. Also, I'm working
>>>>on setting up the nightly build under Solaris using
>>>>1.5.
>>>>
>>>>Now would be a good time to try upgrading to Java 1.5.
>>>>In theory, we are planning on doing a Ptolemy II 5.1
>>>>release sometime in the fall. This release would have
>>>>Elaine's PtinyOS work in it. This release would
>>>>be based on the current cvs head, and we could try
>>>>shipping on Java 1.5.
>>>>
>>>>BTW - I'm about to go on vacation for 6 days (no internet, lots of
>>>>motorcycle), so I won't be much help.
>>>>
>>>>_Christopher
>>>>
>>>>
>>>>--------
>>>>
>>>> Hi All,
>>>>
>>>> We were discussing on irc about switching to java 1.5 in Kepler. This
>>>> will mean that it won't be compatible with 1.4.2 and before.
>>>>
>>>> Does anybody have any experience with using 1.5 with Kepler and PTII?
>>>> Does it cause any problems? In MacOSX, Windows and Linux...
>>>>
>>>> What does everyone think?
>>>>
>>>> Thanks!
>>>> -ilkay
>>>>
>>>>
>>>> On Aug 1, 2005, at 4:16 PM, jagan wrote:
>>>>
>>>> > Hi Ilkay,
>>>> >
>>>> > What version of Java are you using?
>>>> > Can you able to update java and ant versions to 1.5.0+ and 1.6.0+.
>>>> > Jwsdp works on java 1.5.0+ without any modifications, if it is 1.4.2
>>>>
>>>>
>>>
>>>
>>>
>>>> > you need to add some security related packages.
>>>> >
>>>> > I am using the following versions,
>>>> >
>>>> > =====================================
>>>> > $ java -version
>>>> > java version "1.5.0_02"
>>>> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
>>>> > Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode)
>>>> >
>>>> > jagan at JaganBrama ~
>>>> > $ ant -version
>>>> > Apache Ant version 1.6.2 compiled on November 22 2004
>>>> >
>>>> > jagan at JaganBrama ~
>>>> > $
>>>> > ===========================================================
>>>> >
>>>> > with regards,
>>>> >
>>>> > Jagan Kommineni
>>>> >
>>>> > Ilkay Altintas wrote:
>>>> >
>>>> >> Hi Jagan,
>>>> >>
>>>> >> Thanks for checking in your code.
>>>> >>
>>>> >> I tried to do a quick update and compile. I get the following error:
>>>> >>
>>>> >> copy-lib-unix:
>>>> >>
>>>> >> setcommonclasspath:
>>>> >>
>>>> >> prepare:
>>>> >> [copy] Copying 20 files to
>>>> >> /Users/altintas/project/kepler/build/src
>>>> >> [copy] Copying 3 files to
>>>> >> /Users/altintas/project/kepler/build/configs
>>>> >> [copy] Copying 1 file to
>>>> >> /Users/altintas/project/kepler/build/configs/ptolemy/configs/kepler/
>>>>
>>>>
>>>
>>>
>>>
>>>> >> workflows
>>>> >>
>>>> >> compile-dev:
>>>> >> [javac] Compiling 20 source files to
>>>> >> /Users/altintas/project/kepler/build/classes
>>>> >> [javac]
>>>> >> /Users/altintas/project/kepler/build/src/org/monash/griddles/
>>>> >> GriddlesRemoteExec.java:132: cannot access jobrun.MyJobrun_Impl
>>>> >> [javac] bad class file:
>>>> >> /Users/altintas/project/kepler/lib/jar/griddles/
>>>> >> griddlesActorLib.jar(jobrun/MyJobrun_Impl.class)
>>>> >> [javac] class file has wrong version 49.0, should be 48.0
>>>> >> [javac] Please remove or make sure it appears in the correct
>>>> >> subdirectory of the classpath.
>>>> >> [javac] return (Stub)(new
>>>>
>>>>
>>>MyJobrun_Impl().getJobrunIFPort());
>>>
>>>
>>>> >> [javac] ^
>>>> >> [javac] Note: Some input files use or override a deprecated API.
>>>> >> [javac] Note: Recompile with -deprecation for details.
>>>> >> [javac] 1 error
>>>> >>
>>>> >> BUILD FAILED
>>>> >> /Users/altintas/project/kepler/build.xml:355: Compile failed; see
>>>>
>>>>
>>>the
>>>
>>>
>>>> >> compiler error output for details.
>>>> >>
>>>> >>
>>>> >>
>>>> >> Do you know what might have caused it?
>>>> >>
>>>> >> Hopefully we can look into your questions in more details after we
>>>> >> get this to run.
>>>> >>
>>>> >> Thanks very much,
>>>> >> -ilkay
>>>> >>
>>>> >
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>_______________________________________________
>>>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
>>*******************************************************************
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>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