royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Zarzycki <>
Subject Re: How to get assets (svg, png,...) inside *-js.swc and *-swf.swc libraries
Date Sat, 24 Feb 2018 23:48:16 GMT
I came into similar problem while working on transpiledactionscript
website. There were some CSS construction like scaleY, rotate etc. which
simply wasn't accepted by compiler - That is a bug - probably I should
raise an issue - I forgot about that.

I did workaround - I specified new file under recourse/additional.css -
where I put all problematic css. I've added link to it in
"mdl-js-index-template.html". Once I got maven build I had to have that
file in the bin/js-debug/resources/additional.css.

Compiler won't copy it for me, so I have used maven-resource-plugin in
order to copy that file [1]. I believe that is some additional approach.


Thanks, Piotr

2018-02-24 18:35 GMT+01:00 Carlos Rovira <>:

> Hi,
> the final "environment" problem I've is that SVGs that I put in
> src/main/resources/assets are not in
> final VividBlueTheme-0.9.2-SNAPSHOT-js.swc
> I see it copied to target/classes as usual in maven build, but are not part
> of the theme swc file.
> it's something missing in the theme implementation? or maybe something I
> need to setup in pom.xml?
> thanks
> --
> Carlos Rovira


Piotr Zarzycki

Patreon: *

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message