Opened 6 years ago

Closed 5 years ago

#17456 closed defect (fixed)

Multiple resources are destined for same filename errors

Reported by: chuckd Owned by: Rawld Gill
Priority: undecided Milestone: 1.10
Component: BuildSystem Version: 1.9.1
Keywords: Cc: Clement Mathieu
Blocked By: Blocking:

Description

These are reported when using aliasing in the build profile to map plugin modules to dojo/text because they delegate to dojo/text at runtime. In this case, the indicated error is reported because dojo/text is mapped multiple times. In this case, the error should be suppressed if the source resources in conflict are identical.

The attached patch resolves this problem

Attachments (2)

main.js.patch (607 bytes) - added by chuckd 6 years ago.
testbuildalias.zip (1.8 KB) - added by Clement Mathieu 6 years ago.
Test Case

Download all attachments as: .zip

Change History (10)

Changed 6 years ago by chuckd

Attachment: main.js.patch added

comment:1 Changed 6 years ago by bill

Chuckd, please submit patches as documented in https://github.com/dojo/dojo/blob/master/CONTRIBUTING.md, thanks.

comment:3 Changed 6 years ago by chuckd

Could someone please merge this fix into trunk? Thanks.

comment:4 Changed 6 years ago by bill

Owner: set to Rawld Gill
Status: newassigned

comment:5 Changed 6 years ago by cjolif

Milestone: tbd1.10

comment:6 Changed 6 years ago by cjolif

Cc: Clement Mathieu added

comment:7 Changed 6 years ago by Clement Mathieu

I attached a test case to demonstrate the problem. Dojo and util should be siblings of app and vendor directory.

I think the proposed patch make sense and since this patch is only cosmetic it should not cause any problem.

Changed 6 years ago by Clement Mathieu

Attachment: testbuildalias.zip added

Test Case

comment:8 Changed 5 years ago by cjolif

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.