Opened 8 years ago

Closed 7 years ago

#14074 closed defect (fixed)

the build script does not work unless /util/buildscripts is the cwd

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

Description

The build program is no longer sensitive to the cwd. The build script shouldn't depend on cwd==/util/buildscripts.

Also, the build script is using the flag==arg syntax while the build app is preferring --flag arg.

Also, it would be nice to allow invoking the node debugger as a bin option to the build script

Change History (7)

comment:1 Changed 8 years ago by Rawld Gill

Component: GeneralBuildSystem
Status: newassigned

comment:2 Changed 8 years ago by Rawld Gill

Resolution: fixed
Status: assignedclosed

In [26839]:

added node debug options and --flag format build wrapper script; improved help output; fixes #14074; !strict

comment:3 Changed 8 years ago by Rawld Gill

In [26840]:

improved finding -v option; refs #14074; !strict

comment:4 Changed 8 years ago by sayuri

At r26839, build.sh was fixed. But build.bat still don't work. Simply change source:/dojo/util/trunk/buildscripts/build.bat@24983#L7 to

java -Xms256m -Xmx256m  -cp "%~dp0../shrinksafe/js.jar";"%~dp0../closureCompiler/compiler.jar";"%~dp0../shrinksafe/shrinksafe.jar" org.mozilla.javascript.tools.shell.Main  "%~dp0../../dojo/dojo.js" baseUrl="%~dp0../../dojo" load=build %*

%~dp0 is same as `basedir $0`

comment:5 Changed 8 years ago by bill

Milestone: 1.71.8
Resolution: fixed
Status: closedreopened

comment:6 Changed 8 years ago by Rawld Gill

Status: reopenedassigned

comment:7 Changed 7 years ago by Rawld Gill

Resolution: fixed
Status: assignedclosed

In [28460]:

improved windows build script to allow execution when util/buildscripts in not the cwd; fixes #14074; thanks sayuri

Note: See TracTickets for help on using tickets.