Opened 14 years ago

Closed 14 years ago

#5688 closed defect (fixed)

Creating build layers does not use layer.resourceName

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 1.1
Component: BuildSystem Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


Specifying a resourceName does not result in a dojo.provide line with the resourceName. This bug was introduced in the port from 0.4 to 0.9.

It looks like buildUtil.getDependencyList() does not put layer.resourceName in the result for the layer, then when buildUtil.createLayerContents is called, the value needs to be passed to it, and that function should insert the dojo.provide call. See the 0.4 version of buildUtil.createLayerContents() for details.

Change History (1)

comment:1 Changed 14 years ago by James Burke

Resolution: fixed
Status: newclosed

(In [12283]) Fixes #5688. Specifying resourceName now gets saved in the layer file. No need to specify resourceName in the standard.profile.js since each layer already has a dojo.provide() for that resource name. !strict

Note: See TracTickets for help on using tickets.