Installing Ejscript
Ejscript is available as a source code distribution. Several build environments are supported:
- Linux — Linux 2.6 with GNU C/C++
- Windows — Microsoft Windows 7 with Visual Studio 2010 or later
- Mac OS X — Mac OS X 10.8 (Mountain Lion) or later
The source code has been designed to run on FreeBSD, Linux, Mac OS X, VxWorks and other operating systems. It has been tested under Fedora and Ubuntu Linux based on the Linux 2.6 Kernel, Microsoft Windows 7, 8 (32 and 64-bit), VxWorks 6.X and MAC OS X 10.8.
Accessing the Source Code
With each Ejscript release, a complete source code snapshot is provided. You can download a source package from the Ejscript web site or you can retrieve it from the Ejscript GitHub repository. If you download from the repository, please use the master branch for the most recent stable snapshot. For less stable daily builds, use the dev branch.
Download Source GitHub RepositoryBuilding Ejscript from Source
The Ejscript source distribution contains all the required source files, headers, and test framework to reconfigure, build, and verify Ejscript. The software supports three methods for building from source.
Building via make is the simplest way to build. Use make if you want a default build or if you need to integrate Ejscript with an existing make-based build system. Build with MakeMe if you want to customize or configure the software for your system, or if you need to cross-compile for another operating system or architecture. Use the Visual Studio or Xcode if you are most comfortable with these tools and want a default build.
Building
We use the MakeMe tool internally to generate the Ejscript Makefiles, MakeMe and IDE projects. This cool tool generates clean, efficient makefiles and projects. The MakeMe project documents how to use these generated Makefiles and projects as they are the same for all projects that use MakeMe. For full details, read on, courtesy of MakeMe:
Upgrading
If upgrading from a previous version, please save your configuration files, custom modules and other data and then remove the previous version of Ejscript. Then install the new release and apply your configuration to the new release.