A few things to keep in mind:

* You must set source-map compiler option to true in both the library and
application projects.
* You may need to clean the output folder of your application project
before the source maps from the SWC will be copied there. (In my case I
didn't need that maybe thanks to how maven builds, but can't ensure)
* Debugging will work only on the computer where the SWC was built.

El jue., 15 nov. 2018 a las 10:10, Carlos Rovira (<carlosrov...@apache.org>)
escribió:

> Hi Piotr,
>
> I think nothing is involved in extension, just pure compiler.
> One more thing to take into account is that debug only works in the
> machine where is developed, since I think it uses absolute paths
> Maybe something that could be improved over time :)
>
>
>
> El jue., 15 nov. 2018 a las 10:05, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>) escribió:
>
>> Hi Carlos,
>>
>> Good news. He upgrade his extension using Nightly Build of compiler ?
>>
>> Piotr
>>
>> czw., 15 lis 2018 o 09:46 Carlos Rovira <carlosrov...@apache.org>
>> napisał(a):
>>
>> > Hi,
>> >
>> > just let you know that Josh updated compiler so now libraries can
>> generate
>> > source maps.
>> > Of course you need to add source map config to the library.
>> > I was trying today in my library projects (in real world project) and
>> > working fine, so that makes in my opinion a great step forward in
>> > developing Apache Royale Apps since most of the code use to be in
>> > libraries.
>> >
>> >
>> >
>> > --
>> > 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
>
>

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

Reply via email to