Opened 8 years ago

Closed 8 years ago

#14168 closed defect (fixed)

[regression] layer names not starting with "../" are placed outside release folder

Reported by: Kenneth G. Franqueiro Owned by: Rawld Gill
Priority: high Milestone: 1.7.1
Component: BuildSystem Version: 1.7.0
Keywords: Cc:
Blocked By: Blocking:

Description

In Dojo 1.6 and earlier, specifying a layer name such as "test.js" would cause the layer to be built under the dojo folder. Now in 1.7, that same layer ends up built outside the folder designated by releaseName.

For example, the following profile:

dependencies = { 
  layers: [
    {   
      name: "test.js",
      dependencies: [
        "dijit.layout.ContentPane",
        "dijit.form.ValidationTextBox"
      ]   
    }   
  ],  
  prefixes: [
    [ "dijit", "../dijit" ],
    [ "dojox", "../dojox" ]
  ]
}

...generates the following structure in 1.6:

release
  releaseName
    dojo
      test.js
    dijit
    dojox

...but generates the following in 1.7:

release
  test.js
  releaseName
    dojo
    dijit
    dojox

Change History (2)

comment:1 Changed 8 years ago by Mathevet julien

from kgf, workaround: set name in build profiles with dojo/:

name: "dojo/test.js",

comment:2 Changed 8 years ago by Rawld Gill

Resolution: fixed
Status: newclosed

repaired in #14166

Last edited 8 years ago by bill (previous) (diff)
Note: See TracTickets for help on using tickets.