#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)
Change History (6)
Changed 11 years ago by
Attachment: | fileUtil-save-mkdirs-fix.patch added |
---|
comment:1 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
comment:3 Changed 11 years ago by
Milestone: | tbd → 1.3.3 |
---|
Note: See
TracTickets for help on using
tickets.
(In [20010]) Fixed issue with fileUtil.saveFile() failing if the full path of the layer file does not exist. Fixes #9814 !strict