Discussion:
[dart-misc] Dart Transformer fails to overwrite an Asset
Stephan Schröder
2016-02-16 16:15:33 UTC
Permalink
I wrote a question on how my transformer fails to replace an Asset
<http://stackoverflow.com/questions/35398977/dart-transformer-fails-to-overwrite-an-asset>
on stackoverflow and GÌnter Zöchbauer suggested i ask here instead.
Basically i want to replace an asset with transform.addOutput(updatedAsset)
but that fails (not with an error, instead the original version is still
used and even

transform.getInput(updatedAsset.id) returns the unupdated version. (Please check the details in my stackoverflow post.)
(I use Dart 1.14.2 on Win10.)

<http://stackoverflow.com/users/217408/g%c3%bcnter-z%c3%b6chbauer>
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Stephan Schröder
2016-02-16 21:47:32 UTC
Permalink
solved!
my transformer's apply-method didn't return a Future although i did
asynchronous work! So the other transformers didn't wait for the its asset
changes.
Complete description of the solution on stackoverflow!
Post by Stephan Schröder
I wrote a question on how my transformer fails to replace an Asset
<http://stackoverflow.com/questions/35398977/dart-transformer-fails-to-overwrite-an-asset>
on stackoverflow and GÌnter Zöchbauer suggested i ask here instead.
Basically i want to replace an asset with transform.addOutput(updatedAsset
) but that fails (not with an error, instead the original version is
still used and even
transform.getInput(updatedAsset.id) returns the unupdated version. (Please check the details in my stackoverflow post.)
(I use Dart 1.14.2 on Win10.)
<http://stackoverflow.com/users/217408/g%c3%bcnter-z%c3%b6chbauer>
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...