[kepler-dev] Missed griddles actors with the latest cvs version .....

jagan Jagan.Kommineni at infotech.monash.edu.au
Mon Oct 3 19:23:02 PDT 2005


Hi Chad,

Thanks Chad, now I am able to compile and run kepler with the latest cvs 
versions of Kepler and Ptolemy.
I missed some of the Griddles Actors.
The list of Griddles actors that were there in the old 
basicKeplerActorLibrary.xml are as shown below.
I didn't see these entries in the latest cvs copy file 
basicKeplerActorLibrary.xml  and also  I haven't seen
these entries in  actorList.moml.  I  have added these entries in this 
file (actorList.moml) and run "ant buildkswlib"  and  "ant run" . 
Even then  I haven't seen Griddles actors over the user interface.
===============================================================================
<entity name="GriddlesRemoteExec" 
class="org.monash.griddles.GriddlesRemoteExec">
    <property name="entityId" class="org.kepler.moml.NamedObjId" 
value="urn:lsid:csse.monash.edu.au:griddles.2">
    </property>
</entity>
<entity name="GriddlesExec" class="org.monash.griddles.GriddlesExec">
    <property name="entityId" class="org.kepler.moml.NamedObjId" 
value="urn:lsid:csse.monash.edu.au:griddles.1">
    </property>
</entity>

<entity name="GriddlesRemoteFile" 
class="org.monash.griddles.GriddlesRemoteFile">
    <property name="entityId" class="org.kepler.moml.NamedObjId" 
value="urn:lsid:csse.monash.edu.au:griddles.5">
    </property>
</entity>
<entity name="JGridletRemoteCreater" 
class="org.monash.griddles.JGridletRemoteCreater">
    <property name="entityId" class="org.kepler.moml.NamedObjId" 
value="urn:lsid:csse.monash.edu.au:griddles.4">
    </property>
</entity>
<entity name="JGridletCreater" class="org.monash.griddles.JGridletCreater">
    <property name="entityId" class="org.kepler.moml.NamedObjId" 
value="urn:lsid:csse.monash.edu.au:griddles.3">
    </property>
</entity>
===================================================================================
Could you mind to advise please?

The Griddles actors "JGridletCreater" and "JGridletRemoteCreater"  
creates  dynamic actors  at the runtime.
Previously  I  have added these entries by creating instances of 
LSIDservice and AnnotationEngine,
which eventually made entries in basicKeplerActorLibrary.xml.
     KeplerLocalLSIDService service = KeplerLocalLSIDService.instance();
      AnnotationEngine engine = AnnotationEngine.instance(); 
        This approach I have adopted based on the 
pre-ConfiguredWebservice Actors.
With the latest changes I haven't seen any preconfigured actors under 
the Web Services.
With the new changes how to add actors from the user interface 
dynamically at run time?


with regards,

Jagan Kommineni


Chad Berkley wrote:

>Hi Jagan,
>
>Did you see the email I sent out about the new KAR file loading that's 
>in kepler?  You'll probably need to do a new checkout (or update -dPA) 
>of kepler and make sure that your ptII is up to date as well.  Then 
>follow the instructions I put out in that email I sent last week and 
>everything should run.  If you need the email, I can send it again.  Let 
>me know if that doesn't work.
>
>chad
>
>jagan wrote:
>  
>
>>Hi Ilkay,
>>
>>when I try to compile latest cvs copy of the kepler, I am getting the 
>>following error.
>>
>>===========================================================
>>java.lang.Exception: Cannot create library with LibraryBuilder:
>>    at 
>>ptolemy.vergil.VergilApplication.openLibrary(VergilApplication.java:229)
>>    at 
>>ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:414)
>>    at 
>>ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:435)
>>    at 
>>ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:851)
>>    at 
>>ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:508)
>>    at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:207)
>>    at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:105)
>>    at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:148)
>>    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
>>    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
>>    at 
>>java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
>>    at 
>>java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
>>    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
>>    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
>>    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
>>Caused by: java.lang.Exception: You must provide a property called 
>>_libraryDir that provides the relative path to the KAR directory from 
>>$KEPLER.
>>    at 
>>org.kepler.moml.KSWLibraryBuilder.buildLibrary(KSWLibraryBuilder.java:166)
>>    at 
>>ptolemy.vergil.VergilApplication.openLibrary(VergilApplication.java:225)
>>    ... 14 more
>>============================================================
>>
>>When I skip this message and create new Graph Editor, I can't see any 
>>Directors and actors.
>>
>>     [java] java.lang.Exception: You must provide a property called 
>>_libraryDir
>>that provides the relative path to the KAR directory from $KEPLER.
>>
>>Could you mind to tell me about this environment variable _libraryDir?
>>To which directory it needs to point to?
>>
>>
>>with regards,
>>
>>Jagan Kommineni
>>
>>
>>
>>
>>_______________________________________________
>>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
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20051004/ac4f0490/attachment.html>


More information about the Kepler-dev mailing list