Well, it depends on what you mean by "dependency".  Basic components shouldn't 
have compile-time dependencies on their models, views and controllers.  Or what 
children you put in containers.  But at runtime you need to supply a valid 
model, view or controller.  You shouldn't have to supply one from Basic if you 
have another one that does the equivalent thing.  Default beads are loosely 
coupled to the component via defaults.css.  The compiler will build the SWCs 
just fine, but when building the app, that's when it will check that the 
classes specified in the defaults.css actually exist.

HTH,
-Alex

On 5/3/18, 10:47 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" 
<carlos.rov...@gmail.com on behalf of carlosrov...@apache.org> wrote:

    Hi,
    
    I think I was too optimistic here. I was looking at JewelExample code and I
    have more Basic dependencies, like "View"
    But I'm very confused that after remove all "Basic" pom dependencies all is
    compiling correctly.
    I check parent poms, searching for "Basic" and I didn't find it...so how is
    this magic going on? :?
    I'm missing something? thoughts?
    
    thanks
    
    Carlos
    
    
    2018-05-03 19:33 GMT+02:00 Carlos Rovira <carlosrov...@apache.org>:
    
    > Hi,
    >
    > I'm really amazed that I can get rid of Basic so easily.
    > Just moved UIBase and HTMLElementWrapper to Core and that's it, I removed
    > Basic dependency from Jewel projects, and I though I would have to deal
    > with more dependencies not found...but that not happen :?...
    >
    > That proves that Royale is really well architected. Huge congrats to all
    > of you that make it possible! Specially Alex and Peter!
    >
    > Best,
    >
    > --
    > Carlos Rovira
    > 
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cefd67b5205c343f320b908d5b1828389%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636610096469840745&sdata=9Cpzeqk6J48BjW6FnHAe%2FySXhrkEV9%2BvzJ5ugTHwHKM%3D&reserved=0
    >
    >
    
    
    -- 
    Carlos Rovira
    
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cefd67b5205c343f320b908d5b1828389%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636610096469840745&sdata=9Cpzeqk6J48BjW6FnHAe%2FySXhrkEV9%2BvzJ5ugTHwHKM%3D&reserved=0
    

Reply via email to