Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9814 closed defect (fixed)

Build system doesn't create non-existant layer paths

Reported by: cb1kenobi Owned by: James Burke
Priority: high Milestone: 1.4
Component: BuildSystem Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

Say you have a build profile file with say 3 layers: dojo.js, foo.bar.baz and foo.bar.wiz.pow. The build will fail on the last layer because it will try to create pow.js but the directory wiz doesn't exist.

The solution is really simple. fileUtil.saveFile() just needs to make sure the parent directory exists and if it doesn't, then create the parent directories.

Attachments (1)

fileUtil-save-mkdirs-fix.patch (571 bytes) - added by cb1kenobi 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by cb1kenobi

comment:1 Changed 10 years ago by cb1kenobi

Resolution: fixed
Status: newclosed

(In [20010]) Fixed issue with fileUtil.saveFile() failing if the full path of the layer file does not exist. Fixes #9814 !strict

comment:2 Changed 10 years ago by cb1kenobi

(In [20011]) Fixed issue with fileUtil.saveFile() failing if the full path of the layer file does not exist. Refs #9814 !strict

comment:3 Changed 10 years ago by James Burke

Milestone: tbd1.3.3

comment:4 Changed 10 years ago by (none)

Milestone: 1.3.3

Milestone 1.3.3 deleted

comment:5 Changed 10 years ago by bill

Milestone: 1.4

we won't have a 1.3.3

Note: See TracTickets for help on using tickets.