Hi Maria, Firstly, I think that option is only relevant when compiling an 'application' and not a 'swc' (using 'mxmlc' and not 'compc' ). That might be the only reason it is happening, but I did not try these options yet, so have not checked this.
If the above is not the reason, then it could also be related to an old version of the compiler specified in a library pom and not inherited from the 0.9.9-SNAPSHOT version if it is hierarchical. On Tue, Jan 4, 2022 at 8:47 AM Maria Jose Esteve <mjest...@iest.com> wrote: > I sent the message without finishing... > > I forgot to comment a detail that must be important... > The error only occurs when compiling the library. I have this same option > in the pom of the application and there it does recognize it... Why can it > be? Why can it be, because of the type of packaging swf/swc? > > Hiedra > > -----Mensaje original----- > De: Maria Jose Esteve <mjest...@iest.com> > Enviado el: lunes, 3 de enero de 2022 20:36 > Para: dev@royale.apache.org > Asunto: RE: command line unknown configuration variable > 'prevent-rename-public-symbols' > > Same result, ☹ > > Hiedra > > -----Mensaje original----- > De: Maria Jose Esteve <mjest...@iest.com> Enviado el: lunes, 3 de enero > de 2022 19:58 > Para: dev@royale.apache.org > Asunto: RE: command line unknown configuration variable > 'prevent-rename-public-symbols' > > Hi Josh, on this machine I only have sdk 0.9.9. Anyway, I have rebooted > the machine, and compiled the SDK just now and the result is unchanged. > Although I know it's silly, I went to check the compiler code and the > option exists. > Last night it didn't give me these errors... I'll compile it again. > > Hiedra > > -----Mensaje original----- > De: Josh Tynjala <joshtynj...@bowlerhat.dev> Enviado el: lunes, 3 de > enero de 2022 18:39 > Para: dev@royale.apache.org > Asunto: Re: command line unknown configuration variable > 'prevent-rename-public-symbols' > > If I had to guess, it probably means that you are compiling with an older > version of Royale that did not yet have this compiler option. > > -- > Josh Tynjala > Bowler Hat LLC <https://bowlerhat.dev> > > > On Mon, Jan 3, 2022 at 4:50 AM Maria Jose Esteve <mjest...@iest.com> > wrote: > > > Hello, does anyone know why I get this message when compiling? > > "command line unknown configuration variable > > 'prevent-rename-public-symbols'" > > > > -js-default-initializers=true > > -js-dynamic-access-unknown-members=true > > -source-map=true > > > > -source-map-source-root=D:\Develop_Royale\Projects\WinPlusWebSuite\roy > > alelibs\royalesecurity/src/main/royale/ > > > > -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct > > -keep-as3-metadata+,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transien > > -keep-as3-metadata+t > > -keep-code-with-metadata=Inject > > -show-binding-warnings=false > > -export-public-symbols=true > > -prevent-rename-public-symbols=true > > -export-protected-symbols=true > > -export-internal-symbols=true > > -compiler.targets=SWF,JSRoyale > > -compiler.strict-xml=true > > command line unknown configuration variable > > 'prevent-rename-public-symbols'. > > > > Thx > > > > Hiedra > > > > >