|lib/src/myLib.dart
|web/myProg.dart How can myProg import myLib ?
DartEditor have some problems in parsing URI:s.. i think..?
?? import '/C:/Users/Public/daw_pubtest/...' lol seems strange! I have tried several hours to guess, how this is done. NEVER would have guessed this /C: -thing.
http://stackoverflow.com/questions/12951989/how-to-reference-another-file-in-dart
Here.. in second answer was this:
import 'someDartFile.dart';
If you have on Windows a library at: K:\SomeDir\someFile.dart you will need to write:
import '/K:/SomeDir/someFile.dart';
http://stackoverflow.com/questions/12325488/importing-library-in-dart-on-windows
This page have same kind of answer.
Problems rise: My heart is aching. My mind is cloudy. Coffee dont taste as it should.
Use this solution? Is it nice? Do's it work in my dawo package?
More reading: Read these again. Read issues. 7 webpages talk the same thing. Read.
Do. Try it in your dawo package.. even if coffee tastes bad :(
Be a man.. and put all your 147 files in same folder :(
Read; Pub layout conventions.. lib/src
Study other packages; How they did it.
Live in hope, that you are dumb. I hope I have missed something very obvious. I confess, that I am not very eager to read instructions...
But I can use it test and example folder also.
I really hope that it is not this difficult. If beginning Windows users must do this, so it is very big misery.
x Waiting for better solution...
This can also be a security measure.. you can't let Dart mess freely in users folders..?
Ei kommentteja:
Lähetä kommentti