Re: How I can use multiple CSS files

2018-02-22 Thread Carlos Rovira
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 : >

Re: How I can use multiple CSS files

2018-02-22 Thread Piotr Zarzycki
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 : > That's the problem

Re: How I can use multiple CSS files

2018-02-22 Thread Piotr Zarzycki
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

Re: How I can use multiple CSS files

2018-02-22 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-22 Thread Alex Harui
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

Re: How I can use multiple CSS files

2018-02-22 Thread Piotr Zarzycki
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 : > 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

Re: How I can use multiple CSS files

2018-02-22 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-21 Thread Alex Harui
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" wrote: >Hi Piotr >That’s good! Although disturbing since I can

Re: How I can use multiple CSS files

2018-02-21 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-21 Thread piotrz
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

Re: How I can use multiple CSS files

2018-02-21 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-21 Thread Piotr Zarzycki
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 : >

Re: How I can use multiple CSS files

2018-02-21 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-21 Thread Piotr Zarzycki
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 : > You'll have to debug it. I can't reproduce it. For the third time, did > you try the

Re: How I can use multiple CSS files

2018-02-21 Thread Alex Harui
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

Re: How I can use multiple CSS files

2018-02-21 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-20 Thread Alex Harui
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

Re: How I can use multiple CSS files

2018-02-20 Thread Carlos Rovira
<https://aka.ms/ghei36> > > > From: carlos.rov...@gmail.com <carlos.rov...@gmail.com> on behalf of > Carlos Rovira <carlosrov...@apache.org> > Sent: Tuesday, February 20, 2018 12:13:09 PM > To: dev@royale.apache.org > Subject: R

Re: How I can use multiple CSS files

2018-02-20 Thread Alex Harui
esday, 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&q

Re: How I can use multiple CSS files

2018-02-20 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-19 Thread Alex Harui
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

Re: How I can use multiple CSS files

2018-02-19 Thread Carlos Rovira
Hi Alex, 2018-02-19 18:06 GMT+01:00 Alex Harui : > 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

Re: How I can use multiple CSS files

2018-02-19 Thread Alex Harui
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

Re: How I can use multiple CSS files

2018-02-19 Thread Alex Harui
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.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, >

Re: How I can use multiple CSS files

2018-02-19 Thread Carlos Rovira
Hi Alex, 2018-02-19 7:08 GMT+01:00 Alex Harui : > 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

Re: How I can use multiple CSS files

2018-02-18 Thread Alex Harui
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

Re: How I can use multiple CSS files

2018-02-18 Thread Carlos Rovira
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 : > 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.

Re: How I can use multiple CSS files

2018-02-16 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-15 Thread Piotr Zarzycki
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 : > Right now, all css files are combined into one final css file. If you > compile App.mxml, you will get an

Re: How I can use multiple CSS files

2018-02-15 Thread Alex Harui
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

Re: How I can use multiple CSS files

2018-02-14 Thread Carlos Rovira
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 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

Re: How I can use multiple CSS files

2018-02-14 Thread Alex Harui
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

Re: How I can use multiple CSS files

2018-02-14 Thread Carlos Rovira
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

Re: How I can use multiple CSS files

2018-02-13 Thread Gabe Harbs
Why not just use MXML files? You can use MXML files to subclass components and specify the CSS in the section. > On Feb 13, 2018, at 1:20 PM, Carlos Rovira wrote: > > Hi, > > I'm organizing CSS files in Vivid (new ui set) - VividBlueTheme (first > theme) -

Re: How I can use multiple CSS files

2018-02-13 Thread Alex Harui
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