You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2018/02/13 11:20:20 UTC

How I can use multiple CSS files

Hi,

I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme (first
theme) - VividExample (example to show all working)

I want to develop each component look-and-feel and style in a single file
in the theme project:

default.css (this could hold global styling like body, headers, background
color, and more)
TextField.css (all css to make a TextField be represented in a particular
way)
Button.css
Slider.css
...

in my theme pom I have:

<includeFiles>
<include-file>
<name>defaults.css</name>
<path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>TextField.css</name>
<path>../src/main/resources/TextField.css</path>
</include-file>
</includeFiles>

and I check the resulting VividBlueTheme.swc and has default.css and
TextField.css

* First question here is: Can I collapse all css content in multiple files
in a single .css (i.e: defaults.css or themename.css)?

Then in vivid example how CSS in theme projects are referenced? I see
"defaults.css" is begin applied, but "TextField.css" is not

* Second question how to apply a included .css file to be used in example

Notice that if we get all css in one single file we don't need the second
part.

Hope you could help me on this in order to continue progress with this
effort

thanks




-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Piotr Zarzycki <pi...@gmail.com>.
I copied build files to my Mac and it's working on Safari and Chrome.

2018-02-22 9:51 GMT+01:00 Carlos Rovira <ca...@apache.org>:

> Hi Alex,
>
> I think I must explain why I don't follow your suggetion of using println,
> so you understand me and my own situation.
>
> First, I don't know too much about the compiler part, so don't know in
> which class I must put that print.
> (in the end, if you want contributors like me make this you must provided
> more info since I don't not exactly what you want from me to do)
> then I don't have my environment setup for java debugging. In the end, my
> day-by-day work doesn't requiere too much coding anymore
> since I'm managing a company and this makes me to use docs, sheets and
> other managing tools, and be part of the day off in meetings,
> comercial task, talking with customers, employees, providers...and in the
> end, in whatever I could be required to make things "flow".
>
> So I really enjoy contributing to Royale, and for this reason I try to get
> times here and there to work on things for royale.
> But I can't do things I'm not prepared to, maybe because is not my area of
> expertise, or it will make so difficult to me that will make me invest
> huge amount of time I don't have.
>
> It's like if I require you to do things in other areas that you don't use
> to touch and doesn't have tools right now installed, or doesn't have the
> exepertise, maybe
> you could end doing, but the problem is how much time you must invest to
> learn what I requiere you to do, and how many things have to install and
> try to end with the
> expected result
>
> Hope you understand that. Is not that I don't want to do that, it's a mix
> of not knowing what to do, and where to do,
> and be not prepared to do what you are proposing.
>
> Having said that I'll try today to make another cleaning of things and try
> again to rebuild all to see if this work, since the problem seems to be on
> my part.
> If I don't get it to work, I'll assume that something in royale is not
> working properly for 100% of cases, maybe some maven config or whatever
> that
> given a concrete situation in devs machine make it work in unexpected way
> (wich are bugs very difficult to find).
>
> I'll keep you informed as I get all cleaned and rebuild
>
>
>
>
> 2018-02-21 23:47 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
> > Carlos, I'm using a Mac.  We've seen it work now on two computers with
> > different operating systems.
> >
> > For the 4th time:  Did you try the System.out.println test?
> >
> > -Alex
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
> >
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr,

yes, ok, this is the right one. I tried rebase and is working fine. The
other branch is corrupted if I try to make rebase wiich I use mostly to
keep branch as clean as possible and always on top of develop
thanks

2018-02-22 13:29 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Carlos,
>
> Let's use this new branch feature/vivid-ui-set. I did setup for that
> pipeline [1]. Remove maybe the old one.
>
> [1]
> https://builds.apache.org/job/Royale%20Pipeline/job/feature%
> 252Fvivid-ui-set/
>
> 2018-02-22 11:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> > That's the problem with Mac for me which I cannot understand. I saw many
> > times on the users sight that something was cached etc. and it's not
> > working even after update. :) I'm Windows user mostly and very rarely
> > experience such things.
> >
> > I'm glad that you got it working. I hope to look into your work very
> soon.
> > :)
> >
> > Thanks, Piotr
> >
> > 2018-02-22 11:13 GMT+01:00 Carlos Rovira <ca...@apache.org>:
> >
> >> HI Alex, Piotr,
> >> final I got it working!
> >> why it was falling is a mystery to me. I updated brew, maven, clean
> again
> >> .m2 repo.
> >> I restart the Mac (maybe something was locked and need a restart)
> >>
> >> Anyway, it seems to work now, so I'm again on the road.
> >>
> >> Thank you all for the support! :)
> >>
> >>
> >> 2018-02-22 10:42 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>
> >> > Hi Carlos,
> >> >
> >> > Several posts ago I wrote the following:
> >> >
> >> > "The file I changed in royale-compiler is CSSManager.java.  Add a
> >> > System.out.println("This is Carlos's local copy"); at the beginning of
> >> > getCSSFromThemes.  Delete the compiler jars from your local repo and
> >> > rebuild the compiler then the framework and example.  You should see
> >> your
> >> > println in the output.  If you don't then for some reason you are
> >> pulling
> >> > the wrong one.  The console output for the compiler should show that
> it
> >> > put the jars in the local repo.  The console output for framework
> and/or
> >> > examples should show where it got the compiler jars."
> >> >
> >> > I'm not sure how to help you more than that.
> >> >
> >> > I appreciate all of the contributions you've made to Royale, and that
> >> you
> >> > have limited time, but we all have to work as efficiently as possible
> to
> >> > get the most done in the time we have.  It is not efficient for me to
> >> > interrupt what I'm doing to work on what you want me to do and then
> try
> >> to
> >> > get back to what I was working on, and it is not efficient for me to
> >> guess
> >> > what might be going on with your computer.  You will have to do most
> of
> >> > this investigation yourself.  And by doing so, you will hopefully
> learn
> >> > something that can help you some day in the future, and that will make
> >> all
> >> > of us more productive.  Yes, that means in the short term you may not
> >> get
> >> > as much done as you would like, but if we don't distribute the
> knowledge
> >> > and work, the project simply will not scale.
> >> >
> >> > My 2 cents,
> >> > -Alex
> >> >
> >> >
> >> >
> >> > On 2/22/18, 12:51 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >> Rovira"
> >> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >> >
> >> > >Hi Alex,
> >> > >
> >> > >I think I must explain why I don't follow your suggetion of using
> >> println,
> >> > >so you understand me and my own situation.
> >> > >
> >> > >First, I don't know too much about the compiler part, so don't know
> in
> >> > >which class I must put that print.
> >> > >(in the end, if you want contributors like me make this you must
> >> provided
> >> > >more info since I don't not exactly what you want from me to do)
> >> > >then I don't have my environment setup for java debugging. In the
> end,
> >> my
> >> > >day-by-day work doesn't requiere too much coding anymore
> >> > >since I'm managing a company and this makes me to use docs, sheets
> and
> >> > >other managing tools, and be part of the day off in meetings,
> >> > >comercial task, talking with customers, employees, providers...and in
> >> the
> >> > >end, in whatever I could be required to make things "flow".
> >> > >
> >> > >So I really enjoy contributing to Royale, and for this reason I try
> to
> >> get
> >> > >times here and there to work on things for royale.
> >> > >But I can't do things I'm not prepared to, maybe because is not my
> >> area of
> >> > >expertise, or it will make so difficult to me that will make me
> invest
> >> > >huge amount of time I don't have.
> >> > >
> >> > >It's like if I require you to do things in other areas that you don't
> >> use
> >> > >to touch and doesn't have tools right now installed, or doesn't have
> >> the
> >> > >exepertise, maybe
> >> > >you could end doing, but the problem is how much time you must invest
> >> to
> >> > >learn what I requiere you to do, and how many things have to install
> >> and
> >> > >try to end with the
> >> > >expected result
> >> > >
> >> > >Hope you understand that. Is not that I don't want to do that, it's a
> >> mix
> >> > >of not knowing what to do, and where to do,
> >> > >and be not prepared to do what you are proposing.
> >> > >
> >> > >Having said that I'll try today to make another cleaning of things
> and
> >> try
> >> > >again to rebuild all to see if this work, since the problem seems to
> >> be on
> >> > >my part.
> >> > >If I don't get it to work, I'll assume that something in royale is
> not
> >> > >working properly for 100% of cases, maybe some maven config or
> whatever
> >> > >that
> >> > >given a concrete situation in devs machine make it work in unexpected
> >> way
> >> > >(wich are bugs very difficult to find).
> >> > >
> >> > >I'll keep you informed as I get all cleaned and rebuild
> >> > >
> >> > >
> >> > >
> >> > >
> >> > >2018-02-21 23:47 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> > >
> >> > >> Carlos, I'm using a Mac.  We've seen it work now on two computers
> >> with
> >> > >> different operating systems.
> >> > >>
> >> > >> For the 4th time:  Did you try the System.out.println test?
> >> > >>
> >> > >> -Alex
> >> > >>
> >> > >> --
> >> > >> Carlos Rovira
> >> > >>
> >> > >>https://na01.safelinks.protection.outlook.com/?url=
> >> > http%3A%2F%2Fabout.me%
> >> > >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> > 7Ccfbf9e88c4a249ac837e08
> >> > >>d579d185f2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> > 7C63654886316916327
> >> > >>6&sdata=IzftNUoe22bDlCrz55vscC7u%2FAuJrBgVRku15DobVq0%3D&reserved=0
> >> > >>
> >> > >>
> >> > >>
> >> >
> >> >
> >>
> >>
> >> --
> >> Carlos Rovira
> >> http://about.me/carlosrovira
> >>
> >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Piotr Zarzycki <pi...@gmail.com>.
Carlos,

Let's use this new branch feature/vivid-ui-set. I did setup for that
pipeline [1]. Remove maybe the old one.

[1]
https://builds.apache.org/job/Royale%20Pipeline/job/feature%252Fvivid-ui-set/

2018-02-22 11:19 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> That's the problem with Mac for me which I cannot understand. I saw many
> times on the users sight that something was cached etc. and it's not
> working even after update. :) I'm Windows user mostly and very rarely
> experience such things.
>
> I'm glad that you got it working. I hope to look into your work very soon.
> :)
>
> Thanks, Piotr
>
> 2018-02-22 11:13 GMT+01:00 Carlos Rovira <ca...@apache.org>:
>
>> HI Alex, Piotr,
>> final I got it working!
>> why it was falling is a mystery to me. I updated brew, maven, clean again
>> .m2 repo.
>> I restart the Mac (maybe something was locked and need a restart)
>>
>> Anyway, it seems to work now, so I'm again on the road.
>>
>> Thank you all for the support! :)
>>
>>
>> 2018-02-22 10:42 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>
>> > Hi Carlos,
>> >
>> > Several posts ago I wrote the following:
>> >
>> > "The file I changed in royale-compiler is CSSManager.java.  Add a
>> > System.out.println("This is Carlos's local copy"); at the beginning of
>> > getCSSFromThemes.  Delete the compiler jars from your local repo and
>> > rebuild the compiler then the framework and example.  You should see
>> your
>> > println in the output.  If you don't then for some reason you are
>> pulling
>> > the wrong one.  The console output for the compiler should show that it
>> > put the jars in the local repo.  The console output for framework and/or
>> > examples should show where it got the compiler jars."
>> >
>> > I'm not sure how to help you more than that.
>> >
>> > I appreciate all of the contributions you've made to Royale, and that
>> you
>> > have limited time, but we all have to work as efficiently as possible to
>> > get the most done in the time we have.  It is not efficient for me to
>> > interrupt what I'm doing to work on what you want me to do and then try
>> to
>> > get back to what I was working on, and it is not efficient for me to
>> guess
>> > what might be going on with your computer.  You will have to do most of
>> > this investigation yourself.  And by doing so, you will hopefully learn
>> > something that can help you some day in the future, and that will make
>> all
>> > of us more productive.  Yes, that means in the short term you may not
>> get
>> > as much done as you would like, but if we don't distribute the knowledge
>> > and work, the project simply will not scale.
>> >
>> > My 2 cents,
>> > -Alex
>> >
>> >
>> >
>> > On 2/22/18, 12:51 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> Rovira"
>> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>> >
>> > >Hi Alex,
>> > >
>> > >I think I must explain why I don't follow your suggetion of using
>> println,
>> > >so you understand me and my own situation.
>> > >
>> > >First, I don't know too much about the compiler part, so don't know in
>> > >which class I must put that print.
>> > >(in the end, if you want contributors like me make this you must
>> provided
>> > >more info since I don't not exactly what you want from me to do)
>> > >then I don't have my environment setup for java debugging. In the end,
>> my
>> > >day-by-day work doesn't requiere too much coding anymore
>> > >since I'm managing a company and this makes me to use docs, sheets and
>> > >other managing tools, and be part of the day off in meetings,
>> > >comercial task, talking with customers, employees, providers...and in
>> the
>> > >end, in whatever I could be required to make things "flow".
>> > >
>> > >So I really enjoy contributing to Royale, and for this reason I try to
>> get
>> > >times here and there to work on things for royale.
>> > >But I can't do things I'm not prepared to, maybe because is not my
>> area of
>> > >expertise, or it will make so difficult to me that will make me invest
>> > >huge amount of time I don't have.
>> > >
>> > >It's like if I require you to do things in other areas that you don't
>> use
>> > >to touch and doesn't have tools right now installed, or doesn't have
>> the
>> > >exepertise, maybe
>> > >you could end doing, but the problem is how much time you must invest
>> to
>> > >learn what I requiere you to do, and how many things have to install
>> and
>> > >try to end with the
>> > >expected result
>> > >
>> > >Hope you understand that. Is not that I don't want to do that, it's a
>> mix
>> > >of not knowing what to do, and where to do,
>> > >and be not prepared to do what you are proposing.
>> > >
>> > >Having said that I'll try today to make another cleaning of things and
>> try
>> > >again to rebuild all to see if this work, since the problem seems to
>> be on
>> > >my part.
>> > >If I don't get it to work, I'll assume that something in royale is not
>> > >working properly for 100% of cases, maybe some maven config or whatever
>> > >that
>> > >given a concrete situation in devs machine make it work in unexpected
>> way
>> > >(wich are bugs very difficult to find).
>> > >
>> > >I'll keep you informed as I get all cleaned and rebuild
>> > >
>> > >
>> > >
>> > >
>> > >2018-02-21 23:47 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> > >
>> > >> Carlos, I'm using a Mac.  We've seen it work now on two computers
>> with
>> > >> different operating systems.
>> > >>
>> > >> For the 4th time:  Did you try the System.out.println test?
>> > >>
>> > >> -Alex
>> > >>
>> > >> --
>> > >> Carlos Rovira
>> > >>
>> > >>https://na01.safelinks.protection.outlook.com/?url=
>> > http%3A%2F%2Fabout.me%
>> > >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> > 7Ccfbf9e88c4a249ac837e08
>> > >>d579d185f2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> > 7C63654886316916327
>> > >>6&sdata=IzftNUoe22bDlCrz55vscC7u%2FAuJrBgVRku15DobVq0%3D&reserved=0
>> > >>
>> > >>
>> > >>
>> >
>> >
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How I can use multiple CSS files

Posted by Piotr Zarzycki <pi...@gmail.com>.
That's the problem with Mac for me which I cannot understand. I saw many
times on the users sight that something was cached etc. and it's not
working even after update. :) I'm Windows user mostly and very rarely
experience such things.

I'm glad that you got it working. I hope to look into your work very soon.
:)

Thanks, Piotr

2018-02-22 11:13 GMT+01:00 Carlos Rovira <ca...@apache.org>:

> HI Alex, Piotr,
> final I got it working!
> why it was falling is a mystery to me. I updated brew, maven, clean again
> .m2 repo.
> I restart the Mac (maybe something was locked and need a restart)
>
> Anyway, it seems to work now, so I'm again on the road.
>
> Thank you all for the support! :)
>
>
> 2018-02-22 10:42 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
> > Hi Carlos,
> >
> > Several posts ago I wrote the following:
> >
> > "The file I changed in royale-compiler is CSSManager.java.  Add a
> > System.out.println("This is Carlos's local copy"); at the beginning of
> > getCSSFromThemes.  Delete the compiler jars from your local repo and
> > rebuild the compiler then the framework and example.  You should see your
> > println in the output.  If you don't then for some reason you are pulling
> > the wrong one.  The console output for the compiler should show that it
> > put the jars in the local repo.  The console output for framework and/or
> > examples should show where it got the compiler jars."
> >
> > I'm not sure how to help you more than that.
> >
> > I appreciate all of the contributions you've made to Royale, and that you
> > have limited time, but we all have to work as efficiently as possible to
> > get the most done in the time we have.  It is not efficient for me to
> > interrupt what I'm doing to work on what you want me to do and then try
> to
> > get back to what I was working on, and it is not efficient for me to
> guess
> > what might be going on with your computer.  You will have to do most of
> > this investigation yourself.  And by doing so, you will hopefully learn
> > something that can help you some day in the future, and that will make
> all
> > of us more productive.  Yes, that means in the short term you may not get
> > as much done as you would like, but if we don't distribute the knowledge
> > and work, the project simply will not scale.
> >
> > My 2 cents,
> > -Alex
> >
> >
> >
> > On 2/22/18, 12:51 AM, "carlos.rovira@gmail.com on behalf of Carlos
> Rovira"
> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >
> > >Hi Alex,
> > >
> > >I think I must explain why I don't follow your suggetion of using
> println,
> > >so you understand me and my own situation.
> > >
> > >First, I don't know too much about the compiler part, so don't know in
> > >which class I must put that print.
> > >(in the end, if you want contributors like me make this you must
> provided
> > >more info since I don't not exactly what you want from me to do)
> > >then I don't have my environment setup for java debugging. In the end,
> my
> > >day-by-day work doesn't requiere too much coding anymore
> > >since I'm managing a company and this makes me to use docs, sheets and
> > >other managing tools, and be part of the day off in meetings,
> > >comercial task, talking with customers, employees, providers...and in
> the
> > >end, in whatever I could be required to make things "flow".
> > >
> > >So I really enjoy contributing to Royale, and for this reason I try to
> get
> > >times here and there to work on things for royale.
> > >But I can't do things I'm not prepared to, maybe because is not my area
> of
> > >expertise, or it will make so difficult to me that will make me invest
> > >huge amount of time I don't have.
> > >
> > >It's like if I require you to do things in other areas that you don't
> use
> > >to touch and doesn't have tools right now installed, or doesn't have the
> > >exepertise, maybe
> > >you could end doing, but the problem is how much time you must invest to
> > >learn what I requiere you to do, and how many things have to install and
> > >try to end with the
> > >expected result
> > >
> > >Hope you understand that. Is not that I don't want to do that, it's a
> mix
> > >of not knowing what to do, and where to do,
> > >and be not prepared to do what you are proposing.
> > >
> > >Having said that I'll try today to make another cleaning of things and
> try
> > >again to rebuild all to see if this work, since the problem seems to be
> on
> > >my part.
> > >If I don't get it to work, I'll assume that something in royale is not
> > >working properly for 100% of cases, maybe some maven config or whatever
> > >that
> > >given a concrete situation in devs machine make it work in unexpected
> way
> > >(wich are bugs very difficult to find).
> > >
> > >I'll keep you informed as I get all cleaned and rebuild
> > >
> > >
> > >
> > >
> > >2018-02-21 23:47 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >
> > >> Carlos, I'm using a Mac.  We've seen it work now on two computers with
> > >> different operating systems.
> > >>
> > >> For the 4th time:  Did you try the System.out.println test?
> > >>
> > >> -Alex
> > >>
> > >> --
> > >> Carlos Rovira
> > >>
> > >>https://na01.safelinks.protection.outlook.com/?url=
> > http%3A%2F%2Fabout.me%
> > >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > 7Ccfbf9e88c4a249ac837e08
> > >>d579d185f2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > 7C63654886316916327
> > >>6&sdata=IzftNUoe22bDlCrz55vscC7u%2FAuJrBgVRku15DobVq0%3D&reserved=0
> > >>
> > >>
> > >>
> >
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
HI Alex, Piotr,
final I got it working!
why it was falling is a mystery to me. I updated brew, maven, clean again
.m2 repo.
I restart the Mac (maybe something was locked and need a restart)

Anyway, it seems to work now, so I'm again on the road.

Thank you all for the support! :)


2018-02-22 10:42 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Hi Carlos,
>
> Several posts ago I wrote the following:
>
> "The file I changed in royale-compiler is CSSManager.java.  Add a
> System.out.println("This is Carlos's local copy"); at the beginning of
> getCSSFromThemes.  Delete the compiler jars from your local repo and
> rebuild the compiler then the framework and example.  You should see your
> println in the output.  If you don't then for some reason you are pulling
> the wrong one.  The console output for the compiler should show that it
> put the jars in the local repo.  The console output for framework and/or
> examples should show where it got the compiler jars."
>
> I'm not sure how to help you more than that.
>
> I appreciate all of the contributions you've made to Royale, and that you
> have limited time, but we all have to work as efficiently as possible to
> get the most done in the time we have.  It is not efficient for me to
> interrupt what I'm doing to work on what you want me to do and then try to
> get back to what I was working on, and it is not efficient for me to guess
> what might be going on with your computer.  You will have to do most of
> this investigation yourself.  And by doing so, you will hopefully learn
> something that can help you some day in the future, and that will make all
> of us more productive.  Yes, that means in the short term you may not get
> as much done as you would like, but if we don't distribute the knowledge
> and work, the project simply will not scale.
>
> My 2 cents,
> -Alex
>
>
>
> On 2/22/18, 12:51 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Alex,
> >
> >I think I must explain why I don't follow your suggetion of using println,
> >so you understand me and my own situation.
> >
> >First, I don't know too much about the compiler part, so don't know in
> >which class I must put that print.
> >(in the end, if you want contributors like me make this you must provided
> >more info since I don't not exactly what you want from me to do)
> >then I don't have my environment setup for java debugging. In the end, my
> >day-by-day work doesn't requiere too much coding anymore
> >since I'm managing a company and this makes me to use docs, sheets and
> >other managing tools, and be part of the day off in meetings,
> >comercial task, talking with customers, employees, providers...and in the
> >end, in whatever I could be required to make things "flow".
> >
> >So I really enjoy contributing to Royale, and for this reason I try to get
> >times here and there to work on things for royale.
> >But I can't do things I'm not prepared to, maybe because is not my area of
> >expertise, or it will make so difficult to me that will make me invest
> >huge amount of time I don't have.
> >
> >It's like if I require you to do things in other areas that you don't use
> >to touch and doesn't have tools right now installed, or doesn't have the
> >exepertise, maybe
> >you could end doing, but the problem is how much time you must invest to
> >learn what I requiere you to do, and how many things have to install and
> >try to end with the
> >expected result
> >
> >Hope you understand that. Is not that I don't want to do that, it's a mix
> >of not knowing what to do, and where to do,
> >and be not prepared to do what you are proposing.
> >
> >Having said that I'll try today to make another cleaning of things and try
> >again to rebuild all to see if this work, since the problem seems to be on
> >my part.
> >If I don't get it to work, I'll assume that something in royale is not
> >working properly for 100% of cases, maybe some maven config or whatever
> >that
> >given a concrete situation in devs machine make it work in unexpected way
> >(wich are bugs very difficult to find).
> >
> >I'll keep you informed as I get all cleaned and rebuild
> >
> >
> >
> >
> >2018-02-21 23:47 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> Carlos, I'm using a Mac.  We've seen it work now on two computers with
> >> different operating systems.
> >>
> >> For the 4th time:  Did you try the System.out.println test?
> >>
> >> -Alex
> >>
> >> --
> >> Carlos Rovira
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%
> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7Ccfbf9e88c4a249ac837e08
> >>d579d185f2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C63654886316916327
> >>6&sdata=IzftNUoe22bDlCrz55vscC7u%2FAuJrBgVRku15DobVq0%3D&reserved=0
> >>
> >>
> >>
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Carlos,

Several posts ago I wrote the following:

"The file I changed in royale-compiler is CSSManager.java.  Add a
System.out.println("This is Carlos's local copy"); at the beginning of
getCSSFromThemes.  Delete the compiler jars from your local repo and
rebuild the compiler then the framework and example.  You should see your
println in the output.  If you don't then for some reason you are pulling
the wrong one.  The console output for the compiler should show that it
put the jars in the local repo.  The console output for framework and/or
examples should show where it got the compiler jars."

I'm not sure how to help you more than that.

I appreciate all of the contributions you've made to Royale, and that you
have limited time, but we all have to work as efficiently as possible to
get the most done in the time we have.  It is not efficient for me to
interrupt what I'm doing to work on what you want me to do and then try to
get back to what I was working on, and it is not efficient for me to guess
what might be going on with your computer.  You will have to do most of
this investigation yourself.  And by doing so, you will hopefully learn
something that can help you some day in the future, and that will make all
of us more productive.  Yes, that means in the short term you may not get
as much done as you would like, but if we don't distribute the knowledge
and work, the project simply will not scale.

My 2 cents,
-Alex



On 2/22/18, 12:51 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex,
>
>I think I must explain why I don't follow your suggetion of using println,
>so you understand me and my own situation.
>
>First, I don't know too much about the compiler part, so don't know in
>which class I must put that print.
>(in the end, if you want contributors like me make this you must provided
>more info since I don't not exactly what you want from me to do)
>then I don't have my environment setup for java debugging. In the end, my
>day-by-day work doesn't requiere too much coding anymore
>since I'm managing a company and this makes me to use docs, sheets and
>other managing tools, and be part of the day off in meetings,
>comercial task, talking with customers, employees, providers...and in the
>end, in whatever I could be required to make things "flow".
>
>So I really enjoy contributing to Royale, and for this reason I try to get
>times here and there to work on things for royale.
>But I can't do things I'm not prepared to, maybe because is not my area of
>expertise, or it will make so difficult to me that will make me invest
>huge amount of time I don't have.
>
>It's like if I require you to do things in other areas that you don't use
>to touch and doesn't have tools right now installed, or doesn't have the
>exepertise, maybe
>you could end doing, but the problem is how much time you must invest to
>learn what I requiere you to do, and how many things have to install and
>try to end with the
>expected result
>
>Hope you understand that. Is not that I don't want to do that, it's a mix
>of not knowing what to do, and where to do,
>and be not prepared to do what you are proposing.
>
>Having said that I'll try today to make another cleaning of things and try
>again to rebuild all to see if this work, since the problem seems to be on
>my part.
>If I don't get it to work, I'll assume that something in royale is not
>working properly for 100% of cases, maybe some maven config or whatever
>that
>given a concrete situation in devs machine make it work in unexpected way
>(wich are bugs very difficult to find).
>
>I'll keep you informed as I get all cleaned and rebuild
>
>
>
>
>2018-02-21 23:47 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Carlos, I'm using a Mac.  We've seen it work now on two computers with
>> different operating systems.
>>
>> For the 4th time:  Did you try the System.out.println test?
>>
>> -Alex
>>
>> --
>> Carlos Rovira
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ccfbf9e88c4a249ac837e08
>>d579d185f2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63654886316916327
>>6&sdata=IzftNUoe22bDlCrz55vscC7u%2FAuJrBgVRku15DobVq0%3D&reserved=0
>>
>>
>>


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

I think I must explain why I don't follow your suggetion of using println,
so you understand me and my own situation.

First, I don't know too much about the compiler part, so don't know in
which class I must put that print.
(in the end, if you want contributors like me make this you must provided
more info since I don't not exactly what you want from me to do)
then I don't have my environment setup for java debugging. In the end, my
day-by-day work doesn't requiere too much coding anymore
since I'm managing a company and this makes me to use docs, sheets and
other managing tools, and be part of the day off in meetings,
comercial task, talking with customers, employees, providers...and in the
end, in whatever I could be required to make things "flow".

So I really enjoy contributing to Royale, and for this reason I try to get
times here and there to work on things for royale.
But I can't do things I'm not prepared to, maybe because is not my area of
expertise, or it will make so difficult to me that will make me invest
huge amount of time I don't have.

It's like if I require you to do things in other areas that you don't use
to touch and doesn't have tools right now installed, or doesn't have the
exepertise, maybe
you could end doing, but the problem is how much time you must invest to
learn what I requiere you to do, and how many things have to install and
try to end with the
expected result

Hope you understand that. Is not that I don't want to do that, it's a mix
of not knowing what to do, and where to do,
and be not prepared to do what you are proposing.

Having said that I'll try today to make another cleaning of things and try
again to rebuild all to see if this work, since the problem seems to be on
my part.
If I don't get it to work, I'll assume that something in royale is not
working properly for 100% of cases, maybe some maven config or whatever that
given a concrete situation in devs machine make it work in unexpected way
(wich are bugs very difficult to find).

I'll keep you informed as I get all cleaned and rebuild




2018-02-21 23:47 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Carlos, I'm using a Mac.  We've seen it work now on two computers with
> different operating systems.
>
> For the 4th time:  Did you try the System.out.println test?
>
> -Alex
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Carlos, I'm using a Mac.  We've seen it work now on two computers with
different operating systems.

For the 4th time:  Did you try the System.out.println test?

-Alex

On 2/21/18, 2:43 PM, "Carlos Rovira" <ca...@apache.org> wrote:

>Hi Piotr
>That’s good! Although disturbing since I can get it to work!
>Please notify me as soon as you try mac version and we can talk depending
>on results to see how make it work on mu side
>
>Thanks for looking into this!!
>
>Carlos
>
>El El mié, 21 feb 2018 a las 19:30, piotrz <pi...@apache.org> escribió:
>
>> Carlos,
>>
>> I just realized that yesterday I was on wrong branch in case of
>>Compiler. I
>> just compiled everything once again using new branch
>> "feature/vivid-ui-set".
>> It looks like it's working for me. I'm on Windows 10. I will check
>>whether
>> application is working on my Mac - tomorrow.
>>
>> Maybe you need to clean your cache or something like that.
>>
>> Screenshot:
>> <
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro
>>yale-development.20373.n8.nabble.com%2Ffile%2Ft1%2Fui_textfield.png&data=
>>02%7C01%7Caharui%40adobe.com%7Cd1120475208a492281eb08d5797c9344%7Cfa7b1b5
>>a7b34438794aed2c178decee1%7C0%7C0%7C636548498309863585&sdata=oDRrRjH8KYZN
>>XE5biXhLC8wMeZLQSrx5MxKhtR7pcio%3D&reserved=0
>> >
>>
>> Thanks,
>> Piotr
>>
>>
>>
>> --
>> Sent from: 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-ro
>>yale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com
>>%7Cd1120475208a492281eb08d5797c9344%7Cfa7b1b5a7b34438794aed2c178decee1%7C
>>0%7C0%7C636548498309863585&sdata=el5SdFELdPqQO2cj3h%2BmyNPSE6FlYYRbvJhXnY
>>6X7n8%3D&reserved=0
>>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cd1120475208a492281eb08d5
>797c9344%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636548498309863585&s
>data=qtpDyBW0NpOOr9XPilzsS%2F5e1Vme2L1GqZFr1AtiJxo%3D&reserved=0


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr
That’s good! Although disturbing since I can get it to work!
Please notify me as soon as you try mac version and we can talk depending
on results to see how make it work on mu side

Thanks for looking into this!!

Carlos

El El mié, 21 feb 2018 a las 19:30, piotrz <pi...@apache.org> escribió:

> Carlos,
>
> I just realized that yesterday I was on wrong branch in case of Compiler. I
> just compiled everything once again using new branch
> "feature/vivid-ui-set".
> It looks like it's working for me. I'm on Windows 10. I will check whether
> application is working on my Mac - tomorrow.
>
> Maybe you need to clean your cache or something like that.
>
> Screenshot:
> <
> http://apache-royale-development.20373.n8.nabble.com/file/t1/ui_textfield.png
> >
>
> Thanks,
> Piotr
>
>
>
> --
> Sent from: http://apache-royale-development.20373.n8.nabble.com/
>
-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by piotrz <pi...@apache.org>.
Carlos,

I just realized that yesterday I was on wrong branch in case of Compiler. I
just compiled everything once again using new branch "feature/vivid-ui-set".
It looks like it's working for me. I'm on Windows 10. I will check whether
application is working on my Mac - tomorrow.

Maybe you need to clean your cache or something like that.

Screenshot:
<http://apache-royale-development.20373.n8.nabble.com/file/t1/ui_textfield.png> 

Thanks,
Piotr



--
Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
That would be great Piotr,
I'm as usual buried with work, so do it when you can. If you and Alex get
to know what is failing, as I have some free time I can invest it in make
some progress in visuals, that's where I can help.

thanks!

2018-02-21 11:29 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Carlos,
>
> I have no idea how to setup debugger for compiler, but I can play with
> print out as Alex suggested. This can get us some information. I cannot
> promise this will be today, but tomorrow is more possible.
>
> Thanks, Piotr
>
>
> 2018-02-21 11:26 GMT+01:00 Carlos Rovira <ca...@apache.org>:
>
> > Hi Piotr,
> >
> > when the path is incorrect, the build fails, so the theme is ok. In fact,
> > in a simple scenario (all rules in defaut css), is working ok.
> >
> > Piotr, could you help with this trying to debug what Alex comment? If you
> > get what's going on I can continue with the works on visuals, and I'm
> with
> > no time for debug
> >
> > Let me know if this is possible
> >
> > thanks
> >
> > Carlos
> >
> >
> >
> >
> > 2018-02-21 9:47 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
> >
> > > Carlos,
> > >
> > > I see path to the Theme.swc in pom.xml. Try to put that theme in some
> > > closer folder to see whether it is loaded or not.
> > >
> > >
> > >
> > > 2018-02-21 9:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >
> > > > You'll have to debug it.  I can't reproduce it.  For the third time,
> > did
> > > > you try the System.out.println test?
> > > >
> > > > Get a Java debugger going and prove that the code paths I added are
> not
> > > > working correctly.
> > > >
> > > > Sorry, but I don't know what else to do on my end, when you aren't
> > going
> > > > to try to debug it where it is failing.
> > > > -Alex
> > > >
> > > > On 2/21/18, 12:31 AM, "carlos.rovira@gmail.com on behalf of Carlos
> > > Rovira"
> > > > <carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com>
> > > > wrote:
> > > >
> > > > >Hi Alex,
> > > > >
> > > > >Don't know if you see the Piotr test of this branch. He's getting
> the
> > > same
> > > > >as me. So my bet is that something is going on on your side that's
> not
> > > > >happening for the rest of us. In out case the TextField selector is
> > > > >completely empty.
> > > > >
> > > > >2018-02-21 5:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > > > >
> > > > >> Hi Carlos,
> > > > >>
> > > > >> It is unlikely that Ant artifacts will affect Maven results.  They
> > > have
> > > > >> different jar names.
> > > > >>
> > > > >> I synced up and clean my local repo and rebuilt the compiler with
> > the
> > > > >> feature/vivid branch and royale-asjs with the vivid-ui-set branch
> > and
> > > > >> everything works as expected.  In
> > > > >> examples/royale/VividExample/target/javascript/bin/js-
> debug/App.css
> > > is
> > > > a
> > > > >> TextField selector that has several properties.
> > > > >>
> > > > >> The file I changed in royale-compiler is CSSManager.java.  Add a
> > > > >> System.out.println("This is Carlos's local copy"); at the
> beginning
> > of
> > > > >> getCSSFromThemes.  Delete the compiler jars from your local repo
> and
> > > > >> rebuild the compiler then the framework and example.  You should
> see
> > > > >>your
> > > > >> println in the output.  If you don't then for some reason you are
> > > > >>pulling
> > > > >> the wrong one.  The console output for the compiler should show
> that
> > > it
> > > > >> put the jars in the local repo.  The console output for framework
> > > and/or
> > > > >> examples should show where it got the compiler jars.
> > > > >>
> > > > >> -Alex
> > > > >>
> > > > >> On 2/20/18, 12:13 PM, "carlos.rovira@gmail.com on behalf of
> Carlos
> > > > >>Rovira"
> > > > >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> > wrote:
> > > > >>
> > > > >> >Hi Alex,
> > > > >> >
> > > > >> >I removed all my maven repo and build all again. As well check
> that
> > > > >>your
> > > > >> >commits are in, and removed all targets to start from a clean
> > point.
> > > > >> >I created a new branch "vivid-ui-set" since the other one had the
> > > > >>rebase
> > > > >> >problem.
> > > > >> >When I build Vivid, then BlueTheme and the Example I find that
> > > > >>TextField
> > > > >> >css tule is empty and sub rules for label and input are empty as
> > well
> > > > >> >I see TextField.css is in theme SWC but is not applied in final
> > > example
> > > > >> >app
> > > > >> >
> > > > >> >I think you should get the same if you build with maven and maybe
> > as
> > > > >>you
> > > > >> >first started to build with ANT and then with MAVEN maybe the old
> > ant
> > > > >> >content was affecting the build
> > > > >> >
> > > > >> >Can you take a look?
> > > > >> >
> > > > >> >* Check the new branch and that your changes are there
> > > > >> >* remove as I did targets and royale vivid projects in .m2 repo
> > > > >> >* and try to build from scratch only with maven
> > > > >> >
> > > > >> >If you get it to work, I think something is wrong in royale since
> > we
> > > > >> >should
> > > > >> >get the same output.
> > > > >> >maybe different maven version? (I'm using 3.5.0)
> > > > >> >
> > > > >> >Hope we can reach what's going on since I'm stuck with this
> problem
> > > and
> > > > >> >would like to continue working on this
> > > > >> >
> > > > >> >Thanks in advance!
> > > > >> >
> > > > >> >Carlos
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> >2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > > > >> >
> > > > >> >> Hi Carlos,
> > > > >> >>
> > > > >> >> You will just have to debug it on your end.  I would recommend:
> > > > >> >>
> > > > >> >> -Verify that the source changes I made to royale-compiler are
> in
> > > your
> > > > >> >> local working copy.
> > > > >> >> -manually clear your local maven repo of
> > org.apache.royale.compiler
> > > > >> >> artifacts
> > > > >> >> -rebuild royale-compiler.
> > > > >> >> -Scan the console output from the royals-compiler build for
> > > > >>undetected
> > > > >> >> errors.  Our Maven integration isn't perfect so there is a
> chance
> > > the
> > > > >> >> compilation could report an error that doesn't return a failure
> > > code
> > > > >> >>that
> > > > >> >> stops the Maven build.
> > > > >> >> -Rebuild your example.
> > > > >> >> -Scan the console output for undetected errors. Also verify
> that
> > > > >>Maven
> > > > >> >> pulled the compiler from your local repo instead of the
> snapshot
> > > > >>server
> > > > >> >>or
> > > > >> >> some other server.
> > > > >> >>
> > > > >> >> If none of that helps you find the problem, the next thing I
> > would
> > > > >>do is
> > > > >> >> add a System.out.println to the code I modified so you can see
> if
> > > > >>that
> > > > >> >> code gets run or not.
> > > > >> >>
> > > > >> >> HTH,
> > > > >> >> -Alex
> > > > >> >>
> > > > >> >> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of
> > Carlos
> > > > >> >>Rovira"
> > > > >> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> > > > wrote:
> > > > >> >>
> > > > >> >> >Hi Alex,
> > > > >> >> >
> > > > >> >> >2018-02-19 18:06 GMT+01:00 Alex Harui
> <aharui@adobe.com.invalid
> > >:
> > > > >> >> >
> > > > >> >> >> I just tried it with Maven and it worked.  I didn't run the
> > > > >>example,
> > > > >> >>I
> > > > >> >> >> just opened App.css and saw that the contents of
> TextField.css
> > > > >>are in
> > > > >> >> >> there.
> > > > >> >> >>
> > > > >> >> >
> > > > >> >> >Hi Alex, I'm not seeing what you see :?
> > > > >> >> >I opened App.css in target, js-debug and Textfield is empty
> Only
> > > > >>see {}
> > > > >> >> >I updated all repos and rebuild all with maven to ensure I'm
> > with
> > > > >>the
> > > > >> >> >latest
> > > > >> >> >
> > > > >> >> >
> > > > >> >> >>
> > > > >> >> >> For some reason, there were some puzzling results on merging
> > in
> > > > >>your
> > > > >> >> >> changes.  It wanted me to push commits you had made.  Not
> sure
> > > why
> > > > >> >>or if
> > > > >> >> >> that would affect your results.
> > > > >> >> >>
> > > > >> >> >
> > > > >> >> >Right, I made a rebase but it works bad and try to fix it. The
> > > > >>problem
> > > > >> >>was
> > > > >> >> >that SourceTree had "Allow force push" unchecked.
> > > > >> >> >Could you confirm your changes are all ok?
> > > > >> >> >
> > > > >> >> >don't know what's hapening...
> > > > >> >> >
> > > > >> >> >Thanks
> > > > >> >> >
> > > > >> >> >
> > > > >> >> >
> > > > >> >> >>
> > > > >> >> >> HTH,
> > > > >> >> >> -Alex
> > > > >> >> >>
> > > > >> >> >> On 2/19/18, 8:29 AM, "Alex Harui" <aharui@adobe.com.INVALID
> >
> > > > >>wrote:
> > > > >> >> >>
> > > > >> >> >> >I saw it work.  But I was using the Ant build in order to
> > test
> > > it
> > > > >> >>since
> > > > >> >> >> >nobody had provided it yet.  I will try with Maven later.
> > > > >> >> >> >
> > > > >> >> >> >-Alex
> > > > >> >> >> >
> > > > >> >> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of
> > > > Carlos
> > > > >> >> >>Rovira"
> > > > >> >> >> ><carlos.rovira@gmail.com on behalf of
> > carlosrovira@apache.org>
> > > > >> >>wrote:
> > > > >> >> >> >
> > > > >> >> >> >>Hi Alex,
> > > > >> >> >> >>
> > > > >> >> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui
> > <aharui@adobe.com.invalid
> > > > >:
> > > > >> >> >> >>
> > > > >> >> >> >>>   But I saw that it could be easily added so I got it
> > > working
> > > > >> >> >> >>> and pushed compiler changes to a feature/vivid branch in
> > > > >> >> >> >>>royale-compiler.
> > > > >> >> >> >>>
> > > > >> >> >> >>>
> > > > >> >> >> >>This means that you get it working? after solve some repo
> > > > >>errors, I
> > > > >> >> >>build
> > > > >> >> >> >>the three projects but I get the same result as yesterday.
> > > > >> >> >> >>Don't know if I'm doing something wrong, or I'm
> interpreting
> > > the
> > > > >> >>email
> > > > >> >> >> >>incorrectly
> > > > >> >> >> >>
> > > > >> >> >> >>thanks
> > > > >> >> >> >>
> > > > >> >> >> >>
> > > > >> >> >> >>--
> > > > >> >> >> >>Carlos Rovira
> > > > >> >> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
> > > > >> >> >> 3A%2F%2Fabout.me%
> > > > >> >> >> >>2
> > > > >> >> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C2bee894a
> > > > >> >> >> 391f4de0984c08d
> > > > >> >> >> >>5
> > > > >> >> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C6365
> > > > >> >> >> 46489524364497&
> > > > >> >> >> >>s
> > > > >> >> >>
> > > > >>>>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSm
> XmonJw%3D&reserved=0
> > > > >> >> >> >
> > > > >> >> >>
> > > > >> >> >> --
> > > > >> >> >> Carlos Rovira
> > > > >> >> >>
> > > > >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> > > > >> >> http%3A%2F%2Fabout.me%
> > > > >> >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > > > >> >> 7C639922befb1342faa8cd08
> > > > >> >> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > > >> >> 7C63654664248598988
> > > > >> >> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENoo
> > > kbxNGlVVoBHBo%3D&reserved=0
> > > > >> >> >>
> > > > >> >> >>
> > > > >> >> >>
> > > > >> >>
> > > > >> >>
> > > > >> >
> > > > >> >
> > > > >> >--
> > > > >> >Carlos Rovira
> > > > >> >https://na01.safelinks.protection.outlook.com/?url=
> > > > >> http%3A%2F%2Fabout.me%2
> > > > >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > > > >> 7C421d556ef2324f8401d208d5
> > > > >> >789e6fa1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > > >> 7C636547544242920441&s
> > > > >> >data=Zsm8rDjQVxvhtvZyz6drm8gTJPi02arOCJlsiV3Z%2B4A%3D&reserved=0
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > > >--
> > > > >
> > > > ><https://na01.safelinks.protection.outlook.com/?url=
> > > > http%3A%2F%2Fwww.codeo
> > > > >scopic.com&data=02%7C01%7Caharui%40adobe.com%
> > > > 7C98c535b3b38444537a4a08d5790
> > > > >59bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > > 7C636547987352279597&sdat
> > > > >a=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0>
> > > > >
> > > > >Carlos Rovira
> > > > >
> > > > >Director General
> > > > >
> > > > >M: +34 607 22 60 05
> > > > >
> > > > >https://na01.safelinks.protection.outlook.com/?url=
> > > > http%3A%2F%2Fwww.codeos
> > > > >copic.com&data=02%7C01%7Caharui%40adobe.com%
> > > > 7C98c535b3b38444537a4a08d57905
> > > > >9bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > > 7C636547987352279597&sdata
> > > > >=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0
> > > > >
> > > > >
> > > > >Conócenos en 1 minuto!
> > > > ><https://na01.safelinks.protection.outlook.com/?url=
> > > > https%3A%2F%2Favant2.e
> > > > >s%2F%23video&data=02%7C01%7Caharui%40adobe.com%
> > > > 7C98c535b3b38444537a4a08d57
> > > > >9059bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > > 7C636547987352279597&sd
> > > > >ata=VeL6rsDEXCBAPOUI1ETNFjLuwSCdQHyxA6cnItpuRes%3D&reserved=0>
> > > > >
> > > > >
> > > > >Este mensaje se dirige exclusivamente a su destinatario y puede
> > contener
> > > > >información privilegiada o confidencial. Si ha recibido este mensaje
> > por
> > > > >error, le rogamos que nos lo comunique inmediatamente por esta misma
> > > vía y
> > > > >proceda a su destrucción.
> > > > >
> > > > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le
> > > > >comunicamos
> > > > >que sus datos forman parte de un fichero cuyo responsable es
> > CODEOSCOPIC
> > > > >S.A. La finalidad de dicho tratamiento es facilitar la prestación
> del
> > > > >servicio o información solicitados, teniendo usted derecho de
> acceso,
> > > > >rectificación, cancelación y oposición de sus datos dirigiéndose a
> > > > >nuestras
> > > > >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la
> > documentación
> > > > >necesaria.
> > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Piotr Zarzycki <pi...@gmail.com>.
Carlos,

I have no idea how to setup debugger for compiler, but I can play with
print out as Alex suggested. This can get us some information. I cannot
promise this will be today, but tomorrow is more possible.

Thanks, Piotr


2018-02-21 11:26 GMT+01:00 Carlos Rovira <ca...@apache.org>:

> Hi Piotr,
>
> when the path is incorrect, the build fails, so the theme is ok. In fact,
> in a simple scenario (all rules in defaut css), is working ok.
>
> Piotr, could you help with this trying to debug what Alex comment? If you
> get what's going on I can continue with the works on visuals, and I'm with
> no time for debug
>
> Let me know if this is possible
>
> thanks
>
> Carlos
>
>
>
>
> 2018-02-21 9:47 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
> > Carlos,
> >
> > I see path to the Theme.swc in pom.xml. Try to put that theme in some
> > closer folder to see whether it is loaded or not.
> >
> >
> >
> > 2018-02-21 9:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> > > You'll have to debug it.  I can't reproduce it.  For the third time,
> did
> > > you try the System.out.println test?
> > >
> > > Get a Java debugger going and prove that the code paths I added are not
> > > working correctly.
> > >
> > > Sorry, but I don't know what else to do on my end, when you aren't
> going
> > > to try to debug it where it is failing.
> > > -Alex
> > >
> > > On 2/21/18, 12:31 AM, "carlos.rovira@gmail.com on behalf of Carlos
> > Rovira"
> > > <carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com>
> > > wrote:
> > >
> > > >Hi Alex,
> > > >
> > > >Don't know if you see the Piotr test of this branch. He's getting the
> > same
> > > >as me. So my bet is that something is going on on your side that's not
> > > >happening for the rest of us. In out case the TextField selector is
> > > >completely empty.
> > > >
> > > >2018-02-21 5:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > > >
> > > >> Hi Carlos,
> > > >>
> > > >> It is unlikely that Ant artifacts will affect Maven results.  They
> > have
> > > >> different jar names.
> > > >>
> > > >> I synced up and clean my local repo and rebuilt the compiler with
> the
> > > >> feature/vivid branch and royale-asjs with the vivid-ui-set branch
> and
> > > >> everything works as expected.  In
> > > >> examples/royale/VividExample/target/javascript/bin/js-debug/App.css
> > is
> > > a
> > > >> TextField selector that has several properties.
> > > >>
> > > >> The file I changed in royale-compiler is CSSManager.java.  Add a
> > > >> System.out.println("This is Carlos's local copy"); at the beginning
> of
> > > >> getCSSFromThemes.  Delete the compiler jars from your local repo and
> > > >> rebuild the compiler then the framework and example.  You should see
> > > >>your
> > > >> println in the output.  If you don't then for some reason you are
> > > >>pulling
> > > >> the wrong one.  The console output for the compiler should show that
> > it
> > > >> put the jars in the local repo.  The console output for framework
> > and/or
> > > >> examples should show where it got the compiler jars.
> > > >>
> > > >> -Alex
> > > >>
> > > >> On 2/20/18, 12:13 PM, "carlos.rovira@gmail.com on behalf of Carlos
> > > >>Rovira"
> > > >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> wrote:
> > > >>
> > > >> >Hi Alex,
> > > >> >
> > > >> >I removed all my maven repo and build all again. As well check that
> > > >>your
> > > >> >commits are in, and removed all targets to start from a clean
> point.
> > > >> >I created a new branch "vivid-ui-set" since the other one had the
> > > >>rebase
> > > >> >problem.
> > > >> >When I build Vivid, then BlueTheme and the Example I find that
> > > >>TextField
> > > >> >css tule is empty and sub rules for label and input are empty as
> well
> > > >> >I see TextField.css is in theme SWC but is not applied in final
> > example
> > > >> >app
> > > >> >
> > > >> >I think you should get the same if you build with maven and maybe
> as
> > > >>you
> > > >> >first started to build with ANT and then with MAVEN maybe the old
> ant
> > > >> >content was affecting the build
> > > >> >
> > > >> >Can you take a look?
> > > >> >
> > > >> >* Check the new branch and that your changes are there
> > > >> >* remove as I did targets and royale vivid projects in .m2 repo
> > > >> >* and try to build from scratch only with maven
> > > >> >
> > > >> >If you get it to work, I think something is wrong in royale since
> we
> > > >> >should
> > > >> >get the same output.
> > > >> >maybe different maven version? (I'm using 3.5.0)
> > > >> >
> > > >> >Hope we can reach what's going on since I'm stuck with this problem
> > and
> > > >> >would like to continue working on this
> > > >> >
> > > >> >Thanks in advance!
> > > >> >
> > > >> >Carlos
> > > >> >
> > > >> >
> > > >> >
> > > >> >
> > > >> >2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > > >> >
> > > >> >> Hi Carlos,
> > > >> >>
> > > >> >> You will just have to debug it on your end.  I would recommend:
> > > >> >>
> > > >> >> -Verify that the source changes I made to royale-compiler are in
> > your
> > > >> >> local working copy.
> > > >> >> -manually clear your local maven repo of
> org.apache.royale.compiler
> > > >> >> artifacts
> > > >> >> -rebuild royale-compiler.
> > > >> >> -Scan the console output from the royals-compiler build for
> > > >>undetected
> > > >> >> errors.  Our Maven integration isn't perfect so there is a chance
> > the
> > > >> >> compilation could report an error that doesn't return a failure
> > code
> > > >> >>that
> > > >> >> stops the Maven build.
> > > >> >> -Rebuild your example.
> > > >> >> -Scan the console output for undetected errors. Also verify that
> > > >>Maven
> > > >> >> pulled the compiler from your local repo instead of the snapshot
> > > >>server
> > > >> >>or
> > > >> >> some other server.
> > > >> >>
> > > >> >> If none of that helps you find the problem, the next thing I
> would
> > > >>do is
> > > >> >> add a System.out.println to the code I modified so you can see if
> > > >>that
> > > >> >> code gets run or not.
> > > >> >>
> > > >> >> HTH,
> > > >> >> -Alex
> > > >> >>
> > > >> >> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of
> Carlos
> > > >> >>Rovira"
> > > >> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> > > wrote:
> > > >> >>
> > > >> >> >Hi Alex,
> > > >> >> >
> > > >> >> >2018-02-19 18:06 GMT+01:00 Alex Harui <aharui@adobe.com.invalid
> >:
> > > >> >> >
> > > >> >> >> I just tried it with Maven and it worked.  I didn't run the
> > > >>example,
> > > >> >>I
> > > >> >> >> just opened App.css and saw that the contents of TextField.css
> > > >>are in
> > > >> >> >> there.
> > > >> >> >>
> > > >> >> >
> > > >> >> >Hi Alex, I'm not seeing what you see :?
> > > >> >> >I opened App.css in target, js-debug and Textfield is empty Only
> > > >>see {}
> > > >> >> >I updated all repos and rebuild all with maven to ensure I'm
> with
> > > >>the
> > > >> >> >latest
> > > >> >> >
> > > >> >> >
> > > >> >> >>
> > > >> >> >> For some reason, there were some puzzling results on merging
> in
> > > >>your
> > > >> >> >> changes.  It wanted me to push commits you had made.  Not sure
> > why
> > > >> >>or if
> > > >> >> >> that would affect your results.
> > > >> >> >>
> > > >> >> >
> > > >> >> >Right, I made a rebase but it works bad and try to fix it. The
> > > >>problem
> > > >> >>was
> > > >> >> >that SourceTree had "Allow force push" unchecked.
> > > >> >> >Could you confirm your changes are all ok?
> > > >> >> >
> > > >> >> >don't know what's hapening...
> > > >> >> >
> > > >> >> >Thanks
> > > >> >> >
> > > >> >> >
> > > >> >> >
> > > >> >> >>
> > > >> >> >> HTH,
> > > >> >> >> -Alex
> > > >> >> >>
> > > >> >> >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID>
> > > >>wrote:
> > > >> >> >>
> > > >> >> >> >I saw it work.  But I was using the Ant build in order to
> test
> > it
> > > >> >>since
> > > >> >> >> >nobody had provided it yet.  I will try with Maven later.
> > > >> >> >> >
> > > >> >> >> >-Alex
> > > >> >> >> >
> > > >> >> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of
> > > Carlos
> > > >> >> >>Rovira"
> > > >> >> >> ><carlos.rovira@gmail.com on behalf of
> carlosrovira@apache.org>
> > > >> >>wrote:
> > > >> >> >> >
> > > >> >> >> >>Hi Alex,
> > > >> >> >> >>
> > > >> >> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui
> <aharui@adobe.com.invalid
> > > >:
> > > >> >> >> >>
> > > >> >> >> >>>   But I saw that it could be easily added so I got it
> > working
> > > >> >> >> >>> and pushed compiler changes to a feature/vivid branch in
> > > >> >> >> >>>royale-compiler.
> > > >> >> >> >>>
> > > >> >> >> >>>
> > > >> >> >> >>This means that you get it working? after solve some repo
> > > >>errors, I
> > > >> >> >>build
> > > >> >> >> >>the three projects but I get the same result as yesterday.
> > > >> >> >> >>Don't know if I'm doing something wrong, or I'm interpreting
> > the
> > > >> >>email
> > > >> >> >> >>incorrectly
> > > >> >> >> >>
> > > >> >> >> >>thanks
> > > >> >> >> >>
> > > >> >> >> >>
> > > >> >> >> >>--
> > > >> >> >> >>Carlos Rovira
> > > >> >> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
> > > >> >> >> 3A%2F%2Fabout.me%
> > > >> >> >> >>2
> > > >> >> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
> > > >> >> >> 391f4de0984c08d
> > > >> >> >> >>5
> > > >> >> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
> > > >> >> >> 46489524364497&
> > > >> >> >> >>s
> > > >> >> >>
> > > >>>>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
> > > >> >> >> >
> > > >> >> >>
> > > >> >> >> --
> > > >> >> >> Carlos Rovira
> > > >> >> >>
> > > >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> > > >> >> http%3A%2F%2Fabout.me%
> > > >> >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > > >> >> 7C639922befb1342faa8cd08
> > > >> >> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > >> >> 7C63654664248598988
> > > >> >> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENoo
> > kbxNGlVVoBHBo%3D&reserved=0
> > > >> >> >>
> > > >> >> >>
> > > >> >> >>
> > > >> >>
> > > >> >>
> > > >> >
> > > >> >
> > > >> >--
> > > >> >Carlos Rovira
> > > >> >https://na01.safelinks.protection.outlook.com/?url=
> > > >> http%3A%2F%2Fabout.me%2
> > > >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > > >> 7C421d556ef2324f8401d208d5
> > > >> >789e6fa1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > >> 7C636547544242920441&s
> > > >> >data=Zsm8rDjQVxvhtvZyz6drm8gTJPi02arOCJlsiV3Z%2B4A%3D&reserved=0
> > > >>
> > > >>
> > > >
> > > >
> > > >--
> > > >
> > > ><https://na01.safelinks.protection.outlook.com/?url=
> > > http%3A%2F%2Fwww.codeo
> > > >scopic.com&data=02%7C01%7Caharui%40adobe.com%
> > > 7C98c535b3b38444537a4a08d5790
> > > >59bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > 7C636547987352279597&sdat
> > > >a=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0>
> > > >
> > > >Carlos Rovira
> > > >
> > > >Director General
> > > >
> > > >M: +34 607 22 60 05
> > > >
> > > >https://na01.safelinks.protection.outlook.com/?url=
> > > http%3A%2F%2Fwww.codeos
> > > >copic.com&data=02%7C01%7Caharui%40adobe.com%
> > > 7C98c535b3b38444537a4a08d57905
> > > >9bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > 7C636547987352279597&sdata
> > > >=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0
> > > >
> > > >
> > > >Conócenos en 1 minuto!
> > > ><https://na01.safelinks.protection.outlook.com/?url=
> > > https%3A%2F%2Favant2.e
> > > >s%2F%23video&data=02%7C01%7Caharui%40adobe.com%
> > > 7C98c535b3b38444537a4a08d57
> > > >9059bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > > 7C636547987352279597&sd
> > > >ata=VeL6rsDEXCBAPOUI1ETNFjLuwSCdQHyxA6cnItpuRes%3D&reserved=0>
> > > >
> > > >
> > > >Este mensaje se dirige exclusivamente a su destinatario y puede
> contener
> > > >información privilegiada o confidencial. Si ha recibido este mensaje
> por
> > > >error, le rogamos que nos lo comunique inmediatamente por esta misma
> > vía y
> > > >proceda a su destrucción.
> > > >
> > > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le
> > > >comunicamos
> > > >que sus datos forman parte de un fichero cuyo responsable es
> CODEOSCOPIC
> > > >S.A. La finalidad de dicho tratamiento es facilitar la prestación del
> > > >servicio o información solicitados, teniendo usted derecho de acceso,
> > > >rectificación, cancelación y oposición de sus datos dirigiéndose a
> > > >nuestras
> > > >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la
> documentación
> > > >necesaria.
> > >
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>



-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Piotr,

when the path is incorrect, the build fails, so the theme is ok. In fact,
in a simple scenario (all rules in defaut css), is working ok.

Piotr, could you help with this trying to debug what Alex comment? If you
get what's going on I can continue with the works on visuals, and I'm with
no time for debug

Let me know if this is possible

thanks

Carlos




2018-02-21 9:47 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> Carlos,
>
> I see path to the Theme.swc in pom.xml. Try to put that theme in some
> closer folder to see whether it is loaded or not.
>
>
>
> 2018-02-21 9:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
> > You'll have to debug it.  I can't reproduce it.  For the third time, did
> > you try the System.out.println test?
> >
> > Get a Java debugger going and prove that the code paths I added are not
> > working correctly.
> >
> > Sorry, but I don't know what else to do on my end, when you aren't going
> > to try to debug it where it is failing.
> > -Alex
> >
> > On 2/21/18, 12:31 AM, "carlos.rovira@gmail.com on behalf of Carlos
> Rovira"
> > <carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com>
> > wrote:
> >
> > >Hi Alex,
> > >
> > >Don't know if you see the Piotr test of this branch. He's getting the
> same
> > >as me. So my bet is that something is going on on your side that's not
> > >happening for the rest of us. In out case the TextField selector is
> > >completely empty.
> > >
> > >2018-02-21 5:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >
> > >> Hi Carlos,
> > >>
> > >> It is unlikely that Ant artifacts will affect Maven results.  They
> have
> > >> different jar names.
> > >>
> > >> I synced up and clean my local repo and rebuilt the compiler with the
> > >> feature/vivid branch and royale-asjs with the vivid-ui-set branch and
> > >> everything works as expected.  In
> > >> examples/royale/VividExample/target/javascript/bin/js-debug/App.css
> is
> > a
> > >> TextField selector that has several properties.
> > >>
> > >> The file I changed in royale-compiler is CSSManager.java.  Add a
> > >> System.out.println("This is Carlos's local copy"); at the beginning of
> > >> getCSSFromThemes.  Delete the compiler jars from your local repo and
> > >> rebuild the compiler then the framework and example.  You should see
> > >>your
> > >> println in the output.  If you don't then for some reason you are
> > >>pulling
> > >> the wrong one.  The console output for the compiler should show that
> it
> > >> put the jars in the local repo.  The console output for framework
> and/or
> > >> examples should show where it got the compiler jars.
> > >>
> > >> -Alex
> > >>
> > >> On 2/20/18, 12:13 PM, "carlos.rovira@gmail.com on behalf of Carlos
> > >>Rovira"
> > >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> > >>
> > >> >Hi Alex,
> > >> >
> > >> >I removed all my maven repo and build all again. As well check that
> > >>your
> > >> >commits are in, and removed all targets to start from a clean point.
> > >> >I created a new branch "vivid-ui-set" since the other one had the
> > >>rebase
> > >> >problem.
> > >> >When I build Vivid, then BlueTheme and the Example I find that
> > >>TextField
> > >> >css tule is empty and sub rules for label and input are empty as well
> > >> >I see TextField.css is in theme SWC but is not applied in final
> example
> > >> >app
> > >> >
> > >> >I think you should get the same if you build with maven and maybe as
> > >>you
> > >> >first started to build with ANT and then with MAVEN maybe the old ant
> > >> >content was affecting the build
> > >> >
> > >> >Can you take a look?
> > >> >
> > >> >* Check the new branch and that your changes are there
> > >> >* remove as I did targets and royale vivid projects in .m2 repo
> > >> >* and try to build from scratch only with maven
> > >> >
> > >> >If you get it to work, I think something is wrong in royale since we
> > >> >should
> > >> >get the same output.
> > >> >maybe different maven version? (I'm using 3.5.0)
> > >> >
> > >> >Hope we can reach what's going on since I'm stuck with this problem
> and
> > >> >would like to continue working on this
> > >> >
> > >> >Thanks in advance!
> > >> >
> > >> >Carlos
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >> >
> > >> >> Hi Carlos,
> > >> >>
> > >> >> You will just have to debug it on your end.  I would recommend:
> > >> >>
> > >> >> -Verify that the source changes I made to royale-compiler are in
> your
> > >> >> local working copy.
> > >> >> -manually clear your local maven repo of org.apache.royale.compiler
> > >> >> artifacts
> > >> >> -rebuild royale-compiler.
> > >> >> -Scan the console output from the royals-compiler build for
> > >>undetected
> > >> >> errors.  Our Maven integration isn't perfect so there is a chance
> the
> > >> >> compilation could report an error that doesn't return a failure
> code
> > >> >>that
> > >> >> stops the Maven build.
> > >> >> -Rebuild your example.
> > >> >> -Scan the console output for undetected errors. Also verify that
> > >>Maven
> > >> >> pulled the compiler from your local repo instead of the snapshot
> > >>server
> > >> >>or
> > >> >> some other server.
> > >> >>
> > >> >> If none of that helps you find the problem, the next thing I would
> > >>do is
> > >> >> add a System.out.println to the code I modified so you can see if
> > >>that
> > >> >> code gets run or not.
> > >> >>
> > >> >> HTH,
> > >> >> -Alex
> > >> >>
> > >> >> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos
> > >> >>Rovira"
> > >> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> > wrote:
> > >> >>
> > >> >> >Hi Alex,
> > >> >> >
> > >> >> >2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >> >> >
> > >> >> >> I just tried it with Maven and it worked.  I didn't run the
> > >>example,
> > >> >>I
> > >> >> >> just opened App.css and saw that the contents of TextField.css
> > >>are in
> > >> >> >> there.
> > >> >> >>
> > >> >> >
> > >> >> >Hi Alex, I'm not seeing what you see :?
> > >> >> >I opened App.css in target, js-debug and Textfield is empty Only
> > >>see {}
> > >> >> >I updated all repos and rebuild all with maven to ensure I'm with
> > >>the
> > >> >> >latest
> > >> >> >
> > >> >> >
> > >> >> >>
> > >> >> >> For some reason, there were some puzzling results on merging in
> > >>your
> > >> >> >> changes.  It wanted me to push commits you had made.  Not sure
> why
> > >> >>or if
> > >> >> >> that would affect your results.
> > >> >> >>
> > >> >> >
> > >> >> >Right, I made a rebase but it works bad and try to fix it. The
> > >>problem
> > >> >>was
> > >> >> >that SourceTree had "Allow force push" unchecked.
> > >> >> >Could you confirm your changes are all ok?
> > >> >> >
> > >> >> >don't know what's hapening...
> > >> >> >
> > >> >> >Thanks
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >>
> > >> >> >> HTH,
> > >> >> >> -Alex
> > >> >> >>
> > >> >> >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID>
> > >>wrote:
> > >> >> >>
> > >> >> >> >I saw it work.  But I was using the Ant build in order to test
> it
> > >> >>since
> > >> >> >> >nobody had provided it yet.  I will try with Maven later.
> > >> >> >> >
> > >> >> >> >-Alex
> > >> >> >> >
> > >> >> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of
> > Carlos
> > >> >> >>Rovira"
> > >> >> >> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> > >> >>wrote:
> > >> >> >> >
> > >> >> >> >>Hi Alex,
> > >> >> >> >>
> > >> >> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui <aharui@adobe.com.invalid
> > >:
> > >> >> >> >>
> > >> >> >> >>>   But I saw that it could be easily added so I got it
> working
> > >> >> >> >>> and pushed compiler changes to a feature/vivid branch in
> > >> >> >> >>>royale-compiler.
> > >> >> >> >>>
> > >> >> >> >>>
> > >> >> >> >>This means that you get it working? after solve some repo
> > >>errors, I
> > >> >> >>build
> > >> >> >> >>the three projects but I get the same result as yesterday.
> > >> >> >> >>Don't know if I'm doing something wrong, or I'm interpreting
> the
> > >> >>email
> > >> >> >> >>incorrectly
> > >> >> >> >>
> > >> >> >> >>thanks
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >> >>--
> > >> >> >> >>Carlos Rovira
> > >> >> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
> > >> >> >> 3A%2F%2Fabout.me%
> > >> >> >> >>2
> > >> >> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
> > >> >> >> 391f4de0984c08d
> > >> >> >> >>5
> > >> >> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
> > >> >> >> 46489524364497&
> > >> >> >> >>s
> > >> >> >>
> > >>>>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
> > >> >> >> >
> > >> >> >>
> > >> >> >> --
> > >> >> >> Carlos Rovira
> > >> >> >>
> > >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> > >> >> http%3A%2F%2Fabout.me%
> > >> >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > >> >> 7C639922befb1342faa8cd08
> > >> >> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > >> >> 7C63654664248598988
> > >> >> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENoo
> kbxNGlVVoBHBo%3D&reserved=0
> > >> >> >>
> > >> >> >>
> > >> >> >>
> > >> >>
> > >> >>
> > >> >
> > >> >
> > >> >--
> > >> >Carlos Rovira
> > >> >https://na01.safelinks.protection.outlook.com/?url=
> > >> http%3A%2F%2Fabout.me%2
> > >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > >> 7C421d556ef2324f8401d208d5
> > >> >789e6fa1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > >> 7C636547544242920441&s
> > >> >data=Zsm8rDjQVxvhtvZyz6drm8gTJPi02arOCJlsiV3Z%2B4A%3D&reserved=0
> > >>
> > >>
> > >
> > >
> > >--
> > >
> > ><https://na01.safelinks.protection.outlook.com/?url=
> > http%3A%2F%2Fwww.codeo
> > >scopic.com&data=02%7C01%7Caharui%40adobe.com%
> > 7C98c535b3b38444537a4a08d5790
> > >59bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > 7C636547987352279597&sdat
> > >a=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0>
> > >
> > >Carlos Rovira
> > >
> > >Director General
> > >
> > >M: +34 607 22 60 05
> > >
> > >https://na01.safelinks.protection.outlook.com/?url=
> > http%3A%2F%2Fwww.codeos
> > >copic.com&data=02%7C01%7Caharui%40adobe.com%
> > 7C98c535b3b38444537a4a08d57905
> > >9bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > 7C636547987352279597&sdata
> > >=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0
> > >
> > >
> > >Conócenos en 1 minuto!
> > ><https://na01.safelinks.protection.outlook.com/?url=
> > https%3A%2F%2Favant2.e
> > >s%2F%23video&data=02%7C01%7Caharui%40adobe.com%
> > 7C98c535b3b38444537a4a08d57
> > >9059bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > 7C636547987352279597&sd
> > >ata=VeL6rsDEXCBAPOUI1ETNFjLuwSCdQHyxA6cnItpuRes%3D&reserved=0>
> > >
> > >
> > >Este mensaje se dirige exclusivamente a su destinatario y puede contener
> > >información privilegiada o confidencial. Si ha recibido este mensaje por
> > >error, le rogamos que nos lo comunique inmediatamente por esta misma
> vía y
> > >proceda a su destrucción.
> > >
> > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le
> > >comunicamos
> > >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
> > >S.A. La finalidad de dicho tratamiento es facilitar la prestación del
> > >servicio o información solicitados, teniendo usted derecho de acceso,
> > >rectificación, cancelación y oposición de sus datos dirigiéndose a
> > >nuestras
> > >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
> > >necesaria.
> >
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Piotr Zarzycki <pi...@gmail.com>.
Carlos,

I see path to the Theme.swc in pom.xml. Try to put that theme in some
closer folder to see whether it is loaded or not.



2018-02-21 9:36 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> You'll have to debug it.  I can't reproduce it.  For the third time, did
> you try the System.out.println test?
>
> Get a Java debugger going and prove that the code paths I added are not
> working correctly.
>
> Sorry, but I don't know what else to do on my end, when you aren't going
> to try to debug it where it is failing.
> -Alex
>
> On 2/21/18, 12:31 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com>
> wrote:
>
> >Hi Alex,
> >
> >Don't know if you see the Piotr test of this branch. He's getting the same
> >as me. So my bet is that something is going on on your side that's not
> >happening for the rest of us. In out case the TextField selector is
> >completely empty.
> >
> >2018-02-21 5:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> Hi Carlos,
> >>
> >> It is unlikely that Ant artifacts will affect Maven results.  They have
> >> different jar names.
> >>
> >> I synced up and clean my local repo and rebuilt the compiler with the
> >> feature/vivid branch and royale-asjs with the vivid-ui-set branch and
> >> everything works as expected.  In
> >> examples/royale/VividExample/target/javascript/bin/js-debug/App.css is
> a
> >> TextField selector that has several properties.
> >>
> >> The file I changed in royale-compiler is CSSManager.java.  Add a
> >> System.out.println("This is Carlos's local copy"); at the beginning of
> >> getCSSFromThemes.  Delete the compiler jars from your local repo and
> >> rebuild the compiler then the framework and example.  You should see
> >>your
> >> println in the output.  If you don't then for some reason you are
> >>pulling
> >> the wrong one.  The console output for the compiler should show that it
> >> put the jars in the local repo.  The console output for framework and/or
> >> examples should show where it got the compiler jars.
> >>
> >> -Alex
> >>
> >> On 2/20/18, 12:13 PM, "carlos.rovira@gmail.com on behalf of Carlos
> >>Rovira"
> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >>
> >> >Hi Alex,
> >> >
> >> >I removed all my maven repo and build all again. As well check that
> >>your
> >> >commits are in, and removed all targets to start from a clean point.
> >> >I created a new branch "vivid-ui-set" since the other one had the
> >>rebase
> >> >problem.
> >> >When I build Vivid, then BlueTheme and the Example I find that
> >>TextField
> >> >css tule is empty and sub rules for label and input are empty as well
> >> >I see TextField.css is in theme SWC but is not applied in final example
> >> >app
> >> >
> >> >I think you should get the same if you build with maven and maybe as
> >>you
> >> >first started to build with ANT and then with MAVEN maybe the old ant
> >> >content was affecting the build
> >> >
> >> >Can you take a look?
> >> >
> >> >* Check the new branch and that your changes are there
> >> >* remove as I did targets and royale vivid projects in .m2 repo
> >> >* and try to build from scratch only with maven
> >> >
> >> >If you get it to work, I think something is wrong in royale since we
> >> >should
> >> >get the same output.
> >> >maybe different maven version? (I'm using 3.5.0)
> >> >
> >> >Hope we can reach what's going on since I'm stuck with this problem and
> >> >would like to continue working on this
> >> >
> >> >Thanks in advance!
> >> >
> >> >Carlos
> >> >
> >> >
> >> >
> >> >
> >> >2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >
> >> >> Hi Carlos,
> >> >>
> >> >> You will just have to debug it on your end.  I would recommend:
> >> >>
> >> >> -Verify that the source changes I made to royale-compiler are in your
> >> >> local working copy.
> >> >> -manually clear your local maven repo of org.apache.royale.compiler
> >> >> artifacts
> >> >> -rebuild royale-compiler.
> >> >> -Scan the console output from the royals-compiler build for
> >>undetected
> >> >> errors.  Our Maven integration isn't perfect so there is a chance the
> >> >> compilation could report an error that doesn't return a failure code
> >> >>that
> >> >> stops the Maven build.
> >> >> -Rebuild your example.
> >> >> -Scan the console output for undetected errors. Also verify that
> >>Maven
> >> >> pulled the compiler from your local repo instead of the snapshot
> >>server
> >> >>or
> >> >> some other server.
> >> >>
> >> >> If none of that helps you find the problem, the next thing I would
> >>do is
> >> >> add a System.out.println to the code I modified so you can see if
> >>that
> >> >> code gets run or not.
> >> >>
> >> >> HTH,
> >> >> -Alex
> >> >>
> >> >> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >> >>Rovira"
> >> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> wrote:
> >> >>
> >> >> >Hi Alex,
> >> >> >
> >> >> >2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >> >
> >> >> >> I just tried it with Maven and it worked.  I didn't run the
> >>example,
> >> >>I
> >> >> >> just opened App.css and saw that the contents of TextField.css
> >>are in
> >> >> >> there.
> >> >> >>
> >> >> >
> >> >> >Hi Alex, I'm not seeing what you see :?
> >> >> >I opened App.css in target, js-debug and Textfield is empty Only
> >>see {}
> >> >> >I updated all repos and rebuild all with maven to ensure I'm with
> >>the
> >> >> >latest
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> For some reason, there were some puzzling results on merging in
> >>your
> >> >> >> changes.  It wanted me to push commits you had made.  Not sure why
> >> >>or if
> >> >> >> that would affect your results.
> >> >> >>
> >> >> >
> >> >> >Right, I made a rebase but it works bad and try to fix it. The
> >>problem
> >> >>was
> >> >> >that SourceTree had "Allow force push" unchecked.
> >> >> >Could you confirm your changes are all ok?
> >> >> >
> >> >> >don't know what's hapening...
> >> >> >
> >> >> >Thanks
> >> >> >
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> HTH,
> >> >> >> -Alex
> >> >> >>
> >> >> >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID>
> >>wrote:
> >> >> >>
> >> >> >> >I saw it work.  But I was using the Ant build in order to test it
> >> >>since
> >> >> >> >nobody had provided it yet.  I will try with Maven later.
> >> >> >> >
> >> >> >> >-Alex
> >> >> >> >
> >> >> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of
> Carlos
> >> >> >>Rovira"
> >> >> >> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >> >>wrote:
> >> >> >> >
> >> >> >> >>Hi Alex,
> >> >> >> >>
> >> >> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui <aharui@adobe.com.invalid
> >:
> >> >> >> >>
> >> >> >> >>>   But I saw that it could be easily added so I got it working
> >> >> >> >>> and pushed compiler changes to a feature/vivid branch in
> >> >> >> >>>royale-compiler.
> >> >> >> >>>
> >> >> >> >>>
> >> >> >> >>This means that you get it working? after solve some repo
> >>errors, I
> >> >> >>build
> >> >> >> >>the three projects but I get the same result as yesterday.
> >> >> >> >>Don't know if I'm doing something wrong, or I'm interpreting the
> >> >>email
> >> >> >> >>incorrectly
> >> >> >> >>
> >> >> >> >>thanks
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>--
> >> >> >> >>Carlos Rovira
> >> >> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
> >> >> >> 3A%2F%2Fabout.me%
> >> >> >> >>2
> >> >> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
> >> >> >> 391f4de0984c08d
> >> >> >> >>5
> >> >> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
> >> >> >> 46489524364497&
> >> >> >> >>s
> >> >> >>
> >>>>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> Carlos Rovira
> >> >> >>
> >> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> >> http%3A%2F%2Fabout.me%
> >> >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> >> 7C639922befb1342faa8cd08
> >> >> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> >> 7C63654664248598988
> >> >> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENookbxNGlVVoBHBo%3D&reserved=0
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> >--
> >> >Carlos Rovira
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fabout.me%2
> >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> 7C421d556ef2324f8401d208d5
> >> >789e6fa1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> 7C636547544242920441&s
> >> >data=Zsm8rDjQVxvhtvZyz6drm8gTJPi02arOCJlsiV3Z%2B4A%3D&reserved=0
> >>
> >>
> >
> >
> >--
> >
> ><https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fwww.codeo
> >scopic.com&data=02%7C01%7Caharui%40adobe.com%
> 7C98c535b3b38444537a4a08d5790
> >59bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636547987352279597&sdat
> >a=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0>
> >
> >Carlos Rovira
> >
> >Director General
> >
> >M: +34 607 22 60 05
> >
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fwww.codeos
> >copic.com&data=02%7C01%7Caharui%40adobe.com%
> 7C98c535b3b38444537a4a08d57905
> >9bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636547987352279597&sdata
> >=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0
> >
> >
> >Conócenos en 1 minuto!
> ><https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Favant2.e
> >s%2F%23video&data=02%7C01%7Caharui%40adobe.com%
> 7C98c535b3b38444537a4a08d57
> >9059bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636547987352279597&sd
> >ata=VeL6rsDEXCBAPOUI1ETNFjLuwSCdQHyxA6cnItpuRes%3D&reserved=0>
> >
> >
> >Este mensaje se dirige exclusivamente a su destinatario y puede contener
> >información privilegiada o confidencial. Si ha recibido este mensaje por
> >error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
> >proceda a su destrucción.
> >
> >De la vigente Ley Orgánica de Protección de Datos (15/1999), le
> >comunicamos
> >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
> >S.A. La finalidad de dicho tratamiento es facilitar la prestación del
> >servicio o información solicitados, teniendo usted derecho de acceso,
> >rectificación, cancelación y oposición de sus datos dirigiéndose a
> >nuestras
> >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
> >necesaria.
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
You'll have to debug it.  I can't reproduce it.  For the third time, did
you try the System.out.println test?

Get a Java debugger going and prove that the code paths I added are not
working correctly.

Sorry, but I don't know what else to do on my end, when you aren't going
to try to debug it where it is failing.
-Alex

On 2/21/18, 12:31 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlos.rovira@codeoscopic.com> wrote:

>Hi Alex,
>
>Don't know if you see the Piotr test of this branch. He's getting the same
>as me. So my bet is that something is going on on your side that's not
>happening for the rest of us. In out case the TextField selector is
>completely empty.
>
>2018-02-21 5:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Hi Carlos,
>>
>> It is unlikely that Ant artifacts will affect Maven results.  They have
>> different jar names.
>>
>> I synced up and clean my local repo and rebuilt the compiler with the
>> feature/vivid branch and royale-asjs with the vivid-ui-set branch and
>> everything works as expected.  In
>> examples/royale/VividExample/target/javascript/bin/js-debug/App.css is a
>> TextField selector that has several properties.
>>
>> The file I changed in royale-compiler is CSSManager.java.  Add a
>> System.out.println("This is Carlos's local copy"); at the beginning of
>> getCSSFromThemes.  Delete the compiler jars from your local repo and
>> rebuild the compiler then the framework and example.  You should see
>>your
>> println in the output.  If you don't then for some reason you are
>>pulling
>> the wrong one.  The console output for the compiler should show that it
>> put the jars in the local repo.  The console output for framework and/or
>> examples should show where it got the compiler jars.
>>
>> -Alex
>>
>> On 2/20/18, 12:13 PM, "carlos.rovira@gmail.com on behalf of Carlos
>>Rovira"
>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>>
>> >Hi Alex,
>> >
>> >I removed all my maven repo and build all again. As well check that
>>your
>> >commits are in, and removed all targets to start from a clean point.
>> >I created a new branch "vivid-ui-set" since the other one had the
>>rebase
>> >problem.
>> >When I build Vivid, then BlueTheme and the Example I find that
>>TextField
>> >css tule is empty and sub rules for label and input are empty as well
>> >I see TextField.css is in theme SWC but is not applied in final example
>> >app
>> >
>> >I think you should get the same if you build with maven and maybe as
>>you
>> >first started to build with ANT and then with MAVEN maybe the old ant
>> >content was affecting the build
>> >
>> >Can you take a look?
>> >
>> >* Check the new branch and that your changes are there
>> >* remove as I did targets and royale vivid projects in .m2 repo
>> >* and try to build from scratch only with maven
>> >
>> >If you get it to work, I think something is wrong in royale since we
>> >should
>> >get the same output.
>> >maybe different maven version? (I'm using 3.5.0)
>> >
>> >Hope we can reach what's going on since I'm stuck with this problem and
>> >would like to continue working on this
>> >
>> >Thanks in advance!
>> >
>> >Carlos
>> >
>> >
>> >
>> >
>> >2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >
>> >> Hi Carlos,
>> >>
>> >> You will just have to debug it on your end.  I would recommend:
>> >>
>> >> -Verify that the source changes I made to royale-compiler are in your
>> >> local working copy.
>> >> -manually clear your local maven repo of org.apache.royale.compiler
>> >> artifacts
>> >> -rebuild royale-compiler.
>> >> -Scan the console output from the royals-compiler build for
>>undetected
>> >> errors.  Our Maven integration isn't perfect so there is a chance the
>> >> compilation could report an error that doesn't return a failure code
>> >>that
>> >> stops the Maven build.
>> >> -Rebuild your example.
>> >> -Scan the console output for undetected errors. Also verify that
>>Maven
>> >> pulled the compiler from your local repo instead of the snapshot
>>server
>> >>or
>> >> some other server.
>> >>
>> >> If none of that helps you find the problem, the next thing I would
>>do is
>> >> add a System.out.println to the code I modified so you can see if
>>that
>> >> code gets run or not.
>> >>
>> >> HTH,
>> >> -Alex
>> >>
>> >> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> >>Rovira"
>> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>> >>
>> >> >Hi Alex,
>> >> >
>> >> >2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >> >
>> >> >> I just tried it with Maven and it worked.  I didn't run the
>>example,
>> >>I
>> >> >> just opened App.css and saw that the contents of TextField.css
>>are in
>> >> >> there.
>> >> >>
>> >> >
>> >> >Hi Alex, I'm not seeing what you see :?
>> >> >I opened App.css in target, js-debug and Textfield is empty Only
>>see {}
>> >> >I updated all repos and rebuild all with maven to ensure I'm with
>>the
>> >> >latest
>> >> >
>> >> >
>> >> >>
>> >> >> For some reason, there were some puzzling results on merging in
>>your
>> >> >> changes.  It wanted me to push commits you had made.  Not sure why
>> >>or if
>> >> >> that would affect your results.
>> >> >>
>> >> >
>> >> >Right, I made a rebase but it works bad and try to fix it. The
>>problem
>> >>was
>> >> >that SourceTree had "Allow force push" unchecked.
>> >> >Could you confirm your changes are all ok?
>> >> >
>> >> >don't know what's hapening...
>> >> >
>> >> >Thanks
>> >> >
>> >> >
>> >> >
>> >> >>
>> >> >> HTH,
>> >> >> -Alex
>> >> >>
>> >> >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID>
>>wrote:
>> >> >>
>> >> >> >I saw it work.  But I was using the Ant build in order to test it
>> >>since
>> >> >> >nobody had provided it yet.  I will try with Maven later.
>> >> >> >
>> >> >> >-Alex
>> >> >> >
>> >> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> >> >>Rovira"
>> >> >> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>> >>wrote:
>> >> >> >
>> >> >> >>Hi Alex,
>> >> >> >>
>> >> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >> >> >>
>> >> >> >>>   But I saw that it could be easily added so I got it working
>> >> >> >>> and pushed compiler changes to a feature/vivid branch in
>> >> >> >>>royale-compiler.
>> >> >> >>>
>> >> >> >>>
>> >> >> >>This means that you get it working? after solve some repo
>>errors, I
>> >> >>build
>> >> >> >>the three projects but I get the same result as yesterday.
>> >> >> >>Don't know if I'm doing something wrong, or I'm interpreting the
>> >>email
>> >> >> >>incorrectly
>> >> >> >>
>> >> >> >>thanks
>> >> >> >>
>> >> >> >>
>> >> >> >>--
>> >> >> >>Carlos Rovira
>> >> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
>> >> >> 3A%2F%2Fabout.me%
>> >> >> >>2
>> >> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
>> >> >> 391f4de0984c08d
>> >> >> >>5
>> >> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>> >> >> 46489524364497&
>> >> >> >>s
>> >> >> 
>>>>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> Carlos Rovira
>> >> >>
>> >> >>https://na01.safelinks.protection.outlook.com/?url=
>> >> http%3A%2F%2Fabout.me%
>> >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> >> 7C639922befb1342faa8cd08
>> >> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> >> 7C63654664248598988
>> >> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENookbxNGlVVoBHBo%3D&reserved=0
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >
>> >
>> >--
>> >Carlos Rovira
>> >https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fabout.me%2
>> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> 7C421d556ef2324f8401d208d5
>> >789e6fa1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C636547544242920441&s
>> >data=Zsm8rDjQVxvhtvZyz6drm8gTJPi02arOCJlsiV3Z%2B4A%3D&reserved=0
>>
>>
>
>
>-- 
>
><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.codeo
>scopic.com&data=02%7C01%7Caharui%40adobe.com%7C98c535b3b38444537a4a08d5790
>59bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547987352279597&sdat
>a=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0>
>
>Carlos Rovira
>
>Director General
>
>M: +34 607 22 60 05
>
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.codeos
>copic.com&data=02%7C01%7Caharui%40adobe.com%7C98c535b3b38444537a4a08d57905
>9bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547987352279597&sdata
>=RE8Ouli%2FHxqG74i3pzk9T3wlKmG%2B%2FHMhqiCdvalb6NQ%3D&reserved=0
>
>
>Conócenos en 1 minuto!
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Favant2.e
>s%2F%23video&data=02%7C01%7Caharui%40adobe.com%7C98c535b3b38444537a4a08d57
>9059bc2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547987352279597&sd
>ata=VeL6rsDEXCBAPOUI1ETNFjLuwSCdQHyxA6cnItpuRes%3D&reserved=0>
>
>
>Este mensaje se dirige exclusivamente a su destinatario y puede contener
>información privilegiada o confidencial. Si ha recibido este mensaje por
>error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
>proceda a su destrucción.
>
>De la vigente Ley Orgánica de Protección de Datos (15/1999), le
>comunicamos
>que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
>S.A. La finalidad de dicho tratamiento es facilitar la prestación del
>servicio o información solicitados, teniendo usted derecho de acceso,
>rectificación, cancelación y oposición de sus datos dirigiéndose a
>nuestras
>oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
>necesaria.


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi Alex,

Don't know if you see the Piotr test of this branch. He's getting the same
as me. So my bet is that something is going on on your side that's not
happening for the rest of us. In out case the TextField selector is
completely empty.

2018-02-21 5:20 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Hi Carlos,
>
> It is unlikely that Ant artifacts will affect Maven results.  They have
> different jar names.
>
> I synced up and clean my local repo and rebuilt the compiler with the
> feature/vivid branch and royale-asjs with the vivid-ui-set branch and
> everything works as expected.  In
> examples/royale/VividExample/target/javascript/bin/js-debug/App.css is a
> TextField selector that has several properties.
>
> The file I changed in royale-compiler is CSSManager.java.  Add a
> System.out.println("This is Carlos's local copy"); at the beginning of
> getCSSFromThemes.  Delete the compiler jars from your local repo and
> rebuild the compiler then the framework and example.  You should see your
> println in the output.  If you don't then for some reason you are pulling
> the wrong one.  The console output for the compiler should show that it
> put the jars in the local repo.  The console output for framework and/or
> examples should show where it got the compiler jars.
>
> -Alex
>
> On 2/20/18, 12:13 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Alex,
> >
> >I removed all my maven repo and build all again. As well check that your
> >commits are in, and removed all targets to start from a clean point.
> >I created a new branch "vivid-ui-set" since the other one had the rebase
> >problem.
> >When I build Vivid, then BlueTheme and the Example I find that TextField
> >css tule is empty and sub rules for label and input are empty as well
> >I see TextField.css is in theme SWC but is not applied in final example
> >app
> >
> >I think you should get the same if you build with maven and maybe as you
> >first started to build with ANT and then with MAVEN maybe the old ant
> >content was affecting the build
> >
> >Can you take a look?
> >
> >* Check the new branch and that your changes are there
> >* remove as I did targets and royale vivid projects in .m2 repo
> >* and try to build from scratch only with maven
> >
> >If you get it to work, I think something is wrong in royale since we
> >should
> >get the same output.
> >maybe different maven version? (I'm using 3.5.0)
> >
> >Hope we can reach what's going on since I'm stuck with this problem and
> >would like to continue working on this
> >
> >Thanks in advance!
> >
> >Carlos
> >
> >
> >
> >
> >2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> Hi Carlos,
> >>
> >> You will just have to debug it on your end.  I would recommend:
> >>
> >> -Verify that the source changes I made to royale-compiler are in your
> >> local working copy.
> >> -manually clear your local maven repo of org.apache.royale.compiler
> >> artifacts
> >> -rebuild royale-compiler.
> >> -Scan the console output from the royals-compiler build for undetected
> >> errors.  Our Maven integration isn't perfect so there is a chance the
> >> compilation could report an error that doesn't return a failure code
> >>that
> >> stops the Maven build.
> >> -Rebuild your example.
> >> -Scan the console output for undetected errors. Also verify that Maven
> >> pulled the compiler from your local repo instead of the snapshot server
> >>or
> >> some other server.
> >>
> >> If none of that helps you find the problem, the next thing I would do is
> >> add a System.out.println to the code I modified so you can see if that
> >> code gets run or not.
> >>
> >> HTH,
> >> -Alex
> >>
> >> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >>Rovira"
> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >>
> >> >Hi Alex,
> >> >
> >> >2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >
> >> >> I just tried it with Maven and it worked.  I didn't run the example,
> >>I
> >> >> just opened App.css and saw that the contents of TextField.css are in
> >> >> there.
> >> >>
> >> >
> >> >Hi Alex, I'm not seeing what you see :?
> >> >I opened App.css in target, js-debug and Textfield is empty Only see {}
> >> >I updated all repos and rebuild all with maven to ensure I'm with the
> >> >latest
> >> >
> >> >
> >> >>
> >> >> For some reason, there were some puzzling results on merging in your
> >> >> changes.  It wanted me to push commits you had made.  Not sure why
> >>or if
> >> >> that would affect your results.
> >> >>
> >> >
> >> >Right, I made a rebase but it works bad and try to fix it. The problem
> >>was
> >> >that SourceTree had "Allow force push" unchecked.
> >> >Could you confirm your changes are all ok?
> >> >
> >> >don't know what's hapening...
> >> >
> >> >Thanks
> >> >
> >> >
> >> >
> >> >>
> >> >> HTH,
> >> >> -Alex
> >> >>
> >> >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
> >> >>
> >> >> >I saw it work.  But I was using the Ant build in order to test it
> >>since
> >> >> >nobody had provided it yet.  I will try with Maven later.
> >> >> >
> >> >> >-Alex
> >> >> >
> >> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >> >>Rovira"
> >> >> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >>wrote:
> >> >> >
> >> >> >>Hi Alex,
> >> >> >>
> >> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >> >>
> >> >> >>>   But I saw that it could be easily added so I got it working
> >> >> >>> and pushed compiler changes to a feature/vivid branch in
> >> >> >>>royale-compiler.
> >> >> >>>
> >> >> >>>
> >> >> >>This means that you get it working? after solve some repo errors, I
> >> >>build
> >> >> >>the three projects but I get the same result as yesterday.
> >> >> >>Don't know if I'm doing something wrong, or I'm interpreting the
> >>email
> >> >> >>incorrectly
> >> >> >>
> >> >> >>thanks
> >> >> >>
> >> >> >>
> >> >> >>--
> >> >> >>Carlos Rovira
> >> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
> >> >> 3A%2F%2Fabout.me%
> >> >> >>2
> >> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
> >> >> 391f4de0984c08d
> >> >> >>5
> >> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
> >> >> 46489524364497&
> >> >> >>s
> >> >> >>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
> >> >> >
> >> >>
> >> >> --
> >> >> Carlos Rovira
> >> >>
> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fabout.me%
> >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> 7C639922befb1342faa8cd08
> >> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> 7C63654664248598988
> >> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENookbxNGlVVoBHBo%3D&reserved=0
> >> >>
> >> >>
> >> >>
> >>
> >>
> >
> >
> >--
> >Carlos Rovira
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%2
> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C421d556ef2324f8401d208d5
> >789e6fa1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636547544242920441&s
> >data=Zsm8rDjQVxvhtvZyz6drm8gTJPi02arOCJlsiV3Z%2B4A%3D&reserved=0
>
>


-- 

<http://www.codeoscopic.com>

Carlos Rovira

Director General

M: +34 607 22 60 05

http://www.codeoscopic.com


Conócenos en 1 minuto! <https://avant2.es/#video>


Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Carlos,

It is unlikely that Ant artifacts will affect Maven results.  They have
different jar names.

I synced up and clean my local repo and rebuilt the compiler with the
feature/vivid branch and royale-asjs with the vivid-ui-set branch and
everything works as expected.  In
examples/royale/VividExample/target/javascript/bin/js-debug/App.css is a
TextField selector that has several properties.

The file I changed in royale-compiler is CSSManager.java.  Add a
System.out.println("This is Carlos's local copy"); at the beginning of
getCSSFromThemes.  Delete the compiler jars from your local repo and
rebuild the compiler then the framework and example.  You should see your
println in the output.  If you don't then for some reason you are pulling
the wrong one.  The console output for the compiler should show that it
put the jars in the local repo.  The console output for framework and/or
examples should show where it got the compiler jars.

-Alex

On 2/20/18, 12:13 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex,
>
>I removed all my maven repo and build all again. As well check that your
>commits are in, and removed all targets to start from a clean point.
>I created a new branch "vivid-ui-set" since the other one had the rebase
>problem.
>When I build Vivid, then BlueTheme and the Example I find that TextField
>css tule is empty and sub rules for label and input are empty as well
>I see TextField.css is in theme SWC but is not applied in final example
>app
>
>I think you should get the same if you build with maven and maybe as you
>first started to build with ANT and then with MAVEN maybe the old ant
>content was affecting the build
>
>Can you take a look?
>
>* Check the new branch and that your changes are there
>* remove as I did targets and royale vivid projects in .m2 repo
>* and try to build from scratch only with maven
>
>If you get it to work, I think something is wrong in royale since we
>should
>get the same output.
>maybe different maven version? (I'm using 3.5.0)
>
>Hope we can reach what's going on since I'm stuck with this problem and
>would like to continue working on this
>
>Thanks in advance!
>
>Carlos
>
>
>
>
>2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Hi Carlos,
>>
>> You will just have to debug it on your end.  I would recommend:
>>
>> -Verify that the source changes I made to royale-compiler are in your
>> local working copy.
>> -manually clear your local maven repo of org.apache.royale.compiler
>> artifacts
>> -rebuild royale-compiler.
>> -Scan the console output from the royals-compiler build for undetected
>> errors.  Our Maven integration isn't perfect so there is a chance the
>> compilation could report an error that doesn't return a failure code
>>that
>> stops the Maven build.
>> -Rebuild your example.
>> -Scan the console output for undetected errors. Also verify that Maven
>> pulled the compiler from your local repo instead of the snapshot server
>>or
>> some other server.
>>
>> If none of that helps you find the problem, the next thing I would do is
>> add a System.out.println to the code I modified so you can see if that
>> code gets run or not.
>>
>> HTH,
>> -Alex
>>
>> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>Rovira"
>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>>
>> >Hi Alex,
>> >
>> >2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >
>> >> I just tried it with Maven and it worked.  I didn't run the example,
>>I
>> >> just opened App.css and saw that the contents of TextField.css are in
>> >> there.
>> >>
>> >
>> >Hi Alex, I'm not seeing what you see :?
>> >I opened App.css in target, js-debug and Textfield is empty Only see {}
>> >I updated all repos and rebuild all with maven to ensure I'm with the
>> >latest
>> >
>> >
>> >>
>> >> For some reason, there were some puzzling results on merging in your
>> >> changes.  It wanted me to push commits you had made.  Not sure why
>>or if
>> >> that would affect your results.
>> >>
>> >
>> >Right, I made a rebase but it works bad and try to fix it. The problem
>>was
>> >that SourceTree had "Allow force push" unchecked.
>> >Could you confirm your changes are all ok?
>> >
>> >don't know what's hapening...
>> >
>> >Thanks
>> >
>> >
>> >
>> >>
>> >> HTH,
>> >> -Alex
>> >>
>> >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>> >>
>> >> >I saw it work.  But I was using the Ant build in order to test it
>>since
>> >> >nobody had provided it yet.  I will try with Maven later.
>> >> >
>> >> >-Alex
>> >> >
>> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos
>> >>Rovira"
>> >> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>>wrote:
>> >> >
>> >> >>Hi Alex,
>> >> >>
>> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >> >>
>> >> >>>   But I saw that it could be easily added so I got it working
>> >> >>> and pushed compiler changes to a feature/vivid branch in
>> >> >>>royale-compiler.
>> >> >>>
>> >> >>>
>> >> >>This means that you get it working? after solve some repo errors, I
>> >>build
>> >> >>the three projects but I get the same result as yesterday.
>> >> >>Don't know if I'm doing something wrong, or I'm interpreting the
>>email
>> >> >>incorrectly
>> >> >>
>> >> >>thanks
>> >> >>
>> >> >>
>> >> >>--
>> >> >>Carlos Rovira
>> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
>> >> 3A%2F%2Fabout.me%
>> >> >>2
>> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
>> >> 391f4de0984c08d
>> >> >>5
>> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>> >> 46489524364497&
>> >> >>s
>> >> >>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
>> >> >
>> >>
>> >> --
>> >> Carlos Rovira
>> >>
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fabout.me%
>> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> 7C639922befb1342faa8cd08
>> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C63654664248598988
>> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENookbxNGlVVoBHBo%3D&reserved=0
>> >>
>> >>
>> >>
>>
>>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C421d556ef2324f8401d208d5
>789e6fa1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547544242920441&s
>data=Zsm8rDjQVxvhtvZyz6drm8gTJPi02arOCJlsiV3Z%2B4A%3D&reserved=0


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,
I don't know where to put those system.out.println
Could you point me to the right classes?
thanks

2018-02-20 23:16 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Did you add a system.out.println to prove your local version is being run?
>
> Get Outlook for Android<https://aka.ms/ghei36>
>
> ________________________________
> From: carlos.rovira@gmail.com <ca...@gmail.com> on behalf of
> Carlos Rovira <ca...@apache.org>
> Sent: Tuesday, February 20, 2018 12:13:09 PM
> To: dev@royale.apache.org
> Subject: Re: How I can use multiple CSS files
>
> Hi Alex,
>
> I removed all my maven repo and build all again. As well check that your
> commits are in, and removed all targets to start from a clean point.
> I created a new branch "vivid-ui-set" since the other one had the rebase
> problem.
> When I build Vivid, then BlueTheme and the Example I find that TextField
> css tule is empty and sub rules for label and input are empty as well
> I see TextField.css is in theme SWC but is not applied in final example app
>
> I think you should get the same if you build with maven and maybe as you
> first started to build with ANT and then with MAVEN maybe the old ant
> content was affecting the build
>
> Can you take a look?
>
> * Check the new branch and that your changes are there
> * remove as I did targets and royale vivid projects in .m2 repo
> * and try to build from scratch only with maven
>
> If you get it to work, I think something is wrong in royale since we should
> get the same output.
> maybe different maven version? (I'm using 3.5.0)
>
> Hope we can reach what's going on since I'm stuck with this problem and
> would like to continue working on this
>
> Thanks in advance!
>
> Carlos
>
>
>
>
> 2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
> > Hi Carlos,
> >
> > You will just have to debug it on your end.  I would recommend:
> >
> > -Verify that the source changes I made to royale-compiler are in your
> > local working copy.
> > -manually clear your local maven repo of org.apache.royale.compiler
> > artifacts
> > -rebuild royale-compiler.
> > -Scan the console output from the royals-compiler build for undetected
> > errors.  Our Maven integration isn't perfect so there is a chance the
> > compilation could report an error that doesn't return a failure code that
> > stops the Maven build.
> > -Rebuild your example.
> > -Scan the console output for undetected errors. Also verify that Maven
> > pulled the compiler from your local repo instead of the snapshot server
> or
> > some other server.
> >
> > If none of that helps you find the problem, the next thing I would do is
> > add a System.out.println to the code I modified so you can see if that
> > code gets run or not.
> >
> > HTH,
> > -Alex
> >
> > On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos
> Rovira"
> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >
> > >Hi Alex,
> > >
> > >2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >
> > >> I just tried it with Maven and it worked.  I didn't run the example, I
> > >> just opened App.css and saw that the contents of TextField.css are in
> > >> there.
> > >>
> > >
> > >Hi Alex, I'm not seeing what you see :?
> > >I opened App.css in target, js-debug and Textfield is empty Only see {}
> > >I updated all repos and rebuild all with maven to ensure I'm with the
> > >latest
> > >
> > >
> > >>
> > >> For some reason, there were some puzzling results on merging in your
> > >> changes.  It wanted me to push commits you had made.  Not sure why or
> if
> > >> that would affect your results.
> > >>
> > >
> > >Right, I made a rebase but it works bad and try to fix it. The problem
> was
> > >that SourceTree had "Allow force push" unchecked.
> > >Could you confirm your changes are all ok?
> > >
> > >don't know what's hapening...
> > >
> > >Thanks
> > >
> > >
> > >
> > >>
> > >> HTH,
> > >> -Alex
> > >>
> > >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
> > >>
> > >> >I saw it work.  But I was using the Ant build in order to test it
> since
> > >> >nobody had provided it yet.  I will try with Maven later.
> > >> >
> > >> >-Alex
> > >> >
> > >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos
> > >>Rovira"
> > >> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> wrote:
> > >> >
> > >> >>Hi Alex,
> > >> >>
> > >> >>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >> >>
> > >> >>>   But I saw that it could be easily added so I got it working
> > >> >>> and pushed compiler changes to a feature/vivid branch in
> > >> >>>royale-compiler.
> > >> >>>
> > >> >>>
> > >> >>This means that you get it working? after solve some repo errors, I
> > >>build
> > >> >>the three projects but I get the same result as yesterday.
> > >> >>Don't know if I'm doing something wrong, or I'm interpreting the
> email
> > >> >>incorrectly
> > >> >>
> > >> >>thanks
> > >> >>
> > >> >>
> > >> >>--
> > >> >>Carlos Rovira
> > >> >>https://na01.safelinks.protection.outlook.com/?url=http%
> > >> 3A%2F%2Fabout.me%
> > >> >>2
> > >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
> > >> 391f4de0984c08d
> > >> >>5
> > >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
> > >> 46489524364497&
> > >> >>s
> > >> >>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
> > >> >
> > >>
> > >> --
> > >> Carlos Rovira
> > >>
> > >>https://na01.safelinks.protection.outlook.com/?url=
> > http%3A%2F%2Fabout.me%
> > >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > 7C639922befb1342faa8cd08
> > >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > 7C63654664248598988
> > >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENookbxNGlVVoBHBo%3D&reserved=0
> > >>
> > >>
> > >>
> >
> >
>
>
> --
> Carlos Rovira
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
> 2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C421d556ef2324f8401d208d5789e6fa1%7Cfa7b1b5a7b34438794aed2c178de
> cee1%7C0%7C0%7C636547544242920441&sdata=Zsm8rDjQVxvhtvZyz6drm8gTJPi02a
> rOCJlsiV3Z%2B4A%3D&reserved=0
>



-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Did you add a system.out.println to prove your local version is being run?

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: carlos.rovira@gmail.com <ca...@gmail.com> on behalf of Carlos Rovira <ca...@apache.org>
Sent: Tuesday, February 20, 2018 12:13:09 PM
To: dev@royale.apache.org
Subject: Re: How I can use multiple CSS files

Hi Alex,

I removed all my maven repo and build all again. As well check that your
commits are in, and removed all targets to start from a clean point.
I created a new branch "vivid-ui-set" since the other one had the rebase
problem.
When I build Vivid, then BlueTheme and the Example I find that TextField
css tule is empty and sub rules for label and input are empty as well
I see TextField.css is in theme SWC but is not applied in final example app

I think you should get the same if you build with maven and maybe as you
first started to build with ANT and then with MAVEN maybe the old ant
content was affecting the build

Can you take a look?

* Check the new branch and that your changes are there
* remove as I did targets and royale vivid projects in .m2 repo
* and try to build from scratch only with maven

If you get it to work, I think something is wrong in royale since we should
get the same output.
maybe different maven version? (I'm using 3.5.0)

Hope we can reach what's going on since I'm stuck with this problem and
would like to continue working on this

Thanks in advance!

Carlos




2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Hi Carlos,
>
> You will just have to debug it on your end.  I would recommend:
>
> -Verify that the source changes I made to royale-compiler are in your
> local working copy.
> -manually clear your local maven repo of org.apache.royale.compiler
> artifacts
> -rebuild royale-compiler.
> -Scan the console output from the royals-compiler build for undetected
> errors.  Our Maven integration isn't perfect so there is a chance the
> compilation could report an error that doesn't return a failure code that
> stops the Maven build.
> -Rebuild your example.
> -Scan the console output for undetected errors. Also verify that Maven
> pulled the compiler from your local repo instead of the snapshot server or
> some other server.
>
> If none of that helps you find the problem, the next thing I would do is
> add a System.out.println to the code I modified so you can see if that
> code gets run or not.
>
> HTH,
> -Alex
>
> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Alex,
> >
> >2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> I just tried it with Maven and it worked.  I didn't run the example, I
> >> just opened App.css and saw that the contents of TextField.css are in
> >> there.
> >>
> >
> >Hi Alex, I'm not seeing what you see :?
> >I opened App.css in target, js-debug and Textfield is empty Only see {}
> >I updated all repos and rebuild all with maven to ensure I'm with the
> >latest
> >
> >
> >>
> >> For some reason, there were some puzzling results on merging in your
> >> changes.  It wanted me to push commits you had made.  Not sure why or if
> >> that would affect your results.
> >>
> >
> >Right, I made a rebase but it works bad and try to fix it. The problem was
> >that SourceTree had "Allow force push" unchecked.
> >Could you confirm your changes are all ok?
> >
> >don't know what's hapening...
> >
> >Thanks
> >
> >
> >
> >>
> >> HTH,
> >> -Alex
> >>
> >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
> >>
> >> >I saw it work.  But I was using the Ant build in order to test it since
> >> >nobody had provided it yet.  I will try with Maven later.
> >> >
> >> >-Alex
> >> >
> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >>Rovira"
> >> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >> >
> >> >>Hi Alex,
> >> >>
> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >>
> >> >>>   But I saw that it could be easily added so I got it working
> >> >>> and pushed compiler changes to a feature/vivid branch in
> >> >>>royale-compiler.
> >> >>>
> >> >>>
> >> >>This means that you get it working? after solve some repo errors, I
> >>build
> >> >>the three projects but I get the same result as yesterday.
> >> >>Don't know if I'm doing something wrong, or I'm interpreting the email
> >> >>incorrectly
> >> >>
> >> >>thanks
> >> >>
> >> >>
> >> >>--
> >> >>Carlos Rovira
> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
> >> 3A%2F%2Fabout.me%
> >> >>2
> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
> >> 391f4de0984c08d
> >> >>5
> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
> >> 46489524364497&
> >> >>s
> >> >>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
> >> >
> >>
> >> --
> >> Carlos Rovira
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%
> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C639922befb1342faa8cd08
> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C63654664248598988
> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENookbxNGlVVoBHBo%3D&reserved=0
> >>
> >>
> >>
>
>


--
Carlos Rovira
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C421d556ef2324f8401d208d5789e6fa1%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636547544242920441&sdata=Zsm8rDjQVxvhtvZyz6drm8gTJPi02arOCJlsiV3Z%2B4A%3D&reserved=0

Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

I removed all my maven repo and build all again. As well check that your
commits are in, and removed all targets to start from a clean point.
I created a new branch "vivid-ui-set" since the other one had the rebase
problem.
When I build Vivid, then BlueTheme and the Example I find that TextField
css tule is empty and sub rules for label and input are empty as well
I see TextField.css is in theme SWC but is not applied in final example app

I think you should get the same if you build with maven and maybe as you
first started to build with ANT and then with MAVEN maybe the old ant
content was affecting the build

Can you take a look?

* Check the new branch and that your changes are there
* remove as I did targets and royale vivid projects in .m2 repo
* and try to build from scratch only with maven

If you get it to work, I think something is wrong in royale since we should
get the same output.
maybe different maven version? (I'm using 3.5.0)

Hope we can reach what's going on since I'm stuck with this problem and
would like to continue working on this

Thanks in advance!

Carlos




2018-02-20 0:55 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Hi Carlos,
>
> You will just have to debug it on your end.  I would recommend:
>
> -Verify that the source changes I made to royale-compiler are in your
> local working copy.
> -manually clear your local maven repo of org.apache.royale.compiler
> artifacts
> -rebuild royale-compiler.
> -Scan the console output from the royals-compiler build for undetected
> errors.  Our Maven integration isn't perfect so there is a chance the
> compilation could report an error that doesn't return a failure code that
> stops the Maven build.
> -Rebuild your example.
> -Scan the console output for undetected errors. Also verify that Maven
> pulled the compiler from your local repo instead of the snapshot server or
> some other server.
>
> If none of that helps you find the problem, the next thing I would do is
> add a System.out.println to the code I modified so you can see if that
> code gets run or not.
>
> HTH,
> -Alex
>
> On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Alex,
> >
> >2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> I just tried it with Maven and it worked.  I didn't run the example, I
> >> just opened App.css and saw that the contents of TextField.css are in
> >> there.
> >>
> >
> >Hi Alex, I'm not seeing what you see :?
> >I opened App.css in target, js-debug and Textfield is empty Only see {}
> >I updated all repos and rebuild all with maven to ensure I'm with the
> >latest
> >
> >
> >>
> >> For some reason, there were some puzzling results on merging in your
> >> changes.  It wanted me to push commits you had made.  Not sure why or if
> >> that would affect your results.
> >>
> >
> >Right, I made a rebase but it works bad and try to fix it. The problem was
> >that SourceTree had "Allow force push" unchecked.
> >Could you confirm your changes are all ok?
> >
> >don't know what's hapening...
> >
> >Thanks
> >
> >
> >
> >>
> >> HTH,
> >> -Alex
> >>
> >> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
> >>
> >> >I saw it work.  But I was using the Ant build in order to test it since
> >> >nobody had provided it yet.  I will try with Maven later.
> >> >
> >> >-Alex
> >> >
> >> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos
> >>Rovira"
> >> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >> >
> >> >>Hi Alex,
> >> >>
> >> >>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >> >>
> >> >>>   But I saw that it could be easily added so I got it working
> >> >>> and pushed compiler changes to a feature/vivid branch in
> >> >>>royale-compiler.
> >> >>>
> >> >>>
> >> >>This means that you get it working? after solve some repo errors, I
> >>build
> >> >>the three projects but I get the same result as yesterday.
> >> >>Don't know if I'm doing something wrong, or I'm interpreting the email
> >> >>incorrectly
> >> >>
> >> >>thanks
> >> >>
> >> >>
> >> >>--
> >> >>Carlos Rovira
> >> >>https://na01.safelinks.protection.outlook.com/?url=http%
> >> 3A%2F%2Fabout.me%
> >> >>2
> >> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
> >> 391f4de0984c08d
> >> >>5
> >> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
> >> 46489524364497&
> >> >>s
> >> >>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
> >> >
> >>
> >> --
> >> Carlos Rovira
> >>
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%
> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C639922befb1342faa8cd08
> >>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C63654664248598988
> >>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENookbxNGlVVoBHBo%3D&reserved=0
> >>
> >>
> >>
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Carlos,

You will just have to debug it on your end.  I would recommend:

-Verify that the source changes I made to royale-compiler are in your
local working copy.
-manually clear your local maven repo of org.apache.royale.compiler
artifacts
-rebuild royale-compiler.
-Scan the console output from the royals-compiler build for undetected
errors.  Our Maven integration isn't perfect so there is a chance the
compilation could report an error that doesn't return a failure code that
stops the Maven build.
-Rebuild your example.
-Scan the console output for undetected errors. Also verify that Maven
pulled the compiler from your local repo instead of the snapshot server or
some other server.

If none of that helps you find the problem, the next thing I would do is
add a System.out.println to the code I modified so you can see if that
code gets run or not.

HTH,
-Alex

On 2/19/18, 11:10 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex,
>
>2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> I just tried it with Maven and it worked.  I didn't run the example, I
>> just opened App.css and saw that the contents of TextField.css are in
>> there.
>>
>
>Hi Alex, I'm not seeing what you see :?
>I opened App.css in target, js-debug and Textfield is empty Only see {}
>I updated all repos and rebuild all with maven to ensure I'm with the
>latest
>
>
>>
>> For some reason, there were some puzzling results on merging in your
>> changes.  It wanted me to push commits you had made.  Not sure why or if
>> that would affect your results.
>>
>
>Right, I made a rebase but it works bad and try to fix it. The problem was
>that SourceTree had "Allow force push" unchecked.
>Could you confirm your changes are all ok?
>
>don't know what's hapening...
>
>Thanks
>
>
>
>>
>> HTH,
>> -Alex
>>
>> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>>
>> >I saw it work.  But I was using the Ant build in order to test it since
>> >nobody had provided it yet.  I will try with Maven later.
>> >
>> >-Alex
>> >
>> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos
>>Rovira"
>> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>> >
>> >>Hi Alex,
>> >>
>> >>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> >>
>> >>>   But I saw that it could be easily added so I got it working
>> >>> and pushed compiler changes to a feature/vivid branch in
>> >>>royale-compiler.
>> >>>
>> >>>
>> >>This means that you get it working? after solve some repo errors, I
>>build
>> >>the three projects but I get the same result as yesterday.
>> >>Don't know if I'm doing something wrong, or I'm interpreting the email
>> >>incorrectly
>> >>
>> >>thanks
>> >>
>> >>
>> >>--
>> >>Carlos Rovira
>> >>https://na01.safelinks.protection.outlook.com/?url=http%
>> 3A%2F%2Fabout.me%
>> >>2
>> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
>> 391f4de0984c08d
>> >>5
>> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>> 46489524364497&
>> >>s
>> >>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
>> >
>>
>> --
>> Carlos Rovira
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C639922befb1342faa8cd08
>>d577cc7b26%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63654664248598988
>>7&sdata=ZacvC4KrbdzDQZoUBE5msgmqpEENookbxNGlVVoBHBo%3D&reserved=0
>>
>>
>>


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

2018-02-19 18:06 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> I just tried it with Maven and it worked.  I didn't run the example, I
> just opened App.css and saw that the contents of TextField.css are in
> there.
>

Hi Alex, I'm not seeing what you see :?
I opened App.css in target, js-debug and Textfield is empty Only see {}
I updated all repos and rebuild all with maven to ensure I'm with the latest


>
> For some reason, there were some puzzling results on merging in your
> changes.  It wanted me to push commits you had made.  Not sure why or if
> that would affect your results.
>

Right, I made a rebase but it works bad and try to fix it. The problem was
that SourceTree had "Allow force push" unchecked.
Could you confirm your changes are all ok?

don't know what's hapening...

Thanks



>
> HTH,
> -Alex
>
> On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:
>
> >I saw it work.  But I was using the Ant build in order to test it since
> >nobody had provided it yet.  I will try with Maven later.
> >
> >-Alex
> >
> >On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> ><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >
> >>Hi Alex,
> >>
> >>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >>
> >>>   But I saw that it could be easily added so I got it working
> >>> and pushed compiler changes to a feature/vivid branch in
> >>>royale-compiler.
> >>>
> >>>
> >>This means that you get it working? after solve some repo errors, I build
> >>the three projects but I get the same result as yesterday.
> >>Don't know if I'm doing something wrong, or I'm interpreting the email
> >>incorrectly
> >>
> >>thanks
> >>
> >>
> >>--
> >>Carlos Rovira
> >>https://na01.safelinks.protection.outlook.com/?url=http%
> 3A%2F%2Fabout.me%
> >>2
> >>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a
> 391f4de0984c08d
> >>5
> >>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
> 46489524364497&
> >>s
> >>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>
>

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I just tried it with Maven and it worked.  I didn't run the example, I
just opened App.css and saw that the contents of TextField.css are in
there.

For some reason, there were some puzzling results on merging in your
changes.  It wanted me to push commits you had made.  Not sure why or if
that would affect your results.

HTH,
-Alex

On 2/19/18, 8:29 AM, "Alex Harui" <ah...@adobe.com.INVALID> wrote:

>I saw it work.  But I was using the Ant build in order to test it since
>nobody had provided it yet.  I will try with Maven later.
>
>-Alex
>
>On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
><carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
>>Hi Alex,
>>
>>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>
>>>   But I saw that it could be easily added so I got it working
>>> and pushed compiler changes to a feature/vivid branch in
>>>royale-compiler.
>>>
>>>
>>This means that you get it working? after solve some repo errors, I build
>>the three projects but I get the same result as yesterday.
>>Don't know if I'm doing something wrong, or I'm interpreting the email
>>incorrectly
>>
>>thanks
>>
>>
>>-- 
>>Carlos Rovira
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2
>>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a391f4de0984c08d
>>5
>>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636546489524364497&
>>s
>>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0
>


Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
I saw it work.  But I was using the Ant build in order to test it since
nobody had provided it yet.  I will try with Maven later.

-Alex

On 2/19/18, 6:55 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex,
>
>2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>>   But I saw that it could be easily added so I got it working
>> and pushed compiler changes to a feature/vivid branch in
>>royale-compiler.
>>
>>
>This means that you get it working? after solve some repo errors, I build
>the three projects but I get the same result as yesterday.
>Don't know if I'm doing something wrong, or I'm interpreting the email
>incorrectly
>
>thanks
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C2bee894a391f4de0984c08d5
>77a8de96%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636546489524364497&s
>data=FI%2B2hRup%2ByKMqR0qY0YYeRgt9aBDwTuHEqjSmXmonJw%3D&reserved=0


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

2018-02-19 7:08 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

>   But I saw that it could be easily added so I got it working
> and pushed compiler changes to a feature/vivid branch in royale-compiler.
>
>
This means that you get it working? after solve some repo errors, I build
the three projects but I get the same result as yesterday.
Don't know if I'm doing something wrong, or I'm interpreting the email
incorrectly

thanks


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Carlos,

I'm not guaranteed to drop what I'm doing to work on what you want me to.
I think it was more important to get ASDoc working when minified.

It turns out I was reading the code incorrectly.  The code I was looking
at supports individual CSS files as themes, instead of multiple CSS files
in a SWC.   But I saw that it could be easily added so I got it working
and pushed compiler changes to a feature/vivid branch in royale-compiler.

-Alex

On 2/18/18, 8:39 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex,
>
>could you take a look at this problem? Hope you can help me with this
>
>thanks in advance!
>
>Carlos
>
>
>2018-02-16 12:18 GMT+01:00 Carlos Rovira <ca...@apache.org>:
>
>> Hi Alex,
>>
>> if as you said all pieces are in place, maybe I'm doing something wrong,
>> since I don't get it to work.
>>
>> Can you check the current example in "feature/vivid" branch?
>>
>> *First build "Vivid" project (in projects folder)*. Here only look to
>> "TextField" component. This component uses "TextField" type selector as
>> main css class. Then, it builds two subcomponents that uses "
>> vTextField--input" and "vTextField--label" (I'll check later when this
>> problem is solved what we said internal structure and see how much we
>>can
>> make it as plain as possible, so this is temporal structure and mostly
>>I'm
>> still experimenting to see results and implications of those results).
>>In
>> this project I only want to add for now beads like a Model or
>> Controller...the rest View and css rules will go on theme project
>>
>> *Then build theme project: VividBlueTheme (in projects folder)*. Here
>>you
>> will have css rules mainly, svg, and beads that define visuals, like a
>>View
>> bead. So we should not expect classes here, or only classes that create
>> visuals, but will have several .css files. Right now we have
>>"defaults.css"
>> and "TextField.css".
>> I added the second along defaults to pom.xml
>>
>> <includeFiles>
>> <include-file>
>> <name>defaults.css</name>
>> <path>../src/main/resources/defaults.css</path>
>> </include-file>
>> <include-file>
>> <name>TextField.css</name>
>> <path>../src/main/resources/TextField.css</path>
>> </include-file>
>> </includeFiles>
>>
>> So the final swc has the right files. (If you unzip both files are in
>> place). As we solve this problem, we should see if we can merge all
>>files
>> into one, to improve load performance.
>>
>> *Finaly we have VividExample project (in example folder).* In this
>> project we are using vivid UI set in concrete <v:TextField/>
>>
>> I linked theme in pom.xml with
>>
>> 
>><additionalCompilerOptions>-theme=${basedir}/../../../frameworks/projects
>>/
>> 
>>VividBlueTheme/target/VividBlueTheme-${royale.framework.version}-js.swc</
>> additionalCompilerOptions>
>>
>> anad is working
>>
>> This TextField should get *defaults.css* base styles (mainly model bead)
>> from Vivid.swc and styles from *TextField.css* (rest of css rules).
>>
>> But this is not happen, since *TextField.css *in theme, although is
>> included in the theme .swc is not being used in the example
>>
>> So I'm a bit lost at this point.
>>
>> Hope you can let me know if this is a bug, or maybe I'm doing something
>> wrong
>>
>> thanks!
>>
>> Carlos
>>
>>
>>
>>
>> 2018-02-15 10:25 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>>
>>> If you end up with the issue let's fill a bug on github! Let's track
>>>some
>>> things through the github issues.
>>>
>>> Piotr
>>>
>>> 2018-02-15 10:21 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>>
>>> > Right now, all css files are combined into one final css file.  If
>>>you
>>> > compile App.mxml, you will get an App.css with all selectors from all
>>> SWCs
>>> > that applied to the classes in the output.  I've actually been
>>>thinking
>>> > about changing that so that if you specify a css file in an fx:Style
>>>we
>>> > copy it as-is to the output folder.  That way you could update the
>>> source
>>> > CSS and copy it over and see the changes without a recompile.
>>> >
>>> > The code sure looks like if VividBlueTheme is listed in the -theme
>>> option
>>> > that the compiler would pick it up.  Did you actually look in the
>>>final
>>> > .css file?  It could be an ordering problem where some other css
>>>stomps
>>> on
>>> > the things you specified in VividBlueTheme.
>>> >
>>> > Also, unzip VividBlueTheme.swc and make sure the .css files are in
>>>the
>>> SWC.
>>> >
>>> > If that all looks good, post a small test case so I can look into it.
>>> >
>>> > -Alex
>>> >
>>> >
>>> > On 2/14/18, 11:16 PM, "carlos.rovira@gmail.com on behalf of Carlos
>>> Rovira"
>>> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>>> >
>>> > >Hi Alex,
>>> > >
>>> > >I'm a bit confused here. I created the thread since I'm already
>>>trying
>>> it.
>>> > >In VividBlueTheme, I added in pom.xml two <includefiles>
>>> > >one for typical defaults.css and another for TextField.css
>>> > >Both, are in theme SWC thanks to maven build, at that point is ok.
>>> > >
>>> > >The problem is that final app is not using TextField.css, but is
>>>using
>>> > >defaults.css
>>> > >
>>> > >So I think I only need to know how defaults.css is been applied to
>>>be
>>> used
>>> > >in final example App and get Textfield.css be applied as well in the
>>> same
>>> > >way so the final user don't need to link in the final App.
>>> > >
>>> > >One thing that could be great to make this better is to make all
>>> > >components
>>> > >css files developed at "creation time" be joined into one single
>>> > >"defaults.css" file (or other name) for production purposes and
>>>remove
>>> the
>>> > >load of lots of css files. But this is an improvement over the first
>>> part
>>> > >
>>> > >thanks for looking into this
>>> > >
>>> > >
>>> > >
>>> > >
>>> > >2018-02-14 23:38 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>> > >
>>> > >> Hi Carlos,
>>> > >>
>>> > >> I looked at the compiler some more.  It appears that this feature
>>> > >>already
>>> > >> exists.  When I answered earlier, I was looking at code that loads
>>> SWCs
>>> > >> off the library path and the compiler only looks at defaults.css
>>>in
>>> > >>those
>>> > >> files, but I just saw that in SWCs specified as themes it will use
>>> every
>>> > >> .css file.
>>> > >>
>>> > >> Please try it and let us know if it works.  One thing to be
>>>careful
>>> of
>>> > >>is
>>> > >> that I'm not sure you can control the order of the .css files.
>>> Maybe by
>>> > >> specifying the order they are specified to COMPC (the SWC
>>>compiler).
>>> > >> Order will only matter for overriding style properties.
>>> > >>
>>> > >> HTH,
>>> > >> -Alex
>>> > >>
>>> > >> On 2/14/18, 2:26 PM, "carlos.rovira@gmail.com on behalf of Carlos
>>> > >>Rovira"
>>> > >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>>> wrote:
>>> > >>
>>> > >> >Hi Alex,
>>> > >> >
>>> > >> >I read @import and seems is not recommended for many reasons
>>> > >>(concurrence
>>> > >> >mainly) so I think is not a solution.
>>> > >> >My bet is that this will make more easy to develop themes since I
>>> can
>>> > >>go
>>> > >> >directly to the css file "Textfield.css" and make changes over a
>>>few
>>> > >>set
>>> > >> >of
>>> > >> >lines.
>>> > >> >I never touched the compiler, so If you could add support for
>>>this
>>> > >>feature
>>> > >> >in order to use all css files included (I think this would must
>>>be
>>> the
>>> > >> >ones
>>> > >> >listed in the pom.xml)
>>> > >> >It would be more easy to me to continue developing this feature.
>>> Could
>>> > >>you
>>> > >> >help me with this? For what you said maybe for you is not a long
>>> task
>>> > >>and
>>> > >> >can be ready in moderate few time,
>>> > >> >
>>> > >> >@Harbs, could you tell us a bit more of you MXML proposal, maybe
>>> some
>>> > >> >explanation with few example names could help me see your method
>>> > >> >
>>> > >> >Thanks both with this!
>>> > >> >
>>> > >> >Carlos
>>> > >> >
>>> > >> >
>>> > >> >
>>> > >> >2018-02-13 19:44 GMT+01:00 Gabe Harbs <ha...@gmail.com>:
>>> > >> >
>>> > >> >> Why not just use MXML files?
>>> > >> >>
>>> > >> >> You can use MXML files to subclass components and specify the
>>>CSS
>>> in
>>> > >>the
>>> > >> >> <fx:Style> section.
>>> > >> >>
>>> > >> >> > On Feb 13, 2018, at 1:20 PM, Carlos Rovira
>>> > >><ca...@apache.org>
>>> > >> >> wrote:
>>> > >> >> >
>>> > >> >> > Hi,
>>> > >> >> >
>>> > >> >> > I'm organizing CSS files in Vivid (new ui set) -
>>>VividBlueTheme
>>> > >>(first
>>> > >> >> > theme) - VividExample (example to show all working)
>>> > >> >> >
>>> > >> >> > I want to develop each component look-and-feel and style in a
>>> > >>single
>>> > >> >>file
>>> > >> >> > in the theme project:
>>> > >> >> >
>>> > >> >> > default.css (this could hold global styling like body,
>>>headers,
>>> > >> >> background
>>> > >> >> > color, and more)
>>> > >> >> > TextField.css (all css to make a TextField be represented in
>>>a
>>> > >> >>particular
>>> > >> >> > way)
>>> > >> >> > Button.css
>>> > >> >> > Slider.css
>>> > >> >> > ...
>>> > >> >> >
>>> > >> >> > in my theme pom I have:
>>> > >> >> >
>>> > >> >> > <includeFiles>
>>> > >> >> > <include-file>
>>> > >> >> > <name>defaults.css</name>
>>> > >> >> > <path>../src/main/resources/defaults.css</path>
>>> > >> >> > </include-file>
>>> > >> >> > <include-file>
>>> > >> >> > <name>TextField.css</name>
>>> > >> >> > <path>../src/main/resources/TextField.css</path>
>>> > >> >> > </include-file>
>>> > >> >> > </includeFiles>
>>> > >> >> >
>>> > >> >> > and I check the resulting VividBlueTheme.swc and has
>>>default.css
>>> > >>and
>>> > >> >> > TextField.css
>>> > >> >> >
>>> > >> >> > * First question here is: Can I collapse all css content in
>>> > >>multiple
>>> > >> >> files
>>> > >> >> > in a single .css (i.e: defaults.css or themename.css)?
>>> > >> >> >
>>> > >> >> > Then in vivid example how CSS in theme projects are
>>>referenced?
>>> I
>>> > >>see
>>> > >> >> > "defaults.css" is begin applied, but "TextField.css" is not
>>> > >> >> >
>>> > >> >> > * Second question how to apply a included .css file to be
>>>used
>>> in
>>> > >> >>example
>>> > >> >> >
>>> > >> >> > Notice that if we get all css in one single file we don't
>>>need
>>> the
>>> > >> >>second
>>> > >> >> > part.
>>> > >> >> >
>>> > >> >> > Hope you could help me on this in order to continue progress
>>> with
>>> > >>this
>>> > >> >> > effort
>>> > >> >> >
>>> > >> >> > thanks
>>> > >> >> >
>>> > >> >> >
>>> > >> >> >
>>> > >> >> >
>>> > >> >> > --
>>> > >> >> > Carlos Rovira
>>> > >> >> >
>>> > >> >>https://na01.safelinks.protection.outlook.com/?url=
>>> > >> http%3A%2F%2Fabout.me%
>>> > >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>> > >> 7Cc93b59f46bd14932987808
>>> > >> >>d573fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>> > >> 7C63654244033165639
>>> > >>
>>> > >>>>8&sdata=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&
>>> > reserved=0
>>> > >> >>
>>> > >> >>
>>> > >> >
>>> > >> >
>>> > >> >--
>>> > >> >Carlos Rovira
>>> > >> >https://na01.safelinks.protection.outlook.com/?url=
>>> > >> http%3A%2F%2Fabout.me%2
>>> > >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>> > >> 7Cc93b59f46bd14932987808d5
>>> > >> >73fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>> > >> 7C636542440331656398&s
>>> > >> >data=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&r
>>> eserved=0
>>> > >>
>>> > >>
>>> > >
>>> > >
>>> > >--
>>> > >Carlos Rovira
>>> > >https://na01.safelinks.protection.outlook.com/?url=
>>> > http%3A%2F%2Fabout.me%2
>>> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>>> > 7C1ff2d174b6fe40b590be08d5
>>> > >744423ab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>>> > 7C636542758395312206&s
>>> > >data=Ax1BfqYXSQveONWJyi1bbhaTXeiebLAyNKbMjtFDOeI%3D&reserved=0
>>> >
>>> >
>>>
>>>
>>> --
>>>
>>> Piotr Zarzycki
>>>
>>> Patreon: 
>>>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa
>>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C381eabeeae
>>>8242fa74db08d576ee4de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>>45688268190724&sdata=rtTNmIWITafLf3dxJpMLiMBGpFRr%2BE6I6X0MsaLNdSs%3D&re
>>>served=0
>>> 
>>><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.pa
>>>treon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C381eabeeae
>>>8242fa74db08d576ee4de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365
>>>45688268190724&sdata=rtTNmIWITafLf3dxJpMLiMBGpFRr%2BE6I6X0MsaLNdSs%3D&re
>>>served=0>*
>>>
>>
>>
>>
>> --
>> Carlos Rovira
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C381eabeeae8242fa74db08
>>d576ee4de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63654568826819072
>>4&sdata=NA9uGJKbQvkrg3ToAV5GwYNVdOnWh%2B4ZFv%2BOn%2F5QIGI%3D&reserved=0
>>
>>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C381eabeeae8242fa74db08d5
>76ee4de2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636545688268190724&s
>data=NA9uGJKbQvkrg3ToAV5GwYNVdOnWh%2B4ZFv%2BOn%2F5QIGI%3D&reserved=0


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

could you take a look at this problem? Hope you can help me with this

thanks in advance!

Carlos


2018-02-16 12:18 GMT+01:00 Carlos Rovira <ca...@apache.org>:

> Hi Alex,
>
> if as you said all pieces are in place, maybe I'm doing something wrong,
> since I don't get it to work.
>
> Can you check the current example in "feature/vivid" branch?
>
> *First build "Vivid" project (in projects folder)*. Here only look to
> "TextField" component. This component uses "TextField" type selector as
> main css class. Then, it builds two subcomponents that uses "
> vTextField--input" and "vTextField--label" (I'll check later when this
> problem is solved what we said internal structure and see how much we can
> make it as plain as possible, so this is temporal structure and mostly I'm
> still experimenting to see results and implications of those results). In
> this project I only want to add for now beads like a Model or
> Controller...the rest View and css rules will go on theme project
>
> *Then build theme project: VividBlueTheme (in projects folder)*. Here you
> will have css rules mainly, svg, and beads that define visuals, like a View
> bead. So we should not expect classes here, or only classes that create
> visuals, but will have several .css files. Right now we have "defaults.css"
> and "TextField.css".
> I added the second along defaults to pom.xml
>
> <includeFiles>
> <include-file>
> <name>defaults.css</name>
> <path>../src/main/resources/defaults.css</path>
> </include-file>
> <include-file>
> <name>TextField.css</name>
> <path>../src/main/resources/TextField.css</path>
> </include-file>
> </includeFiles>
>
> So the final swc has the right files. (If you unzip both files are in
> place). As we solve this problem, we should see if we can merge all files
> into one, to improve load performance.
>
> *Finaly we have VividExample project (in example folder).* In this
> project we are using vivid UI set in concrete <v:TextField/>
>
> I linked theme in pom.xml with
>
> <additionalCompilerOptions>-theme=${basedir}/../../../frameworks/projects/
> VividBlueTheme/target/VividBlueTheme-${royale.framework.version}-js.swc</
> additionalCompilerOptions>
>
> anad is working
>
> This TextField should get *defaults.css* base styles (mainly model bead)
> from Vivid.swc and styles from *TextField.css* (rest of css rules).
>
> But this is not happen, since *TextField.css *in theme, although is
> included in the theme .swc is not being used in the example
>
> So I'm a bit lost at this point.
>
> Hope you can let me know if this is a bug, or maybe I'm doing something
> wrong
>
> thanks!
>
> Carlos
>
>
>
>
> 2018-02-15 10:25 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:
>
>> If you end up with the issue let's fill a bug on github! Let's track some
>> things through the github issues.
>>
>> Piotr
>>
>> 2018-02-15 10:21 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>>
>> > Right now, all css files are combined into one final css file.  If you
>> > compile App.mxml, you will get an App.css with all selectors from all
>> SWCs
>> > that applied to the classes in the output.  I've actually been thinking
>> > about changing that so that if you specify a css file in an fx:Style we
>> > copy it as-is to the output folder.  That way you could update the
>> source
>> > CSS and copy it over and see the changes without a recompile.
>> >
>> > The code sure looks like if VividBlueTheme is listed in the -theme
>> option
>> > that the compiler would pick it up.  Did you actually look in the final
>> > .css file?  It could be an ordering problem where some other css stomps
>> on
>> > the things you specified in VividBlueTheme.
>> >
>> > Also, unzip VividBlueTheme.swc and make sure the .css files are in the
>> SWC.
>> >
>> > If that all looks good, post a small test case so I can look into it.
>> >
>> > -Alex
>> >
>> >
>> > On 2/14/18, 11:16 PM, "carlos.rovira@gmail.com on behalf of Carlos
>> Rovira"
>> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>> >
>> > >Hi Alex,
>> > >
>> > >I'm a bit confused here. I created the thread since I'm already trying
>> it.
>> > >In VividBlueTheme, I added in pom.xml two <includefiles>
>> > >one for typical defaults.css and another for TextField.css
>> > >Both, are in theme SWC thanks to maven build, at that point is ok.
>> > >
>> > >The problem is that final app is not using TextField.css, but is using
>> > >defaults.css
>> > >
>> > >So I think I only need to know how defaults.css is been applied to be
>> used
>> > >in final example App and get Textfield.css be applied as well in the
>> same
>> > >way so the final user don't need to link in the final App.
>> > >
>> > >One thing that could be great to make this better is to make all
>> > >components
>> > >css files developed at "creation time" be joined into one single
>> > >"defaults.css" file (or other name) for production purposes and remove
>> the
>> > >load of lots of css files. But this is an improvement over the first
>> part
>> > >
>> > >thanks for looking into this
>> > >
>> > >
>> > >
>> > >
>> > >2018-02-14 23:38 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>> > >
>> > >> Hi Carlos,
>> > >>
>> > >> I looked at the compiler some more.  It appears that this feature
>> > >>already
>> > >> exists.  When I answered earlier, I was looking at code that loads
>> SWCs
>> > >> off the library path and the compiler only looks at defaults.css in
>> > >>those
>> > >> files, but I just saw that in SWCs specified as themes it will use
>> every
>> > >> .css file.
>> > >>
>> > >> Please try it and let us know if it works.  One thing to be careful
>> of
>> > >>is
>> > >> that I'm not sure you can control the order of the .css files.
>> Maybe by
>> > >> specifying the order they are specified to COMPC (the SWC compiler).
>> > >> Order will only matter for overriding style properties.
>> > >>
>> > >> HTH,
>> > >> -Alex
>> > >>
>> > >> On 2/14/18, 2:26 PM, "carlos.rovira@gmail.com on behalf of Carlos
>> > >>Rovira"
>> > >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>> wrote:
>> > >>
>> > >> >Hi Alex,
>> > >> >
>> > >> >I read @import and seems is not recommended for many reasons
>> > >>(concurrence
>> > >> >mainly) so I think is not a solution.
>> > >> >My bet is that this will make more easy to develop themes since I
>> can
>> > >>go
>> > >> >directly to the css file "Textfield.css" and make changes over a few
>> > >>set
>> > >> >of
>> > >> >lines.
>> > >> >I never touched the compiler, so If you could add support for this
>> > >>feature
>> > >> >in order to use all css files included (I think this would must be
>> the
>> > >> >ones
>> > >> >listed in the pom.xml)
>> > >> >It would be more easy to me to continue developing this feature.
>> Could
>> > >>you
>> > >> >help me with this? For what you said maybe for you is not a long
>> task
>> > >>and
>> > >> >can be ready in moderate few time,
>> > >> >
>> > >> >@Harbs, could you tell us a bit more of you MXML proposal, maybe
>> some
>> > >> >explanation with few example names could help me see your method
>> > >> >
>> > >> >Thanks both with this!
>> > >> >
>> > >> >Carlos
>> > >> >
>> > >> >
>> > >> >
>> > >> >2018-02-13 19:44 GMT+01:00 Gabe Harbs <ha...@gmail.com>:
>> > >> >
>> > >> >> Why not just use MXML files?
>> > >> >>
>> > >> >> You can use MXML files to subclass components and specify the CSS
>> in
>> > >>the
>> > >> >> <fx:Style> section.
>> > >> >>
>> > >> >> > On Feb 13, 2018, at 1:20 PM, Carlos Rovira
>> > >><ca...@apache.org>
>> > >> >> wrote:
>> > >> >> >
>> > >> >> > Hi,
>> > >> >> >
>> > >> >> > I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme
>> > >>(first
>> > >> >> > theme) - VividExample (example to show all working)
>> > >> >> >
>> > >> >> > I want to develop each component look-and-feel and style in a
>> > >>single
>> > >> >>file
>> > >> >> > in the theme project:
>> > >> >> >
>> > >> >> > default.css (this could hold global styling like body, headers,
>> > >> >> background
>> > >> >> > color, and more)
>> > >> >> > TextField.css (all css to make a TextField be represented in a
>> > >> >>particular
>> > >> >> > way)
>> > >> >> > Button.css
>> > >> >> > Slider.css
>> > >> >> > ...
>> > >> >> >
>> > >> >> > in my theme pom I have:
>> > >> >> >
>> > >> >> > <includeFiles>
>> > >> >> > <include-file>
>> > >> >> > <name>defaults.css</name>
>> > >> >> > <path>../src/main/resources/defaults.css</path>
>> > >> >> > </include-file>
>> > >> >> > <include-file>
>> > >> >> > <name>TextField.css</name>
>> > >> >> > <path>../src/main/resources/TextField.css</path>
>> > >> >> > </include-file>
>> > >> >> > </includeFiles>
>> > >> >> >
>> > >> >> > and I check the resulting VividBlueTheme.swc and has default.css
>> > >>and
>> > >> >> > TextField.css
>> > >> >> >
>> > >> >> > * First question here is: Can I collapse all css content in
>> > >>multiple
>> > >> >> files
>> > >> >> > in a single .css (i.e: defaults.css or themename.css)?
>> > >> >> >
>> > >> >> > Then in vivid example how CSS in theme projects are referenced?
>> I
>> > >>see
>> > >> >> > "defaults.css" is begin applied, but "TextField.css" is not
>> > >> >> >
>> > >> >> > * Second question how to apply a included .css file to be used
>> in
>> > >> >>example
>> > >> >> >
>> > >> >> > Notice that if we get all css in one single file we don't need
>> the
>> > >> >>second
>> > >> >> > part.
>> > >> >> >
>> > >> >> > Hope you could help me on this in order to continue progress
>> with
>> > >>this
>> > >> >> > effort
>> > >> >> >
>> > >> >> > thanks
>> > >> >> >
>> > >> >> >
>> > >> >> >
>> > >> >> >
>> > >> >> > --
>> > >> >> > Carlos Rovira
>> > >> >> >
>> > >> >>https://na01.safelinks.protection.outlook.com/?url=
>> > >> http%3A%2F%2Fabout.me%
>> > >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> > >> 7Cc93b59f46bd14932987808
>> > >> >>d573fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> > >> 7C63654244033165639
>> > >>
>> > >>>>8&sdata=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&
>> > reserved=0
>> > >> >>
>> > >> >>
>> > >> >
>> > >> >
>> > >> >--
>> > >> >Carlos Rovira
>> > >> >https://na01.safelinks.protection.outlook.com/?url=
>> > >> http%3A%2F%2Fabout.me%2
>> > >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> > >> 7Cc93b59f46bd14932987808d5
>> > >> >73fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> > >> 7C636542440331656398&s
>> > >> >data=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&r
>> eserved=0
>> > >>
>> > >>
>> > >
>> > >
>> > >--
>> > >Carlos Rovira
>> > >https://na01.safelinks.protection.outlook.com/?url=
>> > http%3A%2F%2Fabout.me%2
>> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> > 7C1ff2d174b6fe40b590be08d5
>> > >744423ab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> > 7C636542758395312206&s
>> > >data=Ax1BfqYXSQveONWJyi1bbhaTXeiebLAyNKbMjtFDOeI%3D&reserved=0
>> >
>> >
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

if as you said all pieces are in place, maybe I'm doing something wrong,
since I don't get it to work.

Can you check the current example in "feature/vivid" branch?

*First build "Vivid" project (in projects folder)*. Here only look to
"TextField" component. This component uses "TextField" type selector as
main css class. Then, it builds two subcomponents that uses "
vTextField--input" and "vTextField--label" (I'll check later when this
problem is solved what we said internal structure and see how much we can
make it as plain as possible, so this is temporal structure and mostly I'm
still experimenting to see results and implications of those results). In
this project I only want to add for now beads like a Model or
Controller...the rest View and css rules will go on theme project

*Then build theme project: VividBlueTheme (in projects folder)*. Here you
will have css rules mainly, svg, and beads that define visuals, like a View
bead. So we should not expect classes here, or only classes that create
visuals, but will have several .css files. Right now we have "defaults.css"
and "TextField.css".
I added the second along defaults to pom.xml

<includeFiles>
<include-file>
<name>defaults.css</name>
<path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>TextField.css</name>
<path>../src/main/resources/TextField.css</path>
</include-file>
</includeFiles>

So the final swc has the right files. (If you unzip both files are in
place). As we solve this problem, we should see if we can merge all files
into one, to improve load performance.

*Finaly we have VividExample project (in example folder).* In this project
we are using vivid UI set in concrete <v:TextField/>

I linked theme in pom.xml with

<additionalCompilerOptions>
-theme=${basedir}/../../../frameworks/projects/VividBlueTheme/target/VividBlueTheme-${royale.framework.version}-js.swc
</additionalCompilerOptions>

anad is working

This TextField should get *defaults.css* base styles (mainly model bead)
from Vivid.swc and styles from *TextField.css* (rest of css rules).

But this is not happen, since *TextField.css *in theme, although is
included in the theme .swc is not being used in the example

So I'm a bit lost at this point.

Hope you can let me know if this is a bug, or maybe I'm doing something
wrong

thanks!

Carlos




2018-02-15 10:25 GMT+01:00 Piotr Zarzycki <pi...@gmail.com>:

> If you end up with the issue let's fill a bug on github! Let's track some
> things through the github issues.
>
> Piotr
>
> 2018-02-15 10:21 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
> > Right now, all css files are combined into one final css file.  If you
> > compile App.mxml, you will get an App.css with all selectors from all
> SWCs
> > that applied to the classes in the output.  I've actually been thinking
> > about changing that so that if you specify a css file in an fx:Style we
> > copy it as-is to the output folder.  That way you could update the source
> > CSS and copy it over and see the changes without a recompile.
> >
> > The code sure looks like if VividBlueTheme is listed in the -theme option
> > that the compiler would pick it up.  Did you actually look in the final
> > .css file?  It could be an ordering problem where some other css stomps
> on
> > the things you specified in VividBlueTheme.
> >
> > Also, unzip VividBlueTheme.swc and make sure the .css files are in the
> SWC.
> >
> > If that all looks good, post a small test case so I can look into it.
> >
> > -Alex
> >
> >
> > On 2/14/18, 11:16 PM, "carlos.rovira@gmail.com on behalf of Carlos
> Rovira"
> > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >
> > >Hi Alex,
> > >
> > >I'm a bit confused here. I created the thread since I'm already trying
> it.
> > >In VividBlueTheme, I added in pom.xml two <includefiles>
> > >one for typical defaults.css and another for TextField.css
> > >Both, are in theme SWC thanks to maven build, at that point is ok.
> > >
> > >The problem is that final app is not using TextField.css, but is using
> > >defaults.css
> > >
> > >So I think I only need to know how defaults.css is been applied to be
> used
> > >in final example App and get Textfield.css be applied as well in the
> same
> > >way so the final user don't need to link in the final App.
> > >
> > >One thing that could be great to make this better is to make all
> > >components
> > >css files developed at "creation time" be joined into one single
> > >"defaults.css" file (or other name) for production purposes and remove
> the
> > >load of lots of css files. But this is an improvement over the first
> part
> > >
> > >thanks for looking into this
> > >
> > >
> > >
> > >
> > >2018-02-14 23:38 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> > >
> > >> Hi Carlos,
> > >>
> > >> I looked at the compiler some more.  It appears that this feature
> > >>already
> > >> exists.  When I answered earlier, I was looking at code that loads
> SWCs
> > >> off the library path and the compiler only looks at defaults.css in
> > >>those
> > >> files, but I just saw that in SWCs specified as themes it will use
> every
> > >> .css file.
> > >>
> > >> Please try it and let us know if it works.  One thing to be careful of
> > >>is
> > >> that I'm not sure you can control the order of the .css files.  Maybe
> by
> > >> specifying the order they are specified to COMPC (the SWC compiler).
> > >> Order will only matter for overriding style properties.
> > >>
> > >> HTH,
> > >> -Alex
> > >>
> > >> On 2/14/18, 2:26 PM, "carlos.rovira@gmail.com on behalf of Carlos
> > >>Rovira"
> > >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> > >>
> > >> >Hi Alex,
> > >> >
> > >> >I read @import and seems is not recommended for many reasons
> > >>(concurrence
> > >> >mainly) so I think is not a solution.
> > >> >My bet is that this will make more easy to develop themes since I can
> > >>go
> > >> >directly to the css file "Textfield.css" and make changes over a few
> > >>set
> > >> >of
> > >> >lines.
> > >> >I never touched the compiler, so If you could add support for this
> > >>feature
> > >> >in order to use all css files included (I think this would must be
> the
> > >> >ones
> > >> >listed in the pom.xml)
> > >> >It would be more easy to me to continue developing this feature.
> Could
> > >>you
> > >> >help me with this? For what you said maybe for you is not a long task
> > >>and
> > >> >can be ready in moderate few time,
> > >> >
> > >> >@Harbs, could you tell us a bit more of you MXML proposal, maybe some
> > >> >explanation with few example names could help me see your method
> > >> >
> > >> >Thanks both with this!
> > >> >
> > >> >Carlos
> > >> >
> > >> >
> > >> >
> > >> >2018-02-13 19:44 GMT+01:00 Gabe Harbs <ha...@gmail.com>:
> > >> >
> > >> >> Why not just use MXML files?
> > >> >>
> > >> >> You can use MXML files to subclass components and specify the CSS
> in
> > >>the
> > >> >> <fx:Style> section.
> > >> >>
> > >> >> > On Feb 13, 2018, at 1:20 PM, Carlos Rovira
> > >><ca...@apache.org>
> > >> >> wrote:
> > >> >> >
> > >> >> > Hi,
> > >> >> >
> > >> >> > I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme
> > >>(first
> > >> >> > theme) - VividExample (example to show all working)
> > >> >> >
> > >> >> > I want to develop each component look-and-feel and style in a
> > >>single
> > >> >>file
> > >> >> > in the theme project:
> > >> >> >
> > >> >> > default.css (this could hold global styling like body, headers,
> > >> >> background
> > >> >> > color, and more)
> > >> >> > TextField.css (all css to make a TextField be represented in a
> > >> >>particular
> > >> >> > way)
> > >> >> > Button.css
> > >> >> > Slider.css
> > >> >> > ...
> > >> >> >
> > >> >> > in my theme pom I have:
> > >> >> >
> > >> >> > <includeFiles>
> > >> >> > <include-file>
> > >> >> > <name>defaults.css</name>
> > >> >> > <path>../src/main/resources/defaults.css</path>
> > >> >> > </include-file>
> > >> >> > <include-file>
> > >> >> > <name>TextField.css</name>
> > >> >> > <path>../src/main/resources/TextField.css</path>
> > >> >> > </include-file>
> > >> >> > </includeFiles>
> > >> >> >
> > >> >> > and I check the resulting VividBlueTheme.swc and has default.css
> > >>and
> > >> >> > TextField.css
> > >> >> >
> > >> >> > * First question here is: Can I collapse all css content in
> > >>multiple
> > >> >> files
> > >> >> > in a single .css (i.e: defaults.css or themename.css)?
> > >> >> >
> > >> >> > Then in vivid example how CSS in theme projects are referenced? I
> > >>see
> > >> >> > "defaults.css" is begin applied, but "TextField.css" is not
> > >> >> >
> > >> >> > * Second question how to apply a included .css file to be used in
> > >> >>example
> > >> >> >
> > >> >> > Notice that if we get all css in one single file we don't need
> the
> > >> >>second
> > >> >> > part.
> > >> >> >
> > >> >> > Hope you could help me on this in order to continue progress with
> > >>this
> > >> >> > effort
> > >> >> >
> > >> >> > thanks
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> >
> > >> >> > --
> > >> >> > Carlos Rovira
> > >> >> >
> > >> >>https://na01.safelinks.protection.outlook.com/?url=
> > >> http%3A%2F%2Fabout.me%
> > >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > >> 7Cc93b59f46bd14932987808
> > >> >>d573fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > >> 7C63654244033165639
> > >>
> > >>>>8&sdata=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&
> > reserved=0
> > >> >>
> > >> >>
> > >> >
> > >> >
> > >> >--
> > >> >Carlos Rovira
> > >> >https://na01.safelinks.protection.outlook.com/?url=
> > >> http%3A%2F%2Fabout.me%2
> > >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > >> 7Cc93b59f46bd14932987808d5
> > >> >73fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > >> 7C636542440331656398&s
> > >> >data=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&reserved=0
> > >>
> > >>
> > >
> > >
> > >--
> > >Carlos Rovira
> > >https://na01.safelinks.protection.outlook.com/?url=
> > http%3A%2F%2Fabout.me%2
> > >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> > 7C1ff2d174b6fe40b590be08d5
> > >744423ab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> > 7C636542758395312206&s
> > >data=Ax1BfqYXSQveONWJyi1bbhaTXeiebLAyNKbMjtFDOeI%3D&reserved=0
> >
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>



-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Piotr Zarzycki <pi...@gmail.com>.
If you end up with the issue let's fill a bug on github! Let's track some
things through the github issues.

Piotr

2018-02-15 10:21 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Right now, all css files are combined into one final css file.  If you
> compile App.mxml, you will get an App.css with all selectors from all SWCs
> that applied to the classes in the output.  I've actually been thinking
> about changing that so that if you specify a css file in an fx:Style we
> copy it as-is to the output folder.  That way you could update the source
> CSS and copy it over and see the changes without a recompile.
>
> The code sure looks like if VividBlueTheme is listed in the -theme option
> that the compiler would pick it up.  Did you actually look in the final
> .css file?  It could be an ordering problem where some other css stomps on
> the things you specified in VividBlueTheme.
>
> Also, unzip VividBlueTheme.swc and make sure the .css files are in the SWC.
>
> If that all looks good, post a small test case so I can look into it.
>
> -Alex
>
>
> On 2/14/18, 11:16 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Alex,
> >
> >I'm a bit confused here. I created the thread since I'm already trying it.
> >In VividBlueTheme, I added in pom.xml two <includefiles>
> >one for typical defaults.css and another for TextField.css
> >Both, are in theme SWC thanks to maven build, at that point is ok.
> >
> >The problem is that final app is not using TextField.css, but is using
> >defaults.css
> >
> >So I think I only need to know how defaults.css is been applied to be used
> >in final example App and get Textfield.css be applied as well in the same
> >way so the final user don't need to link in the final App.
> >
> >One thing that could be great to make this better is to make all
> >components
> >css files developed at "creation time" be joined into one single
> >"defaults.css" file (or other name) for production purposes and remove the
> >load of lots of css files. But this is an improvement over the first part
> >
> >thanks for looking into this
> >
> >
> >
> >
> >2018-02-14 23:38 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
> >
> >> Hi Carlos,
> >>
> >> I looked at the compiler some more.  It appears that this feature
> >>already
> >> exists.  When I answered earlier, I was looking at code that loads SWCs
> >> off the library path and the compiler only looks at defaults.css in
> >>those
> >> files, but I just saw that in SWCs specified as themes it will use every
> >> .css file.
> >>
> >> Please try it and let us know if it works.  One thing to be careful of
> >>is
> >> that I'm not sure you can control the order of the .css files.  Maybe by
> >> specifying the order they are specified to COMPC (the SWC compiler).
> >> Order will only matter for overriding style properties.
> >>
> >> HTH,
> >> -Alex
> >>
> >> On 2/14/18, 2:26 PM, "carlos.rovira@gmail.com on behalf of Carlos
> >>Rovira"
> >> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
> >>
> >> >Hi Alex,
> >> >
> >> >I read @import and seems is not recommended for many reasons
> >>(concurrence
> >> >mainly) so I think is not a solution.
> >> >My bet is that this will make more easy to develop themes since I can
> >>go
> >> >directly to the css file "Textfield.css" and make changes over a few
> >>set
> >> >of
> >> >lines.
> >> >I never touched the compiler, so If you could add support for this
> >>feature
> >> >in order to use all css files included (I think this would must be the
> >> >ones
> >> >listed in the pom.xml)
> >> >It would be more easy to me to continue developing this feature. Could
> >>you
> >> >help me with this? For what you said maybe for you is not a long task
> >>and
> >> >can be ready in moderate few time,
> >> >
> >> >@Harbs, could you tell us a bit more of you MXML proposal, maybe some
> >> >explanation with few example names could help me see your method
> >> >
> >> >Thanks both with this!
> >> >
> >> >Carlos
> >> >
> >> >
> >> >
> >> >2018-02-13 19:44 GMT+01:00 Gabe Harbs <ha...@gmail.com>:
> >> >
> >> >> Why not just use MXML files?
> >> >>
> >> >> You can use MXML files to subclass components and specify the CSS in
> >>the
> >> >> <fx:Style> section.
> >> >>
> >> >> > On Feb 13, 2018, at 1:20 PM, Carlos Rovira
> >><ca...@apache.org>
> >> >> wrote:
> >> >> >
> >> >> > Hi,
> >> >> >
> >> >> > I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme
> >>(first
> >> >> > theme) - VividExample (example to show all working)
> >> >> >
> >> >> > I want to develop each component look-and-feel and style in a
> >>single
> >> >>file
> >> >> > in the theme project:
> >> >> >
> >> >> > default.css (this could hold global styling like body, headers,
> >> >> background
> >> >> > color, and more)
> >> >> > TextField.css (all css to make a TextField be represented in a
> >> >>particular
> >> >> > way)
> >> >> > Button.css
> >> >> > Slider.css
> >> >> > ...
> >> >> >
> >> >> > in my theme pom I have:
> >> >> >
> >> >> > <includeFiles>
> >> >> > <include-file>
> >> >> > <name>defaults.css</name>
> >> >> > <path>../src/main/resources/defaults.css</path>
> >> >> > </include-file>
> >> >> > <include-file>
> >> >> > <name>TextField.css</name>
> >> >> > <path>../src/main/resources/TextField.css</path>
> >> >> > </include-file>
> >> >> > </includeFiles>
> >> >> >
> >> >> > and I check the resulting VividBlueTheme.swc and has default.css
> >>and
> >> >> > TextField.css
> >> >> >
> >> >> > * First question here is: Can I collapse all css content in
> >>multiple
> >> >> files
> >> >> > in a single .css (i.e: defaults.css or themename.css)?
> >> >> >
> >> >> > Then in vivid example how CSS in theme projects are referenced? I
> >>see
> >> >> > "defaults.css" is begin applied, but "TextField.css" is not
> >> >> >
> >> >> > * Second question how to apply a included .css file to be used in
> >> >>example
> >> >> >
> >> >> > Notice that if we get all css in one single file we don't need the
> >> >>second
> >> >> > part.
> >> >> >
> >> >> > Hope you could help me on this in order to continue progress with
> >>this
> >> >> > effort
> >> >> >
> >> >> > thanks
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Carlos Rovira
> >> >> >
> >> >>https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fabout.me%
> >> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> 7Cc93b59f46bd14932987808
> >> >>d573fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> 7C63654244033165639
> >>
> >>>>8&sdata=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&
> reserved=0
> >> >>
> >> >>
> >> >
> >> >
> >> >--
> >> >Carlos Rovira
> >> >https://na01.safelinks.protection.outlook.com/?url=
> >> http%3A%2F%2Fabout.me%2
> >> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> >> 7Cc93b59f46bd14932987808d5
> >> >73fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> >> 7C636542440331656398&s
> >> >data=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&reserved=0
> >>
> >>
> >
> >
> >--
> >Carlos Rovira
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%2
> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7C1ff2d174b6fe40b590be08d5
> >744423ab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636542758395312206&s
> >data=Ax1BfqYXSQveONWJyi1bbhaTXeiebLAyNKbMjtFDOeI%3D&reserved=0
>
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Right now, all css files are combined into one final css file.  If you
compile App.mxml, you will get an App.css with all selectors from all SWCs
that applied to the classes in the output.  I've actually been thinking
about changing that so that if you specify a css file in an fx:Style we
copy it as-is to the output folder.  That way you could update the source
CSS and copy it over and see the changes without a recompile.

The code sure looks like if VividBlueTheme is listed in the -theme option
that the compiler would pick it up.  Did you actually look in the final
.css file?  It could be an ordering problem where some other css stomps on
the things you specified in VividBlueTheme.

Also, unzip VividBlueTheme.swc and make sure the .css files are in the SWC.

If that all looks good, post a small test case so I can look into it.

-Alex


On 2/14/18, 11:16 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex,
>
>I'm a bit confused here. I created the thread since I'm already trying it.
>In VividBlueTheme, I added in pom.xml two <includefiles>
>one for typical defaults.css and another for TextField.css
>Both, are in theme SWC thanks to maven build, at that point is ok.
>
>The problem is that final app is not using TextField.css, but is using
>defaults.css
>
>So I think I only need to know how defaults.css is been applied to be used
>in final example App and get Textfield.css be applied as well in the same
>way so the final user don't need to link in the final App.
>
>One thing that could be great to make this better is to make all
>components
>css files developed at "creation time" be joined into one single
>"defaults.css" file (or other name) for production purposes and remove the
>load of lots of css files. But this is an improvement over the first part
>
>thanks for looking into this
>
>
>
>
>2018-02-14 23:38 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:
>
>> Hi Carlos,
>>
>> I looked at the compiler some more.  It appears that this feature
>>already
>> exists.  When I answered earlier, I was looking at code that loads SWCs
>> off the library path and the compiler only looks at defaults.css in
>>those
>> files, but I just saw that in SWCs specified as themes it will use every
>> .css file.
>>
>> Please try it and let us know if it works.  One thing to be careful of
>>is
>> that I'm not sure you can control the order of the .css files.  Maybe by
>> specifying the order they are specified to COMPC (the SWC compiler).
>> Order will only matter for overriding style properties.
>>
>> HTH,
>> -Alex
>>
>> On 2/14/18, 2:26 PM, "carlos.rovira@gmail.com on behalf of Carlos
>>Rovira"
>> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>>
>> >Hi Alex,
>> >
>> >I read @import and seems is not recommended for many reasons
>>(concurrence
>> >mainly) so I think is not a solution.
>> >My bet is that this will make more easy to develop themes since I can
>>go
>> >directly to the css file "Textfield.css" and make changes over a few
>>set
>> >of
>> >lines.
>> >I never touched the compiler, so If you could add support for this
>>feature
>> >in order to use all css files included (I think this would must be the
>> >ones
>> >listed in the pom.xml)
>> >It would be more easy to me to continue developing this feature. Could
>>you
>> >help me with this? For what you said maybe for you is not a long task
>>and
>> >can be ready in moderate few time,
>> >
>> >@Harbs, could you tell us a bit more of you MXML proposal, maybe some
>> >explanation with few example names could help me see your method
>> >
>> >Thanks both with this!
>> >
>> >Carlos
>> >
>> >
>> >
>> >2018-02-13 19:44 GMT+01:00 Gabe Harbs <ha...@gmail.com>:
>> >
>> >> Why not just use MXML files?
>> >>
>> >> You can use MXML files to subclass components and specify the CSS in
>>the
>> >> <fx:Style> section.
>> >>
>> >> > On Feb 13, 2018, at 1:20 PM, Carlos Rovira
>><ca...@apache.org>
>> >> wrote:
>> >> >
>> >> > Hi,
>> >> >
>> >> > I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme
>>(first
>> >> > theme) - VividExample (example to show all working)
>> >> >
>> >> > I want to develop each component look-and-feel and style in a
>>single
>> >>file
>> >> > in the theme project:
>> >> >
>> >> > default.css (this could hold global styling like body, headers,
>> >> background
>> >> > color, and more)
>> >> > TextField.css (all css to make a TextField be represented in a
>> >>particular
>> >> > way)
>> >> > Button.css
>> >> > Slider.css
>> >> > ...
>> >> >
>> >> > in my theme pom I have:
>> >> >
>> >> > <includeFiles>
>> >> > <include-file>
>> >> > <name>defaults.css</name>
>> >> > <path>../src/main/resources/defaults.css</path>
>> >> > </include-file>
>> >> > <include-file>
>> >> > <name>TextField.css</name>
>> >> > <path>../src/main/resources/TextField.css</path>
>> >> > </include-file>
>> >> > </includeFiles>
>> >> >
>> >> > and I check the resulting VividBlueTheme.swc and has default.css
>>and
>> >> > TextField.css
>> >> >
>> >> > * First question here is: Can I collapse all css content in
>>multiple
>> >> files
>> >> > in a single .css (i.e: defaults.css or themename.css)?
>> >> >
>> >> > Then in vivid example how CSS in theme projects are referenced? I
>>see
>> >> > "defaults.css" is begin applied, but "TextField.css" is not
>> >> >
>> >> > * Second question how to apply a included .css file to be used in
>> >>example
>> >> >
>> >> > Notice that if we get all css in one single file we don't need the
>> >>second
>> >> > part.
>> >> >
>> >> > Hope you could help me on this in order to continue progress with
>>this
>> >> > effort
>> >> >
>> >> > thanks
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Carlos Rovira
>> >> >
>> >>https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fabout.me%
>> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> 7Cc93b59f46bd14932987808
>> >>d573fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C63654244033165639
>> 
>>>>8&sdata=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&reserved=0
>> >>
>> >>
>> >
>> >
>> >--
>> >Carlos Rovira
>> >https://na01.safelinks.protection.outlook.com/?url=
>> http%3A%2F%2Fabout.me%2
>> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
>> 7Cc93b59f46bd14932987808d5
>> >73fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
>> 7C636542440331656398&s
>> >data=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&reserved=0
>>
>>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C1ff2d174b6fe40b590be08d5
>744423ab%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542758395312206&s
>data=Ax1BfqYXSQveONWJyi1bbhaTXeiebLAyNKbMjtFDOeI%3D&reserved=0


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

I'm a bit confused here. I created the thread since I'm already trying it.
In VividBlueTheme, I added in pom.xml two <includefiles>
one for typical defaults.css and another for TextField.css
Both, are in theme SWC thanks to maven build, at that point is ok.

The problem is that final app is not using TextField.css, but is using
defaults.css

So I think I only need to know how defaults.css is been applied to be used
in final example App and get Textfield.css be applied as well in the same
way so the final user don't need to link in the final App.

One thing that could be great to make this better is to make all components
css files developed at "creation time" be joined into one single
"defaults.css" file (or other name) for production purposes and remove the
load of lots of css files. But this is an improvement over the first part

thanks for looking into this




2018-02-14 23:38 GMT+01:00 Alex Harui <ah...@adobe.com.invalid>:

> Hi Carlos,
>
> I looked at the compiler some more.  It appears that this feature already
> exists.  When I answered earlier, I was looking at code that loads SWCs
> off the library path and the compiler only looks at defaults.css in those
> files, but I just saw that in SWCs specified as themes it will use every
> .css file.
>
> Please try it and let us know if it works.  One thing to be careful of is
> that I'm not sure you can control the order of the .css files.  Maybe by
> specifying the order they are specified to COMPC (the SWC compiler).
> Order will only matter for overriding style properties.
>
> HTH,
> -Alex
>
> On 2/14/18, 2:26 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >Hi Alex,
> >
> >I read @import and seems is not recommended for many reasons (concurrence
> >mainly) so I think is not a solution.
> >My bet is that this will make more easy to develop themes since I can go
> >directly to the css file "Textfield.css" and make changes over a few set
> >of
> >lines.
> >I never touched the compiler, so If you could add support for this feature
> >in order to use all css files included (I think this would must be the
> >ones
> >listed in the pom.xml)
> >It would be more easy to me to continue developing this feature. Could you
> >help me with this? For what you said maybe for you is not a long task and
> >can be ready in moderate few time,
> >
> >@Harbs, could you tell us a bit more of you MXML proposal, maybe some
> >explanation with few example names could help me see your method
> >
> >Thanks both with this!
> >
> >Carlos
> >
> >
> >
> >2018-02-13 19:44 GMT+01:00 Gabe Harbs <ha...@gmail.com>:
> >
> >> Why not just use MXML files?
> >>
> >> You can use MXML files to subclass components and specify the CSS in the
> >> <fx:Style> section.
> >>
> >> > On Feb 13, 2018, at 1:20 PM, Carlos Rovira <ca...@apache.org>
> >> wrote:
> >> >
> >> > Hi,
> >> >
> >> > I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme (first
> >> > theme) - VividExample (example to show all working)
> >> >
> >> > I want to develop each component look-and-feel and style in a single
> >>file
> >> > in the theme project:
> >> >
> >> > default.css (this could hold global styling like body, headers,
> >> background
> >> > color, and more)
> >> > TextField.css (all css to make a TextField be represented in a
> >>particular
> >> > way)
> >> > Button.css
> >> > Slider.css
> >> > ...
> >> >
> >> > in my theme pom I have:
> >> >
> >> > <includeFiles>
> >> > <include-file>
> >> > <name>defaults.css</name>
> >> > <path>../src/main/resources/defaults.css</path>
> >> > </include-file>
> >> > <include-file>
> >> > <name>TextField.css</name>
> >> > <path>../src/main/resources/TextField.css</path>
> >> > </include-file>
> >> > </includeFiles>
> >> >
> >> > and I check the resulting VividBlueTheme.swc and has default.css and
> >> > TextField.css
> >> >
> >> > * First question here is: Can I collapse all css content in multiple
> >> files
> >> > in a single .css (i.e: defaults.css or themename.css)?
> >> >
> >> > Then in vivid example how CSS in theme projects are referenced? I see
> >> > "defaults.css" is begin applied, but "TextField.css" is not
> >> >
> >> > * Second question how to apply a included .css file to be used in
> >>example
> >> >
> >> > Notice that if we get all css in one single file we don't need the
> >>second
> >> > part.
> >> >
> >> > Hope you could help me on this in order to continue progress with this
> >> > effort
> >> >
> >> > thanks
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Carlos Rovira
> >> >
> >>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%
> >>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7Cc93b59f46bd14932987808
> >>d573fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C63654244033165639
> >>8&sdata=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&reserved=0
> >>
> >>
> >
> >
> >--
> >Carlos Rovira
> >https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fabout.me%2
> >Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%
> 7Cc93b59f46bd14932987808d5
> >73fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%
> 7C636542440331656398&s
> >data=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&reserved=0
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Carlos,

I looked at the compiler some more.  It appears that this feature already
exists.  When I answered earlier, I was looking at code that loads SWCs
off the library path and the compiler only looks at defaults.css in those
files, but I just saw that in SWCs specified as themes it will use every
.css file.

Please try it and let us know if it works.  One thing to be careful of is
that I'm not sure you can control the order of the .css files.  Maybe by
specifying the order they are specified to COMPC (the SWC compiler).
Order will only matter for overriding style properties.

HTH,
-Alex

On 2/14/18, 2:26 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi Alex,
>
>I read @import and seems is not recommended for many reasons (concurrence
>mainly) so I think is not a solution.
>My bet is that this will make more easy to develop themes since I can go
>directly to the css file "Textfield.css" and make changes over a few set
>of
>lines.
>I never touched the compiler, so If you could add support for this feature
>in order to use all css files included (I think this would must be the
>ones
>listed in the pom.xml)
>It would be more easy to me to continue developing this feature. Could you
>help me with this? For what you said maybe for you is not a long task and
>can be ready in moderate few time,
>
>@Harbs, could you tell us a bit more of you MXML proposal, maybe some
>explanation with few example names could help me see your method
>
>Thanks both with this!
>
>Carlos
>
>
>
>2018-02-13 19:44 GMT+01:00 Gabe Harbs <ha...@gmail.com>:
>
>> Why not just use MXML files?
>>
>> You can use MXML files to subclass components and specify the CSS in the
>> <fx:Style> section.
>>
>> > On Feb 13, 2018, at 1:20 PM, Carlos Rovira <ca...@apache.org>
>> wrote:
>> >
>> > Hi,
>> >
>> > I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme (first
>> > theme) - VividExample (example to show all working)
>> >
>> > I want to develop each component look-and-feel and style in a single
>>file
>> > in the theme project:
>> >
>> > default.css (this could hold global styling like body, headers,
>> background
>> > color, and more)
>> > TextField.css (all css to make a TextField be represented in a
>>particular
>> > way)
>> > Button.css
>> > Slider.css
>> > ...
>> >
>> > in my theme pom I have:
>> >
>> > <includeFiles>
>> > <include-file>
>> > <name>defaults.css</name>
>> > <path>../src/main/resources/defaults.css</path>
>> > </include-file>
>> > <include-file>
>> > <name>TextField.css</name>
>> > <path>../src/main/resources/TextField.css</path>
>> > </include-file>
>> > </includeFiles>
>> >
>> > and I check the resulting VividBlueTheme.swc and has default.css and
>> > TextField.css
>> >
>> > * First question here is: Can I collapse all css content in multiple
>> files
>> > in a single .css (i.e: defaults.css or themename.css)?
>> >
>> > Then in vivid example how CSS in theme projects are referenced? I see
>> > "defaults.css" is begin applied, but "TextField.css" is not
>> >
>> > * Second question how to apply a included .css file to be used in
>>example
>> >
>> > Notice that if we get all css in one single file we don't need the
>>second
>> > part.
>> >
>> > Hope you could help me on this in order to continue progress with this
>> > effort
>> >
>> > thanks
>> >
>> >
>> >
>> >
>> > --
>> > Carlos Rovira
>> > 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cc93b59f46bd14932987808
>>d573fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63654244033165639
>>8&sdata=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&reserved=0
>>
>>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cc93b59f46bd14932987808d5
>73fa170f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636542440331656398&s
>data=xDHvYWVSZxZ%2FgZRYrXVYw1Z%2BqXaGMRGOKyCh0U%2FIvBo%3D&reserved=0


Re: How I can use multiple CSS files

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

I read @import and seems is not recommended for many reasons (concurrence
mainly) so I think is not a solution.
My bet is that this will make more easy to develop themes since I can go
directly to the css file "Textfield.css" and make changes over a few set of
lines.
I never touched the compiler, so If you could add support for this feature
in order to use all css files included (I think this would must be the ones
listed in the pom.xml)
It would be more easy to me to continue developing this feature. Could you
help me with this? For what you said maybe for you is not a long task and
can be ready in moderate few time,

@Harbs, could you tell us a bit more of you MXML proposal, maybe some
explanation with few example names could help me see your method

Thanks both with this!

Carlos



2018-02-13 19:44 GMT+01:00 Gabe Harbs <ha...@gmail.com>:

> Why not just use MXML files?
>
> You can use MXML files to subclass components and specify the CSS in the
> <fx:Style> section.
>
> > On Feb 13, 2018, at 1:20 PM, Carlos Rovira <ca...@apache.org>
> wrote:
> >
> > Hi,
> >
> > I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme (first
> > theme) - VividExample (example to show all working)
> >
> > I want to develop each component look-and-feel and style in a single file
> > in the theme project:
> >
> > default.css (this could hold global styling like body, headers,
> background
> > color, and more)
> > TextField.css (all css to make a TextField be represented in a particular
> > way)
> > Button.css
> > Slider.css
> > ...
> >
> > in my theme pom I have:
> >
> > <includeFiles>
> > <include-file>
> > <name>defaults.css</name>
> > <path>../src/main/resources/defaults.css</path>
> > </include-file>
> > <include-file>
> > <name>TextField.css</name>
> > <path>../src/main/resources/TextField.css</path>
> > </include-file>
> > </includeFiles>
> >
> > and I check the resulting VividBlueTheme.swc and has default.css and
> > TextField.css
> >
> > * First question here is: Can I collapse all css content in multiple
> files
> > in a single .css (i.e: defaults.css or themename.css)?
> >
> > Then in vivid example how CSS in theme projects are referenced? I see
> > "defaults.css" is begin applied, but "TextField.css" is not
> >
> > * Second question how to apply a included .css file to be used in example
> >
> > Notice that if we get all css in one single file we don't need the second
> > part.
> >
> > Hope you could help me on this in order to continue progress with this
> > effort
> >
> > thanks
> >
> >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
>
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: How I can use multiple CSS files

Posted by Gabe Harbs <ha...@gmail.com>.
Why not just use MXML files?

You can use MXML files to subclass components and specify the CSS in the <fx:Style> section.

> On Feb 13, 2018, at 1:20 PM, Carlos Rovira <ca...@apache.org> wrote:
> 
> Hi,
> 
> I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme (first
> theme) - VividExample (example to show all working)
> 
> I want to develop each component look-and-feel and style in a single file
> in the theme project:
> 
> default.css (this could hold global styling like body, headers, background
> color, and more)
> TextField.css (all css to make a TextField be represented in a particular
> way)
> Button.css
> Slider.css
> ...
> 
> in my theme pom I have:
> 
> <includeFiles>
> <include-file>
> <name>defaults.css</name>
> <path>../src/main/resources/defaults.css</path>
> </include-file>
> <include-file>
> <name>TextField.css</name>
> <path>../src/main/resources/TextField.css</path>
> </include-file>
> </includeFiles>
> 
> and I check the resulting VividBlueTheme.swc and has default.css and
> TextField.css
> 
> * First question here is: Can I collapse all css content in multiple files
> in a single .css (i.e: defaults.css or themename.css)?
> 
> Then in vivid example how CSS in theme projects are referenced? I see
> "defaults.css" is begin applied, but "TextField.css" is not
> 
> * Second question how to apply a included .css file to be used in example
> 
> Notice that if we get all css in one single file we don't need the second
> part.
> 
> Hope you could help me on this in order to continue progress with this
> effort
> 
> thanks
> 
> 
> 
> 
> -- 
> Carlos Rovira
> http://about.me/carlosrovira


Re: How I can use multiple CSS files

Posted by Alex Harui <ah...@adobe.com.INVALID>.
Hi Carlos,

I looked around and don't see any support for multiple CSS files in the
compiler.  I could add it, but I'd rather spend my time on other things.
I'm unclear what the return on investment is.

If you do decide to change the compiler, it appears that CSS has an
@import statement, so I would recommend starting by trying to implement
support for that.  An alternative approach would be to have the compiler
try to find all .css files in a SWC.  Right now it only looks for
defaults.css.

And, of course, you could probably find a Maven and Ant way of
concatenating all of the files during the build.

Remember that Royale lets you extend the set of Type Selectors so you can
(and should) have selectors with the same name as the component.  And then
I think it is relatively easy to find a component's selector in the
defaults.css or guess what selector name to use in your fx:Styel block.

I don't know if your work will end up generating class selectors as well
as type selectors, but if it does, having one file might make it easier to
avoid collisions in class selector names.

Good luck,
-Alex

On 2/13/18, 3:20 AM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>Hi,
>
>I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme (first
>theme) - VividExample (example to show all working)
>
>I want to develop each component look-and-feel and style in a single file
>in the theme project:
>
>default.css (this could hold global styling like body, headers, background
>color, and more)
>TextField.css (all css to make a TextField be represented in a particular
>way)
>Button.css
>Slider.css
>...
>
>in my theme pom I have:
>
><includeFiles>
><include-file>
><name>defaults.css</name>
><path>../src/main/resources/defaults.css</path>
></include-file>
><include-file>
><name>TextField.css</name>
><path>../src/main/resources/TextField.css</path>
></include-file>
></includeFiles>
>
>and I check the resulting VividBlueTheme.swc and has default.css and
>TextField.css
>
>* First question here is: Can I collapse all css content in multiple files
>in a single .css (i.e: defaults.css or themename.css)?
>
>Then in vivid example how CSS in theme projects are referenced? I see
>"defaults.css" is begin applied, but "TextField.css" is not
>
>* Second question how to apply a included .css file to be used in example
>
>Notice that if we get all css in one single file we don't need the second
>part.
>
>Hope you could help me on this in order to continue progress with this
>effort
>
>thanks
>
>
>
>
>-- 
>Carlos Rovira
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2
>Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C02c48a3da9454fde800508d5
>72d3d2d4%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636541176461226993&s
>data=BVn%2Fx1e8QtZ4%2F8evAsM2VZsrHNapak2itoeahhWpnRY%3D&reserved=0