[kepler-users] Status of the "Save as Kar" functionality
Aaron Schultz
aschultz at nceas.ucsb.edu
Wed Oct 21 10:32:27 PDT 2009
Hi Jim,
Save as KAR funtionality should be working, I noticed that error was
being displayed and have changed it so it does not get displayed in the
latest version of the Kepler svn trunk. It should not have been
affecting the saving of the KAR file to disk however.
Documentation on the new KAR format can be found here:
https://kepler-project.org/developers/teams/framework/kepler-archive-kar
it will eventually make it's way to the User Manual but I haven't gotten
to that yet.
I've also updated all the actors that are shipped with Kepler to be 2.0
compliant so there's lot's of examples now here:
https://code.kepler-project.org/code/kepler/trunk/modules/actors/resources/kar/
(just note that in SVN we keep the MANIFEST.MF file at the root but when
it goes into the KAR file it is put in a directory called META-INF)
Hope that helps,
Aaron
Jim Amrhein wrote:
> Hi,
> 1. What's the status of "Save as Kar" functionality. When I try to
> create the kar, I get the error:
> "actor was not added to local library. KARs must be in local
> repository to be added to the library"
>
> Both repositories functionality were to be merged, but it doesn't look
> like it's been finished (I'm using a recent build from this past
> weekend -10/18) Am I missing something?
>
> So my backup plan is to try to create the Kar file by hand, so I was
> hoping the 1.x instructions would help :
>
> https://kepler-project.org/developers/teams/build/documentation/developing-a-hello-world-actor-using-the-kepler-build-system-and-eclipse
>
>
> but they didn't mimic the User Manual instructions on pages pgs
> 325-327 titled : 10.5.2 Saving a New Actor as a KAR File
>
> Is there any documentation describing the Kar 2.0 format? In
> particular I'm trying to update the Manifest to use Kar 2.0:
>
> The 1.0 format is :
>
> Manifest-Version: 1.4.2
> KAR-Version: 1.0
> lsid: urn:lsid:kepler-project.org:kar:528:1
>
> Name: urn.lsid.localhost.entity.2.1.xml
> type: actorMetadata
> lsid: urn:lsid:localhost:entity:2:1
>
> Name: HelloTutorial.jar
> lsid: urn:lsid:kepler-project.org:jar:528:1
> type: jar
>
> The 2.0 format is similar , but the lsid creation is definitely been
> changed:
>
> Manifest-Version: 1.4.2
> lsid: urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:1081:13:1
> KAR-Version: 2.0
>
> Name: L2Extractor.xml
> lsid: urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:1081:12:1
> type: ptolemy.actor.TypedAtomicActor
>
> Name: L2Extractor.jar
> lsid: urn:lsid:gamma.msi.ucsb.edu/OpenAuth/:1081:13:1
> type: jar
>
> Would this be valid?
>
> Thanks,
> JSA
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
More information about the Kepler-users
mailing list