Archived

This forum has been archived. Please start a new discussion on GitHub.

I am a new comer

a simple question.
Can the command "slice2freezej -I$(ICE_HOME)/slice --dict Filesystem.IdentityNodeMap,Ice::Identity,Filesystem::PersistentNode
Filesystem.ice $(ICE_HOME)/slice/Ice/Identity.ice" compute a UUID for the
object PersistentNode like the method generateUUID()?:)

Comments

  • bernard
    bernard Jupiter, FL
    Hello,

    For any Freeze map, you need to provide yourself the value of the key.

    To generate a UUID-based Ice Identity key, you could use:
    Ice.Util.stringToIdentity(Ice.Util.generateUUID())

    Cheers,
    Bernard