Hi Alex

I think this change makes this happen, can take a look at it? I was looking
but my fixes seems not be the right ones so maybe is better to look in the
compiler

189970 bytes written to
/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/MobileStocks/target/MobileStocks-0.9.4-SNAPSHOT.swf
in 1.880 seconds

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/MobileStocks/src/main/royale/MyInitialView.mxml(151):
col: 23 Error: org.apache.royale.html.beads.BackgroundImageBead is not
defined.


font-size: 18pt;

                  ^


/Users/carlosrovira/Dev/Royale/Source/royale-asjs/examples/royale/MobileStocks/src/main/royale/MyInitialView.mxml(151):
col: 23 Error: org.apache.royale.html.beads.BackgroundImageBead is not
defined.


font-size: 18pt;

                  ^

[*INFO*]
*------------------------------------------------------------------------*

[*INFO*] *Reactor Summary:*

[*INFO*]

[*INFO*] Apache Royale: Examples: Royale: MobileStocks 0.9.4-SNAPSHOT
*FAILURE* [  4.364 s]

[*INFO*] Apache Royale: Examples: Royale: MobileTrader ...... *SKIPPED*

[*INFO*] Apache Royale: Examples: Royale: ModuleExample ..... *SKIPPED*

[*INFO*] Apache Royale: Examples: Royale: ModuleExample: MainApp *SKIPPED*
*...*

*thanks*

*Carlos*



2018-05-22 20:16 GMT+02:00 <aha...@apache.org>:

> This is an automated email from the ASF dual-hosted git repository.
>
> aharui pushed a commit to branch develop
> in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
>
>
> The following commit(s) were added to refs/heads/develop by this push:
>      new c73d89e  remove code that copied in all CSS from files other than
> defaults.css.  It was originally intended to handle folks specifying
> fx:Styles in other files, but I'm pretty sure we've since fixed that in
> other ways, and that code was wrongly copying in CSS from theme files.  So
> we'll see if custom css files break after this change
> c73d89e is described below
>
> commit c73d89ec20c2ffbbb1d3eeca47204e9cdcc50510
> Author: Alex Harui <aha...@apache.org>
> AuthorDate: Tue May 22 11:16:39 2018 -0700
>
>     remove code that copied in all CSS from files other than
> defaults.css.  It was originally intended to handle folks specifying
> fx:Styles in other files, but I'm pretty sure we've since fixed that in
> other ways, and that code was wrongly copying in CSS from theme files.  So
> we'll see if custom css files break after this change
> ---
>  .../internal/driver/js/royale/JSCSSCompilationSession.java       | 9
> +--------
>  1 file changed, 1 insertion(+), 8 deletions(-)
>
> diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/
> internal/driver/js/royale/JSCSSCompilationSession.java
> b/compiler-jx/src/main/java/org/apache/royale/compiler/
> internal/driver/js/royale/JSCSSCompilationSession.java
> index fad1da8..f0031aa 100644
> --- a/compiler-jx/src/main/java/org/apache/royale/compiler/
> internal/driver/js/royale/JSCSSCompilationSession.java
> +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/
> internal/driver/js/royale/JSCSSCompilationSession.java
> @@ -549,14 +549,7 @@ public class JSCSSCompilationSession extends
> CSSCompilationSession
>      {
>         if (super.keepRule(newRule))
>                 return true;
> -
> -       // include all rules not found in defaults.css
> -       // theoretically, defaults.css rules were
> -       // properly added in the super call.
> -       String sp = newRule.getSourcePath();
> -       if (!sp.contains("defaults.css"))
> -               return true;
> -
> +
>         // might need to loop over all selectors in selector group
>         if (newRule.getSelectorGroup().size() > 0)
>         {
>
> --
> To stop receiving notification emails like this one, please contact
> aha...@apache.org.
>



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

Reply via email to