Benutzer-Werkzeuge

Webseiten-Werkzeuge


becki:linux:dojo

Dies ist eine alte Version des Dokuments!


Inhaltsverzeichnis

Dojo Toolkit

Make a custom Build

A custom build is necessary for example when public cross-domain distributions are not accessible (isolated network) and the size of the standard dojo package is to big for the server (e.g. on an embedded system). With a custom build you can do both: Reduce the size and make it cross-domain capable. See also: quickstart/custom-builds

The following exemplary steps build a cross-domain build with standard profile to be installed on the machine of the brower. Hence the browser machine needs a webserver as well! The actual dojo app can live on a space limited device where the browser connects to:

  1. Download and extract latest stable source release
  2. Create the build destination dir as root, eg. /var/www/htdocs/lib/dojo/1.4/
  3. Cd into dojo-release-1.4.1-src/util/buildscripts
  4. Run this as root:
    ./build.sh profile=standard loader=xdomain xdDojoPath=http://localhost/lib/dojo/1.4 action=release releaseName=1.4 releaseDir=/var/www/htdocs/lib/dojo
  5. The necessary include path then yield to:
    <link rel="stylesheet" type="text/css" href="http://localhost/lib/dojo/1.4/dijit/themes/tundra/tundra.css">
    <script type="text/javascript" src="http://localhost/lib/dojo/1.4/dojo/dojo.xd.js" djConfig="parseOnLoad: true">

FIXME Create custom build script optimized in size!

Old

Cookies helfen bei der Bereitstellung von Inhalten. Diese Website verwendet Cookies. Mit der Nutzung der Website erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Computer gespeichert werden. Außerdem bestätigen Sie, dass Sie unsere Datenschutzerklärung gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website. Weitere Information
becki/linux/dojo.1265822607.txt.gz · Zuletzt geändert: 2010-02-10 17:23 von becki

Impressum - Datenschutzerklärung