You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

OgreScript is a descendent of OGRE; it is the scripting language native to ELF. It is meant to be run inside of the ELF container, which is built on the Eclipse (OSGI) platform framework. Hence, OgreScript is organized as a series of plugins.

The OgreScript runtime has eliminated all dependencies on org.apache.tools.Ant for its build and execute mechanism; there are no more target nodes or top-level DAG dependencies. The structure of OgreScript is simply that of a straightforward scripting language. Work continues to take place via task objects, but the xml now simply represents a single line of execution.

OgreScript still runs in an environment, but this is now locally unified, in the sense that there are no separate properties (i.e., Ant-like write-once variables) to manage outside of the OgreScriptEnvironment framework as there were in OGRE.

Tasks are still xml elements configured via their attributes and children, and which do something inside their execute method. Return values are now made available by adding markers to the task itself.

  • No labels