Note that there are some explanatory texts on larger screens.

plurals
  1. PODojo build 1.7 built packages does not work
    text
    copied!<p>I'm at the beginning of building my project and I get some errors that couldn't realize why they are being occured. </p> <p>You can see contents of <code>my app.profile.js</code> file below. I execute <code>"build profile=../../app.profile.js -r"</code> this line from command prompt and I get no error after the process is done. My problem is if I copy the release(built) version of these packages to the place where the unbuilt versions exist, I get too many javascript errors like "<code>Error: multipleDefine</code>". Even if I copy only dojo, dojox and dijit folders, same errors are keep occuring. </p> <p>When I look the differences between built and unbuilt of two js files, (for example dojo/Deferred) the only difference I realize is this: </p> <pre><code>//built define("dojo/Deferred", [ "./_base/lang", "./promise/CancelError", "./promise/Promise" ], function( </code></pre> <hr> <pre><code>define([ "./_base/lang", "./promise/CancelError", "./promise/Promise" ], function( </code></pre> <p>So I'm a little bit stucked at the beginning. I want to try using layers to reduce http requests as soon as possible but I need some help about the situation I mentioned. Any help will be greatly appreciated, thanks. </p> <p>app.profile.js: </p> <pre><code>var profile = { basePath: "..", layerOptimize: "shrinksafe.keepLines", optimize: "shrinksafe", releaseDir: "./release", hasReport: true, packages: [ { name: "dojo", location: "./dojo" }, { name: "dijit", location: "./dijit" }, { name: "app", location: "./app" }, { name: "dtk", location: "./dtk" }, { name: "dojox", location: "./dojox" } ], layers: { "app/layers/core": { include: [ "dojo/_base/declare", "dtk/core/ILifeCycle", "dtk/core/AppConfig", "dtk/core/TopicContext", "dtk/core/NavigationContext", "dojo/require", "dojo/_base/Deferred", "dojo/DeferredList", "dojo/_base/lang" ] }, "app/layers/appcontext": { include: [ "dtk/core/AppContext" ], exclude: [ "app/layers/core" ] } } }; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload