Opened 11 years ago

Last modified 10 years ago

#14189 closed defect

Creating Dojo Custom Build on Stable Version Released 27th October 2011 — at Version 6

Reported by: shaunaharris11 Owned by: Rawld Gill
Priority: high Milestone: tbd
Component: BuildSystem Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)


C:\Documents and Settings\Administrator\My Documents\custom_build_Oct\dojo-release-1.7.0b6-src\dojo-release-1.7.0b6-src\util buildscripts>build.bat releaseDir=\dojoRelease\ profile=testdojo action=release


running under rhino
js: "<eval'ed string>#1(Function)#1(eval)#20(eval)", line 1: uncaught JavaScript
 runtime exception: SyntaxError: unterminated string literal
        at <eval'ed string>#1(Function)#1(eval):20
        at <eval'ed string>#1(Function)#1(eval):62
        at <eval'ed string>#1(Function)#1(eval):435
        at <eval'ed string>#1(Function)#1(eval):86

js: ({"result":"\dojoRelease\"})
js: ...........................^

PROFILE: empty file in profiles directory.

Please update me as soon as possible on this defect. I believe this is a critical defect because users cannot create custom builds.



Change History (6)

comment:1 Changed 11 years ago by Adam Peller

have you tried forward slashes?

comment:2 Changed 11 years ago by shaunaharris11

Hi, Thanks for your reply. I tested with the base profile and that actually worked. In all of my previous custom builds I used back slashes. One problem I am having is to create a custom dojo build I usually use a blank profile. Has this changed for 1.6. If I use a blank profile for 1.6 I get the following error:

running under rhino error(347) Failed to evaluate profile file. profile: C:/Documents and Settings/A dministrator/My Documents/custom_build_Oct/dojo-release-1.7.0-src/util/buildscripts/profiles/mydojo.profile.js; error: TypeError?: Cannot call method "replace" of undefined errors on command line; terminating application.

comment:3 Changed 11 years ago by Adam Peller

the build scripts have changed radically in 1.7. The same settings should be supported, but I'm not sure backslashes are explicitly one of those things we ever supported, so it's still worth checking. Ditto for unescaped spaces, etc. Not sure about a blank profile.

comment:4 Changed 11 years ago by shaunaharris11

Thanks for the update. If anyone knows how to create a custom build of dojo previously in dojo 1.6 I used blank profile please comment back.



comment:5 Changed 11 years ago by Adam Peller

best to ask on the dojo-interest mailing list

comment:6 Changed 10 years ago by bill

Component: GeneralBuildSystem
Description: modified (diff)
Owner: set to Rawld Gill

Did this get resolved? If not, you'll need to attach your testdojo.js profile file... although from that error message it sounds like you don't have such a file??

Note: See TracTickets for help on using tickets.