Package disappeared after closing and re-opening Helios

15 views
Skip to first unread message

Joshua Ball

unread,
Mar 18, 2015, 10:19:34 PM3/18/15
to amber...@googlegroups.com
Hi,

I'm playing around with amber for the first time. My code is here:


The main package of the app is called "Zendo", but I created two more packages called "Boomerang" and "Boomerang-Tests". I committed the packages, and I can see that my changes are saved in `src/Boomerang.st`. However, when I start Helios (from `amber serve`), the "Boomerang" and "Boomerang-Tests" packages do not appear in the class browser.

I tried adding them to the require line in index.html:

    require(['app', 'src/Boomerang', 'src/Boomerang-Tests', 'src/Zendo', 'src/Zendo-Tests'], function (amber) { ... });

I see no errors in the terminal where I'm running `amber serve`, and I don't see any errors in Chrome's javascript console, either. So I think I have the `require` line right, but the Boomerang packages still do not appear in the Helios class browser.

What am I missing?

Thanks,
Josh "Ua" Ball

ph...@highoctane.be

unread,
Mar 19, 2015, 4:13:20 AM3/19/15
to amber...@googlegroups.com
Hi Joshua,


You must add them to the deploy.js file (tests in the devel.js file).

Then do a grunt devel to rebuild the config.js

You should be good to go.

Phil
> --
> 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 amber-lang+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

ph...@highoctane.be

unread,
Mar 19, 2015, 4:31:11 AM3/19/15
to amber...@googlegroups.com
I cloned the repo and issued a PR with some explanations.

https://github.com/sciolizer/zendo-amber/pull/1

Works on my side.

Enjoy Amber :-)
Phil
Helios.png

Herby Vojčík

unread,
Mar 19, 2015, 6:08:13 AM3/19/15
to amber...@googlegroups.com


ph...@highoctane.be wrote:
> Hi Joshua,
>
>
> You must add them to the deploy.js file (tests in the devel.js file).
>
> Then do a grunt devel to rebuild the config.js

And remove them from the require call so it is same as before.

Joshua Ball

unread,
Mar 20, 2015, 12:11:07 AM3/20/15
to amber...@googlegroups.com
Worked great. Thanks you so much!


For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to a topic in the Google Groups "amber-lang" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/amber-lang/R73FJUo9P3w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to amber-lang+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages