You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Maria Jose Esteve <mj...@iest.com> on 2022/01/03 12:49:48 UTC

command line unknown configuration variable 'prevent-rename-public-symbols'

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\royalelibs\royalesecurity/src/main/royale/
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
-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


Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Greg Dove <gr...@gmail.com>.
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 <mj...@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 <mj...@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 <mj...@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 <jo...@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 <mj...@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
> >
> >
>

RE: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Maria Jose Esteve <mj...@iest.com>.
Ok.
I have read the new note in compiler-options, in royal-docs, I think it is well understood Harb.

Thx.

Hiedra

-----Mensaje original-----
De: Harbs <ha...@gmail.com> 
Enviado el: lunes, 3 de enero de 2022 21:36
Para: Apache Royale Development <de...@royale.apache.org>
Asunto: Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Renaming only happens when packaging an application for release.

When you create a library, the original code is all there waiting to be used (or not) by the application.

> On Jan 3, 2022, at 10:32 PM, Maria Jose Esteve <mj...@iest.com> wrote:
> 
> Clarify something for me,.... The prevent-rename* options why don't they make sense in a bookstore? There are public classes in them that may not have to be renamed, right?


Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Harbs <ha...@gmail.com>.
Renaming only happens when packaging an application for release.

When you create a library, the original code is all there waiting to be used (or not) by the application.

> On Jan 3, 2022, at 10:32 PM, Maria Jose Esteve <mj...@iest.com> wrote:
> 
> Clarify something for me,.... The prevent-rename* options why don't they make sense in a bookstore? There are public classes in them that may not have to be renamed, right?


RE: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Maria Jose Esteve <mj...@iest.com>.
Ok, I see the point 😝. 
Thx Josh.

Hiedra

-----Mensaje original-----
De: Josh Tynjala <jo...@bowlerhat.dev> 
Enviado el: lunes, 3 de enero de 2022 22:15
Para: dev@royale.apache.org
Asunto: Re: command line unknown configuration variable 'prevent-rename-public-symbols'

When you compile an application, the prevent-rename-* options apply to the application's code, as I mentioned, but also any code that the application includes from libraries.

To put it another way, the library is initially compiled without any optimization. However, the optimizations can be applied later, when the library is used in an application.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Mon, Jan 3, 2022 at 12:32 PM Maria Jose Esteve <mj...@iest.com> wrote:

> Well it looks like this is the case.
> Hahaha @Harb, feeling bad is "my natural state" since a couple of 
> years ago, hahahaha, but thanks for the encouragement, I appreciate it 
> 😝 and I apologize.
>
> Clarify something for me,.... The prevent-rename* options why don't 
> they make sense in a bookstore? There are public classes in them that 
> may not have to be renamed, right?
> Tell me what I'm missing, hahahaha, I'll make a fool of myself again.
>
> Hiedra
>
> -----Mensaje original-----
> De: Josh Tynjala <jo...@bowlerhat.dev> Enviado el: lunes, 3 de 
> enero de 2022 21:23
> Para: dev@royale.apache.org
> Asunto: Re: command line unknown configuration variable 
> 'prevent-rename-public-symbols'
>
> The prevent-rename-* options are used only when compiling a release 
> build of an application. They are not used when compiling libraries, 
> so the library compiler compc does not make them available. With that 
> in mind, the error is normal and expected, and you can remove 
> prevent-rename-* from your library's additional options.
>
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Mon, Jan 3, 2022 at 11:47 AM Maria Jose Esteve <mj...@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 <mj...@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 <mj...@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 <jo...@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 <mj...@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
> > > \r oy alelibs\royalesecurity/src/main/royale/
> > >
> > > -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConst
> > > -keep-as3-metadata+ru
> > > -keep-as3-metadata+ct
> > > -keep-as3-metadata+,PreDestroy,ViewAdded,ViewRemoved,Bindable,Tran
> > > -keep-as3-metadata+si
> > > -keep-as3-metadata+en
> > > -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
> > >
> > >
> >
>

Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
When you compile an application, the prevent-rename-* options apply to the
application's code, as I mentioned, but also any code that the
application includes from libraries.

To put it another way, the library is initially compiled without any
optimization. However, the optimizations can be applied later, when the
library is used in an application.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Mon, Jan 3, 2022 at 12:32 PM Maria Jose Esteve <mj...@iest.com> wrote:

> Well it looks like this is the case.
> Hahaha @Harb, feeling bad is "my natural state" since a couple of years
> ago, hahahaha, but thanks for the encouragement, I appreciate it 😝 and I
> apologize.
>
> Clarify something for me,.... The prevent-rename* options why don't they
> make sense in a bookstore? There are public classes in them that may not
> have to be renamed, right?
> Tell me what I'm missing, hahahaha, I'll make a fool of myself again.
>
> Hiedra
>
> -----Mensaje original-----
> De: Josh Tynjala <jo...@bowlerhat.dev>
> Enviado el: lunes, 3 de enero de 2022 21:23
> Para: dev@royale.apache.org
> Asunto: Re: command line unknown configuration variable
> 'prevent-rename-public-symbols'
>
> The prevent-rename-* options are used only when compiling a release build
> of an application. They are not used when compiling libraries, so the
> library compiler compc does not make them available. With that in mind, the
> error is normal and expected, and you can remove prevent-rename-* from your
> library's additional options.
>
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Mon, Jan 3, 2022 at 11:47 AM Maria Jose Esteve <mj...@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 <mj...@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 <mj...@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 <jo...@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 <mj...@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\r
> > > oy alelibs\royalesecurity/src/main/royale/
> > >
> > > -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstru
> > > -keep-as3-metadata+ct
> > > -keep-as3-metadata+,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transi
> > > -keep-as3-metadata+en
> > > -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
> > >
> > >
> >
>

RE: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Maria Jose Esteve <mj...@iest.com>.
Well it looks like this is the case.
Hahaha @Harb, feeling bad is "my natural state" since a couple of years ago, hahahaha, but thanks for the encouragement, I appreciate it 😝 and I apologize.

Clarify something for me,.... The prevent-rename* options why don't they make sense in a bookstore? There are public classes in them that may not have to be renamed, right?
Tell me what I'm missing, hahahaha, I'll make a fool of myself again.

Hiedra

-----Mensaje original-----
De: Josh Tynjala <jo...@bowlerhat.dev> 
Enviado el: lunes, 3 de enero de 2022 21:23
Para: dev@royale.apache.org
Asunto: Re: command line unknown configuration variable 'prevent-rename-public-symbols'

The prevent-rename-* options are used only when compiling a release build of an application. They are not used when compiling libraries, so the library compiler compc does not make them available. With that in mind, the error is normal and expected, and you can remove prevent-rename-* from your library's additional options.

Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Mon, Jan 3, 2022 at 11:47 AM Maria Jose Esteve <mj...@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 <mj...@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 <mj...@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 <jo...@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 <mj...@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\r
> > oy alelibs\royalesecurity/src/main/royale/
> >
> > -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstru
> > -keep-as3-metadata+ct 
> > -keep-as3-metadata+,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transi
> > -keep-as3-metadata+en
> > -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
> >
> >
>

Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Harbs <ha...@gmail.com>.
I just added a note to the compiler options page to make this clearer.
https://apache.github.io/royale-docs/compiler/compiler-options

The wording feels a bit awkward. Feel free to fix my English… ;-)

> On Jan 3, 2022, at 10:22 PM, Josh Tynjala <jo...@bowlerhat.dev> wrote:
> 
> The prevent-rename-* options are used only when compiling a release build
> of an application. They are not used when compiling libraries, so the
> library compiler compc does not make them available. With that in mind, the
> error is normal and expected, and you can remove prevent-rename-* from your
> library's additional options.
> 
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
> 
> 
> On Mon, Jan 3, 2022 at 11:47 AM Maria Jose Esteve <mj...@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 <mj...@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 <mj...@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 <jo...@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 <mj...@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
>>> 
>>> 
>> 


Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
The prevent-rename-* options are used only when compiling a release build
of an application. They are not used when compiling libraries, so the
library compiler compc does not make them available. With that in mind, the
error is normal and expected, and you can remove prevent-rename-* from your
library's additional options.

Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Mon, Jan 3, 2022 at 11:47 AM Maria Jose Esteve <mj...@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 <mj...@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 <mj...@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 <jo...@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 <mj...@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
> >
> >
>

Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Harbs <ha...@gmail.com>.
Yes. Very important detail.

compc compiles libraries.
mxmlc compiles applications.

compc which compiles libraries does not have that option because it’s not needed.

This tripped me up a few weeks back, so don’t feel bad. ;-)

HTH,
Harbs
> On Jan 3, 2022, at 9:46 PM, Maria Jose Esteve <mj...@iest.com> wrote:
> 
> 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?


RE: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Maria Jose Esteve <mj...@iest.com>.
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 <mj...@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 <mj...@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 <jo...@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 <mj...@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
>
>

RE: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Maria Jose Esteve <mj...@iest.com>.
Same result, ☹

Hiedra

-----Mensaje original-----
De: Maria Jose Esteve <mj...@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 <jo...@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 <mj...@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
>
>

RE: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Maria Jose Esteve <mj...@iest.com>.
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 <jo...@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 <mj...@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
>
>

Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Josh Tynjala <jo...@bowlerhat.dev>.
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 <mj...@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\royalelibs\royalesecurity/src/main/royale/
>
> -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
> -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
>
>

Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Harbs <ha...@gmail.com>.
Never mind. I didn’t read that right. Not sure.

> On Jan 3, 2022, at 2:54 PM, Harbs <ha...@gmail.com> wrote:
> 
> It’s a js-config option and needs to be in that section.
> 
>> On Jan 3, 2022, at 2:49 PM, Maria Jose Esteve <mj...@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\royalelibs\royalesecurity/src/main/royale/
>> -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
>> -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
>> 
> 


Re: command line unknown configuration variable 'prevent-rename-public-symbols'

Posted by Harbs <ha...@gmail.com>.
It’s a js-config option and needs to be in that section.

> On Jan 3, 2022, at 2:49 PM, Maria Jose Esteve <mj...@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\royalelibs\royalesecurity/src/main/royale/
> -keep-as3-metadata+=Inject,Dispatcher,EventHandler,Event,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient
> -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
>