Was this helpful?
Running a Map or Process in djar
The map or the process RTC file can be inside or outside the djar file.
The djengine.exe must be in your path and DJLIB must be set to point to the engine's cosmos.ini file. The cosmos.ini must have a valid license file specified in the LicenseFile property. For more information, see Invoking Runtime Engine Using CLI.
To run a map or process that is inside the .djar, use the following syntax:
djengine -RC {fullPathAndFileNameOfInternalRTCStartingWithTheJarLocation}
For example:
djengine -RC c:\temp\Package\SimpleMap1.0.djar\SimpleMap-1.0\SimpleMap.map.rtc
djengine -RC c:\temp\Package\SimpleProcess\SimpleProcess1.0.djar\SimpleProcess-1.0\SimpleProcess.process.rtc
To run a map or process that is outside the .djar, use the following syntax:
djengine -RC {fullPathAndFileNameOfExternalRTC}
The entry point must be:
"entryPoint" : {OptionalPath}{FileNameOfDjar}/{folderPathstoRunnableArtifact}/{RunnableArtifactFileName}
Map Example
djengine -RC c:\temp\Package\SimpleMap\SimpleMap_djar.map.rtc
Map RTC content:
"entryPoint" : "SimpleMap1.0.djar/SimpleMap-1.0/SimpleMap.map",
Process Example
djengine -RC c:\temp\Package\SimpleProcess\SimpleProcess_djar.process.rtc
Process RTC content:
"entryPoint" : "SimpleProcess1.0.djar/SimpleProcess-1.0/SimpleProcess.process",
Last modified date: 10/22/2024