Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Angular's transformers do not follow Barbacks asset resolution. #1651

Closed
TedSander opened this issue Jan 18, 2015 · 0 comments
Closed

Angular's transformers do not follow Barbacks asset resolution. #1651

TedSander opened this issue Jan 18, 2015 · 0 comments

Comments

@TedSander
Copy link
Contributor

Barbacks rules for asset resolution are defined here: http://goo.gl/YDMRc2. The expression generator tests use lib/test.html as URIs for resolution. In practice these URIs would not be used by the pub system. Instead all library resources would have packages in the URI. In addition the current code does not handle web URIs correctly. Any URI which do not contain packages/ are considered web resources. These resources will not start with web. Yet when creating the AssetID the web location must be prepended to find the resource.

TedSander pushed a commit to TedSander/angular.dart that referenced this issue Jan 18, 2015
Fixes asset resolution according to Barback rules which are defined here:
http://goo.gl/YDMRc2 specifically library assets are defined with packages
being in the URI and all other resources are considered web resources.

Closes dart-archive#1651
TedSander pushed a commit to TedSander/angular.dart that referenced this issue Jan 27, 2015
Extracts logic used in the TypeRelativeUriGenerator to be used in other
transformers. This allows other transformers such as the ExpressionGenerator
and later the TemplateCacheGenerator to find relative resources.

Fixes asset resolution according to Barback rules which are defined here:
http://goo.gl/YDMRc2 specifically library assets are defined with packages
being in the URI and all other resources are considered web resources.

Closes dart-archive#1649, dart-archive#1651
rkirov pushed a commit that referenced this issue Jan 28, 2015
Extracts logic used in the TypeRelativeUriGenerator to be used in other
transformers. This allows other transformers such as the ExpressionGenerator
and later the TemplateCacheGenerator to find relative resources.

Fixes asset resolution according to Barback rules which are defined here:
http://goo.gl/YDMRc2 specifically library assets are defined with packages
being in the URI and all other resources are considered web resources.

Closes #1649, #1651
rkirov pushed a commit that referenced this issue Jan 28, 2015
Extracts logic used in the TypeRelativeUriGenerator to be used in other
transformers. This allows other transformers such as the ExpressionGenerator
and later the TemplateCacheGenerator to find relative resources.

Fixes asset resolution according to Barback rules which are defined here:
http://goo.gl/YDMRc2 specifically library assets are defined with packages
being in the URI and all other resources are considered web resources.

Closes #1649, #1651
rkirov pushed a commit that referenced this issue Jan 28, 2015
Extracts logic used in the TypeRelativeUriGenerator to be used in other
transformers. This allows other transformers such as the ExpressionGenerator
and later the TemplateCacheGenerator to find relative resources.

Fixes asset resolution according to Barback rules which are defined here:
http://goo.gl/YDMRc2 specifically library assets are defined with packages
being in the URI and all other resources are considered web resources.

Closes #1649, #1651
rkirov pushed a commit that referenced this issue Feb 2, 2015
Extracts logic used in the TypeRelativeUriGenerator to be used in other
transformers. This allows other transformers such as the ExpressionGenerator
and later the TemplateCacheGenerator to find relative resources.

Fixes asset resolution according to Barback rules which are defined here:
http://goo.gl/YDMRc2 specifically library assets are defined with packages
being in the URI and all other resources are considered web resources.

Closes #1649, #1651
rkirov pushed a commit that referenced this issue Feb 2, 2015
Extracts logic used in the TypeRelativeUriGenerator to be used in other
transformers. This allows other transformers such as the ExpressionGenerator
and later the TemplateCacheGenerator to find relative resources.

Fixes asset resolution according to Barback rules which are defined here:
http://goo.gl/YDMRc2 specifically library assets are defined with packages
being in the URI and all other resources are considered web resources.

Closes #1649, #1651
@rkirov rkirov closed this as completed Feb 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants