Package disappeared after closing and re-opening Helios

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Package disappeared after closing and re-opening Helios

sciolizer
Hi,

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

https://github.com/sciolizer/zendo-amber/tree/95d762612b9c7d45fcc46f9571004d63ed72dbd8

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

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Package disappeared after closing and re-opening Helios

philippeback
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

On Thu, Mar 19, 2015 at 3:19 AM, Joshua Ball <[hidden email]> wrote:

> Hi,
>
> I'm playing around with amber for the first time. My code is here:
>
> https://github.com/sciolizer/zendo-amber/tree/95d762612b9c7d45fcc46f9571004d63ed72dbd8
>
> 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
>
> --
> 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.

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Package disappeared after closing and re-opening Helios

philippeback
In reply to this post by sciolizer
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

--
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.

Helios.png (167K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Package disappeared after closing and re-opening Helios

Herby Vojčík
In reply to this post by philippeback


[hidden email] 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.

> You should be good to go.
>
> Phil
>
> On Thu, Mar 19, 2015 at 3:19 AM, Joshua Ball<[hidden email]>  wrote:
>> Hi,
>>
>> I'm playing around with amber for the first time. My code is here:
>>
>> https://github.com/sciolizer/zendo-amber/tree/95d762612b9c7d45fcc46f9571004d63ed72dbd8
>>
>> 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
>>
>> --
>> 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.
>

--
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.
Reply | Threaded
Open this post in threaded view
|

Re: Package disappeared after closing and re-opening Helios

sciolizer
Worked great. Thanks you so much!

On Thu, Mar 19, 2015 at 3:08 AM, Herby Vojčík <[hidden email]> wrote:


[hidden email] 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.


You should be good to go.

Phil

On Thu, Mar 19, 2015 at 3:19 AM, Joshua Ball<[hidden email]>  wrote:
Hi,

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

https://github.com/sciolizer/zendo-amber/tree/95d762612b9c7d45fcc46f9571004d63ed72dbd8

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

--
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.


--
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 [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.