#8094 closed enhancement (fixed)
Build: generate dependency maps
Reported by: | James Burke | Owned by: | James Burke |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | BuildSystem | Version: | 1.2.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
It would be useful if the build system could generate a dependency map that specifies what modules depend on what other modules.
This could then be used for some quick build optimizations: detecting what files changed since last build, then figure out what layers/files needed to be rebuilt. That rebuild process is probably a different ticket -- the first building block is building the dependency maps.
Change History (5)
comment:1 Changed 14 years ago by
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
the latest build tool has an option to output dot files that describe the dependency graphs. see http://dojotoolkit.org/reference-guide/build/transforms/depsDump.html#build-transforms-depsdump
comment:3 Changed 10 years ago by
Milestone: | future → 1.7 |
---|
Probably you meant 1.7 for this. (Or 1.8 at the latest.)
comment:4 Changed 10 years ago by
sure - i definitely meant 1.7 but how do milestones matter for code that's already been released?
comment:5 Changed 10 years ago by
Thanks. Well, we overload "milestone" to mean both "planned version to fix" (for open tickets) and "version fixed" for closed tickets.
I build one of these around the time of DDD using the build libs and js. You can find a copy here:
http://dmachi.dojotoolkit.org/dojotoolkit/dojox/resourceLoader/generateDependencyMap.js