Ticket #5688 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

Creating build layers does not use layer.resourceName

Reported by: jburke Owned by: jburke
Priority: normal Milestone: 1.1
Component: BuildSystem Version: 0.9
Severity: normal Keywords:
Cc:

Description

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

Changed 7 months ago by jburke

  • status changed from new to closed
  • resolution set to fixed

(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.