Sorry for the newbie question, but how would I go about installing/integrating the Athens library? I never know what to do with Github.
-- https://github.com/matthias-springer/amber-athens-library This thing hasn't been updated for over 2 years! You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Hi there, I have not been working on this for a while, but the latest version is here: https://github.com/matthias-springer/amber-athens. For an Athens tutorial see here: http://m-sp.org/amber-athens/ (mostly copied over from the Pharo implementation 2 years ago). Besides adding all the Athens-* packages to your project, you also have to wrap some classes in boot.js (that what I did 2 years ago, maybe there is a better way to do this now). smalltalk.wrapClassName("Image", "Athens-Amber", Image, smalltalk.Object); smalltalk.wrapClassName("CanvasContext2D", "Athens-Amber", CanvasRenderingContext2D, smalltalk.Object); smalltalk.wrapClassName("CanvasGradient", "Athens-Amber", CanvasGradient, smalltalk.Object); On Fri, Jun 19, 2015 at 3:47 PM, Richard Eng <[hidden email]> wrote:
Best regards, Matthias Springer Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) [hidden email] * Stahnsdorfer Straße 144b, 14482 Potsdam, Germany You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Okay, so if I understand your repository correctly, I can ignore everything but the Athens files. I grab the Athens*.st files from the 'st' directory (the corresponding .js files in the 'js' directory are presumably auto-generated). I load these Athens packages into my existing Amber installation. Then I fiddle with boot.js and I'm good to go?
-- On Friday, 19 June 2015 10:00:36 UTC-4, Matthias Springer wrote:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Exactly, that should work. If something is not working as expected let me know.
On Friday, June 19, 2015, Richard Eng <[hidden email]> wrote:
-- Best regards, Matthias Springer Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) [hidden email] * Stahnsdorfer Straße 144b, 14482 Potsdam, Germany -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by horrido
Richard Eng wrote: > Okay, so if I understand your repository correctly, I can ignore > everything but the Athens files. I grab the Athens*.st files from the > 'st' directory (the corresponding .js files in the 'js' directory are > presumably auto-generated). I load these Athens packages into *my > existing Amber installation*. Then I fiddle with boot.js and I'm good to go? Except that "fiddle with boot.js" part. That should not happen - it _must_ be done externally. Telling anyone to "fiddle with boot.js" is the path to hell. Unfortunately, there's still no API that publishes class wrapping to Smalltalk part, but if there's a need to wrap classes, it just must be added. > On Friday, 19 June 2015 10:00:36 UTC-4, Matthias Springer wrote: > > Hi there, > > I have not been working on this for a while, but the latest version > is here: https://github.com/matthias-springer/amber-athens > <https://github.com/matthias-springer/amber-athens>. For an Athens > tutorial see here: http://m-sp.org/amber-athens/ > <http://m-sp.org/amber-athens/> (mostly copied over from the Pharo > implementation 2 years ago). > > Besides adding all the Athens-* packages to your project, you also > have to wrap some classes in boot.js (that what I did 2 years ago, > maybe there is a better way to do this now). > > smalltalk.wrapClassName("Image", "Athens-Amber", Image, > smalltalk.Object); > smalltalk.wrapClassName("CanvasContext2D", "Athens-Amber", > CanvasRenderingContext2D, smalltalk.Object); > smalltalk.wrapClassName("CanvasGradient", "Athens-Amber", > CanvasGradient, smalltalk.Object); > > > > On Fri, Jun 19, 2015 at 3:47 PM, Richard Eng <[hidden email] > <javascript:>> wrote: > > Sorry for the newbie question, but how would I go about > installing/integrating the Athens library? I never know what to > do with Github. > > https://github.com/matthias-springer/amber-athens-library > <https://github.com/matthias-springer/amber-athens-library> > > This thing hasn't been updated for over 2 years! > > -- > You received this message because you are subscribed to the > Google Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from > it, send an email to [hidden email] <javascript:>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > > > -- > Best regards, > Matthias Springer > > Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) > [hidden email] <javascript:> * Stahnsdorfer Straße 144b, 14482 > Potsdam, Germany > > -- > You received this message because you are subscribed to the Google > Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [hidden email] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
On Fri, Jun 19, 2015 at 9:56 PM, Herby Vojčík <[hidden email]> wrote:
Yes. And this could also be useful for other applications. There are many more predefined types (https://developer.mozilla.org/en-US/docs/Web/API). Best regards, Matthias Springer Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) [hidden email] * Stahnsdorfer Straße 144b, 14482 Potsdam, Germany You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Is there an OpenGL backend yet? Talk about this backend goes back 3 years...
-- On Friday, 19 June 2015 16:05:30 UTC-4, Matthias Springer wrote:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
No, this is just using HTML Canvas right now. On Fri, Jun 19, 2015 at 10:39 PM, Richard Eng <[hidden email]> wrote:
Best regards, Matthias Springer Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) [hidden email] * Stahnsdorfer Straße 144b, 14482 Potsdam, Germany You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by Herby Vojčík
Well, of course, I'm still a novice; I don't know how to write these wrappers. Can anyone give me some tips or guidance?
-- On Friday, 19 June 2015 15:56:25 UTC-4, Herby wrote:
You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Richard Eng wrote: > Well, of course, I'm still a novice; I don't know how to write these > wrappers. Can anyone give me some tips or guidance? That's very deep knowledge of boot.js mechanisms. I think I (or someone knowing these areas) must just write some API and release new Amber version asap (for your personal experimenting, just pasting those lines into boot.js somewhere where some other .wrapClassName calls already are can be sufficient). > On Friday, 19 June 2015 15:56:25 UTC-4, Herby wrote: > > > > Richard Eng wrote: > > Okay, so if I understand your repository correctly, I can ignore > > everything but the Athens files. I grab the Athens*.st files > from the > > 'st' directory (the corresponding .js files in the 'js' > directory are > > presumably auto-generated). I load these Athens packages into *my > > existing Amber installation*. Then I fiddle with boot.js and I'm > good to go? > > Except that "fiddle with boot.js" pa > _must_ be done externally. Telling anyone to "fiddle with boot.js" is > the path to hell. > > Unfortunately, there's still no API that publishes class wrapping to > Smalltalk part, but if there's a need to wrap classes, it just > must be > added. > > > On Friday, 19 June 2015 10:00:36 UTC-4, Matthias Springer wrote: > > > > Hi there, > > > > I have not been working on this for a while, but the latest version > > is here: https://github.com/matthias-springer/amber-athens > <https://github.com/matthias-springer/amber-athens> > > <https://github.com/matthias-springer/amber-athens > <https://github.com/matthias-springer/amber-athens>>. For an Athens > > tutorial see here: http://m-sp.org/amber-athens/ > > <http://m-sp.org/amber-athens/> (mostly copied over from the Pharo > > implementation 2 years ago). > > > > Besides adding all the Athens-* packages to your project, > > have to wrap some classes in boot.js (that what I did 2 years ago, > > maybe there is a better way to do this now). > > > > smalltalk.wrapClassName("Image", "Athens-Amber", Image, > > smalltalk.Object); > > smalltalk.wrapClassName("CanvasContext2D", "Athens-Amber", > > CanvasRenderingContext2D, smalltalk.Object); > > smalltalk.wrapClassName("CanvasGradient", "Athens-Amber", > > CanvasGradient, smalltalk.Object); > > > > > > > > On Fri, Jun 19, 2015 at 3:47 PM, Richard Eng <[hidden email] > > <javascript:>> wrote: > > > > Sorry for the newbie question, but how would I go about > > installing/integrating the Athens library? I never know what to > > do with Github. > > > > https://github.com/matthias-springer/amber-athens-library > <https://github.com/matthias-springer/amber-athens-library> > > <https://github.com/matthias-springer/amber-athens-library > <https://githu > > > > This thing hasn't been updated for over 2 years! > > > > -- > > You received this message because you are subscribed to the > > Google Groups "amber-lang" group. > > To unsubscribe from this group and stop receiving emails from > > it, send an email to [hidden email] <javascript:>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout> > > <https://groups.google.com/d/optout > <https://groups.google.com/d/optout>>. > > > > > > > > > > -- > > Best regards, > > Matthias Springer > > > > Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) > > [hidden email] <javascript:> * Stahnsdorfer Straße 144b, 14482 > > Potsdam, Germany > > > > -- > > You received this message because you are subscribed to the Google > > Groups "amber-lang" group. > > > it, send > > an email to [hidden email] <javascript:> > > <mailto:[hidden email] <javascript:>>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > You received this message because you are subscribed to the Google > Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [hidden email] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by horrido
This is what I tried last time: adding a method to BlockClosure for doing the wrapping. BlockClosure>>wrap: aClass < $core.wrapClassName(aClass._name(), aClass._package()._name(), self, aClass._superclass(), false); > I was trying to wrap classes using "CanvasRenderingContext2D wrap: Context2D" where Context2D is an already existing Smalltalk class. Does not work though. It seems like the wrapping has to be in place before the Smalltalk class is loaded or I did not use "wrapClassName" correctly. For testing purposes, you can run the following code and see if the the result is a wrapped object: "((HTMLCanvas onJQuery: 'body' asJQuery) tag: 'canvas') element getContext: '2d'". Maybe Herby knows what to do. On Fri, Jun 19, 2015 at 10:43 PM, Richard Eng <[hidden email]> wrote:
Best regards, Matthias Springer Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) [hidden email] * Stahnsdorfer Straße 144b, 14482 Potsdam, Germany You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Matthias Springer wrote: > This is what I tried last time: adding a method to BlockClosure for > doing the wrapping. > > BlockClosure>>wrap: aClass > < $core.wrapClassName(aClass._name(), aClass._package()._name(), self, > aClass._superclass(), false); > > > I was trying to wrap classes using "CanvasRenderingContext2D wrap: > Context2D" where Context2D is an already existing Smalltalk class. Does > not work though. It seems like the wrapping has to be in place before I fear this may be the case... or maybe adding one .initClass call can fix it. Must make some experiments. > the Smalltalk class is loaded or I did not use "wrapClassName" correctly. > > For testing purposes, you can run the following code and see if the the > result is a wrapped object: "((HTMLCanvas onJQuery: 'body' asJQuery) > tag: 'canvas') element getContext: '2d'". Maybe Herby knows what to do. > > > On Fri, Jun 19, 2015 at 10:43 PM, Richard Eng <[hidden email] > <mailto:[hidden email]>> wrote: > > Well, of course, I'm still a novice; I don't know how to write these > wrappers. Can anyone give me some tips or guidance? > > > On Friday, 19 June 2015 15:56:25 UTC-4, Herby wrote: > > > > Richard Eng wrote: > > Okay, so if I understand your repository correctly, I can ignore > > everything but the Athens files. I grab the Athens*.st files > from the > > 'st' directory (the corresponding .js files in the 'js' > directory are > > presumably auto-generated). I load these Athens packages into > *my > > existing Amber installation*. Then I fiddle with boot.js and > I'm good to go? > > Except that "fiddle with boot.js" part. That should not happen - it > _must_ be done externally. Telling anyone to "fiddle with > boot.js" is > the path to hell. > > Unfortunately, there's still no API that publishes class > wrapping to > Smalltalk part, but if there's a need to wrap classes, it just > must be > added. > > > On Friday, 19 June 2015 10:00:36 UTC-4, Matthias Springer wrote: > > > > Hi there, > > > > I have not been working on this for a while, but the > latest version > > is here: https://github.com/matthias-springer/amber-athens > > <https://github.com/matthias-springer/amber-athens>. For an > Athens > > tutorial see here: http://m-sp.org/amber-athens/ > > <http://m-sp.org/amber-athens/> (mostly copied over from the > Pharo > > implementation 2 years ago). > > > > Besides adding all the Athens-* packages to your project, > you also > > have to wrap some classes in boot.js (that what I did 2 > years ago, > > maybe there is a better way to do this now). > > > > smalltalk.wrapClassName("Image", "Athens-Amber", Image, > > smalltalk.Object); > > smalltalk.wrapClassName("CanvasContext2D", "Athens-Amber", > > CanvasRenderingContext2D, smalltalk.Object); > > smalltalk.wrapClassName("CanvasGradient", "Athens-Amber", > > CanvasGradient, smalltalk.Object); > > > > > > > > On Fri, Jun 19, 2015 at 3:47 PM, Richard Eng > <[hidden email] > > <javascript:>> wrote: > > > > Sorry for the newbie question, but how would I go about > > installing/integrating the Athens library? I never > know what to > > do with Github. > > > > https://github.com/matthias-springer/amber-athens-library > > <https://github.com/matthias-springer/amber-athens-library> > > > > This thing hasn't been updated for over 2 years! > > > > -- > > You received this message because you are subscribed > to the > > Google Groups "amber-lang" group. > > To unsubscribe from this group and stop receiving > emails from > > it, send an email to [hidden email] > <javascript:>. > > For more options, visit > https://groups.google.com/d/optout > > <https://groups.google.com/d/optout>. > > > > > > > > > > -- > > Best regards, > > Matthias Springer > > > > Student M.Sc. IT Systems Engineering (Hasso Plattner > Institute) > > [hidden email] <javascript:> * Stahnsdorfer Straße 144b, 14482 > > Potsdam, Germany > > > > -- > > You received this message because you are subscribed to the > > Groups "amber-lang" group. > > To unsubscribe from this group and stop receiving emails from > it, send > > an email to [hidden email] > > <mailto:[hidden email]>. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google > Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, > send an email to [hidden email] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. > > > > > -- > Best regards, > Matthias Springer > > Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) > [hidden email] <mailto:[hidden email]> * Stahnsdorfer Straße 144b, 14482 > Potsdam, Germany > > -- > You received this message because you are subscribed to the Google > Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [hidden email] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by horrido
Richard Eng wrote: > Well, of course, I'm still a novice; I don't know how to write these > wrappers. Can anyone give me some tips or guidance? > > > On Friday, 19 June 2015 15:56:25 UTC-4, Herby wrote: > > > > Richard Eng wrote: > > Okay, so if I understand your repository correctly, I can ignore > > everything but the Athens files. I grab the Athens*.st files from > the > > 'st' directory (the corresponding .js files in the 'js' directory > are > > presumably auto-generated). I load these Athens packages into *my > > existing Amber installation*. Then I fiddle with boot.js and I'm > good to go? > > Except that "fiddle with boot.js" part. That should not happen - it > _must_ be done externally. Telling anyone to "fiddle with boot.js" is > the path to hell. > > Unfortunately, there's still no API that publishes class wrapping to > Smalltalk part, but if there's a need to wrap classes, it just must be > added. > > > On Friday, 19 June 2015 10:00:36 UTC-4, Matthias Springer wrote: > > > > Hi there, > > > > I have not been working on this for a while, but the latest version > > is here: https://github.com/matthias-springer/amber-athens > <https://github.com/matthias-springer/amber-athens> > > <https://github.com/matthias-springer/amber-athens > <https://github.com/matthias-springer/amber-athens>>. For an Athens > > tutorial see here: http://m-sp.org/amber-athens/ > > <http://m-sp.org/amber-athens/> (mostly copied over from the Pharo > > implementation 2 years ago). > > > > Besides adding all the Athens-* packages to your project, you also > > have to wrap some classes in boot.js (that what I did 2 years ago, > > maybe there is a better way to do this now). > > > > smalltalk.wrapClassName("Image", "Athens-Amber", Image, > > smalltalk.Object); > > smalltalk.wrapClassName("CanvasContext2D", "Athens-Amber", > > CanvasRenderingContext2D, smalltalk.Object); > > smalltalk.wrapClassName("CanvasGradient", "Athens-Amber", > > CanvasGradient, smalltalk.Object); It seems there already is a solution for that in Amber API itself: Image javascriptConstructor: Platform globals Image and similarly for other two (I'd probbaly do it in class-side initialize method). > > > > > > > > On Fri, Jun 19, 2015 at 3:47 PM, Richard Eng <[hidden email] > > <javascript:>> wrote: > > > > Sorry for the newbie question, but how would I go about > > installing/integrating the Athens library? I never know what to > > do with Github. > > > > https://github.com/matthias-springer/amber-athens-library > <https://github.com/matthias-springer/amber-athens-library> > > <https://github.com/matthias-springer/amber-athens-library > <https://github.com/matthias-springer/amber-athens-library>> > > > > This thing hasn't been updated for over 2 years! > > > > -- > > You received this message because you are subscribed to the > > Google Groups "amber-lang" group. > > To unsubscribe from this group and stop receiving emails from > > it, send an email to [hidden email] <javascript:>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout> > > <https://groups.google.com/d/optout > <https://groups.google.com/d/optout>>. > > > > > > > > > > -- > > Best regards, > > Matthias Springer > > > > Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) > > [hidden email] <javascript:> * Stahnsdorfer Straße 144b, 14482 > > Potsdam, Germany > > > > -- > > You received this message because you are subscribed to the Google > > Groups "amber-lang" group. > > To unsubscribe from this group and stop receiving emails from it, > send > > an email to [hidden email] <javascript:> > > <mailto:[hidden email] <javascript:>>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > You received this message because you are subscribed to the Google > Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [hidden email] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Herby Vojčík wrote: > > > Richard Eng wrote: >> Well, of course, I'm still a novice; I don't know how to write these >> wrappers. Can anyone give me some tips or guidance? >> >> >> On Friday, 19 June 2015 15:56:25 UTC-4, Herby wrote: >> >> >> >> Richard Eng wrote: >> > Okay, so if I understand your repository correctly, I can ignore >> > everything but the Athens files. I grab the Athens*.st files from >> the >> > 'st' directory (the corresponding .js files in the 'js' directory >> are >> > presumably auto-generated). I load these Athens packages into *my >> > existing Amber installation*. Then I fiddle with boot.js and I'm >> good to go? >> >> Except that "fiddle with boot.js" part. That should not happen - it >> _must_ be done externally. Telling anyone to "fiddle with boot.js" is >> the path to hell. >> >> Unfortunately, there's still no API that publishes class wrapping to >> Smalltalk part, but if there's a need to wrap classes, it just must be >> added. >> >> > On Friday, 19 June 2015 10:00:36 UTC-4, Matthias Springer wrote: >> > >> > Hi there, >> > >> > I have not been working on this for a while, but the latest version >> > is here: https://github.com/matthias-springer/amber-athens >> <https://github.com/matthias-springer/amber-athens> >> > <https://github.com/matthias-springer/amber-athens >> <https://github.com/matthias-springer/amber-athens>>. For an Athens >> > tutorial see here: http://m-sp.org/amber-athens/ >> > <http://m-sp.org/amber-athens/> (mostly copied over from the Pharo >> > implementation 2 years ago). >> > >> > Besides adding all the Athens-* packages to your project, you also >> > have to wrap some classes in boot.js (that what I did 2 years ago, >> > maybe there is a better way to do this now). >> > >> > smalltalk.wrapClassName("Image", "Athens-Amber", Image, >> > smalltalk.Object); >> > smalltalk.wrapClassName("CanvasContext2D", "Athens-Amber", >> > CanvasRenderingContext2D, smalltalk.Object); >> > smalltalk.wrapClassName("CanvasGradient", "Athens-Amber", >> > CanvasGradient, smalltalk.Object); > > It seems there already is a solution for that in Amber API itself: > > Image javascriptConstructor: Platform globals Image > > and similarly for other two (I'd probbaly do it in class-side initialize > method). But use the fresh release (0.14.16) as there was a bug, now fixed. >> > >> > >> > >> > On Fri, Jun 19, 2015 at 3:47 PM, Richard Eng <[hidden email] >> > <javascript:>> wrote: >> > >> > Sorry for the newbie question, but how would I go about >> > installing/integrating the Athens library? I never know what to >> > do with Github. >> > >> > https://github.com/matthias-springer/amber-athens-library >> <https://github.com/matthias-springer/amber-athens-library> >> > <https://github.com/matthias-springer/amber-athens-library >> <https://github.com/matthias-springer/amber-athens-library>> >> > >> > This thing hasn't been updated for over 2 years! >> > >> > -- >> > You received this message because you are subscribed to the >> > Google Groups "amber-lang" group. >> > To unsubscribe from this group and stop receiving emails from >> > it, send an email to [hidden email] <javascript:>. >> > For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout> >> > <https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>>. >> > >> > >> > >> > >> > -- >> > Best regards, >> > Matthias Springer >> > >> > Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) >> > [hidden email] <javascript:> * Stahnsdorfer Straße 144b, 14482 >> > Potsdam, Germany >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "amber-lang" group. >> > To unsubscribe from this group and stop receiving emails from it, >> send >> > an email to [hidden email] <javascript:> >> > <mailto:[hidden email] <javascript:>>. >> > For more options, visit https://groups.google.com/d/optout >> <https://groups.google.com/d/optout>. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "amber-lang" group. >> To unsubscribe from this group and stop receiving emails from it, send >> an email to [hidden email] >> <mailto:[hidden email]>. >> For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
In reply to this post by matthias.springer
It's not obvious how you "import" the Athens files. None of your configuration files (e.g., Gruntfile.js) even mention the Athens*.st files.
-- I copied the files over into the 'src' directory of my 'KingTut' application. Then in Gruntfile.js, I included this:
Then I ran 'grunt devel'. This didn't work. None of the Athens packages appear in the Browser. Also, I don't know the dependency order, if there's any. On Friday, 19 June 2015 15:28:40 UTC-4, Matthias Springer wrote: Exactly, that should work. If something is not working as expected let me know. You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Richard Eng wrote: > It's not obvious how you "import" the Athens files. None of your > configuration files (e.g., Gruntfile.js) even mention the Athens*.st files. You don't. First step: amber-athens should be a proper Amber library (with bower.json, local.amd.json and *.amd.json if it uses external JS libs). Second step: you use amber-athens as a library in your project(s). -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
I can build a proper Amber library, so that you can import it. Working on that now. What is the best way to get the latest Amber release ("npm install -g amber-cli@0.14.16" does not work: "version not found")? On Sat, Jun 20, 2015 at 1:58 PM, Herby Vojčík <[hidden email]> wrote:
Best regards, Matthias Springer Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) [hidden email] * Stahnsdorfer Straße 144b, 14482 Potsdam, Germany You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Matthias Springer wrote: > I can build a proper Amber library, so that you can import it. Working > on that now. What is the best way to get the latest Amber release ("npm > install -g amber-cli@0.14.16" does not work: "version not found")? 'npm -g install amber-cli' installs latest the cli, cli version != amber version If you intend to use `amber init` to start new project, this is enough. In case you want to update amber in your project, then bower install "amber@*" --save > On Sat, Jun 20, 2015 at 1:58 PM, Herby Vojčík <[hidden email] > <mailto:[hidden email]>> wrote: > > > > Richard Eng wrote: > > It's not obvious how you "import" the Athens files. None of your > configuration files (e.g., Gruntfile.js) even mention the > Athens*.st files. > > > You don't. > > > First step: amber-athens should be a proper Amber library (with > bower.json, local.amd.json and *.amd.json if it uses external JS libs). > > Second step: you use amber-athens as a library in your project(s). > > > -- > You received this message because you are subscribed to the Google > Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, > send an email to [hidden email] > <mailto:amber-lang%[hidden email]>. > For more options, visit https://groups.google.com/d/optout. > > > > > -- > Best regards, > Matthias Springer > > Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) > [hidden email] <mailto:[hidden email]> * Stahnsdorfer Straße 144b, 14482 > Potsdam, Germany > > -- > You received this message because you are subscribed to the Google > Groups "amber-lang" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [hidden email] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Herby Vojčík wrote: > > > Matthias Springer wrote: >> I can build a proper Amber library, so that you can import it. Working >> on that now. What is the best way to get the latest Amber release ("npm >> install -g amber-cli@0.14.16" does not work: "version not found")? > > 'npm -g install amber-cli' installs latest the cli, cli version != amber > version > > If you intend to use `amber init` to start new project, this is enough. > > In case you want to update amber in your project, then > > bower install "amber@*" --save bower install "amber#*" --save (bower for some reason chose to use # as version specifier) > >> On Sat, Jun 20, 2015 at 1:58 PM, Herby Vojčík <[hidden email] >> <mailto:[hidden email]>> wrote: >> >> >> >> Richard Eng wrote: >> >> It's not obvious how you "import" the Athens files. None of your >> configuration files (e.g., Gruntfile.js) even mention the >> Athens*.st files. >> >> >> You don't. >> >> >> First step: amber-athens should be a proper Amber library (with >> bower.json, local.amd.json and *.amd.json if it uses external JS libs). >> >> Second step: you use amber-athens as a library in your project(s). >> >> >> -- >> You received this message because you are subscribed to the Google >> Groups "amber-lang" group. >> To unsubscribe from this group and stop receiving emails from it, >> send an email to [hidden email] >> <mailto:amber-lang%[hidden email]>. >> For more options, visit https://groups.google.com/d/optout. >> >> >> >> >> -- >> Best regards, >> Matthias Springer >> >> Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) >> [hidden email] <mailto:[hidden email]> * Stahnsdorfer Straße 144b, 14482 >> Potsdam, Germany >> >> -- >> You received this message because you are subscribed to the Google >> Groups "amber-lang" group. >> To unsubscribe from this group and stop receiving emails from it, send >> an email to [hidden email] >> <mailto:[hidden email]>. >> For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Herby Vojčík wrote: > > > Herby Vojčík wrote: >> >> >> Matthias Springer wrote: >>> I can build a proper Amber library, so that you can import it. Working >>> on that now. What is the best way to get the latest Amber release ("npm >>> install -g amber-cli@0.14.16" does not work: "version not found")? >> >> 'npm -g install amber-cli' installs latest the cli, cli version != amber >> version >> >> If you intend to use `amber init` to start new project, this is enough. >> >> In case you want to update amber in your project, then >> >> bower install "amber@*" --save > > bower install "amber#*" --save BTW in case you want to recompile .st files from cli (for example, because the .js format is too old), it would be nice to update amber-dev npm package as well: npm install "amber-dev@*" --save-dev > (bower for some reason chose to use # as version specifier) > >> >>> On Sat, Jun 20, 2015 at 1:58 PM, Herby Vojčík <[hidden email] >>> <mailto:[hidden email]>> wrote: >>> >>> >>> >>> Richard Eng wrote: >>> >>> It's not obvious how you "import" the Athens files. None of your >>> configuration files (e.g., Gruntfile.js) even mention the >>> Athens*.st files. >>> >>> >>> You don't. >>> >>> >>> First step: amber-athens should be a proper Amber library (with >>> bower.json, local.amd.json and *.amd.json if it uses external JS libs). >>> >>> Second step: you use amber-athens as a library in your project(s). >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "amber-lang" group. >>> To unsubscribe from this group and stop receiving emails from it, >>> send an email to [hidden email] >>> <mailto:amber-lang%[hidden email]>. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> >>> >>> -- >>> Best regards, >>> Matthias Springer >>> >>> Student M.Sc. IT Systems Engineering (Hasso Plattner Institute) >>> [hidden email] <mailto:[hidden email]> * Stahnsdorfer Straße 144b, 14482 >>> Potsdam, Germany >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "amber-lang" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [hidden email] >>> <mailto:[hidden email]>. >>> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "amber-lang" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. For more options, visit https://groups.google.com/d/optout. |
Free forum by Nabble | Edit this page |