Hmmm... interestingly that's exactly how I was using it.

<arg line="+configname=air"/>

It's possible that the order matters with options with the + character. Try
to put it before all regular options that start with the - character.

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


On Tue, Sep 22, 2020 at 9:40 AM Yishay Weiss <[email protected]> wrote:

> Ok, I can confirm adding +configname=flex on the command line does the
> trick. Now I need to understand why adding <arg value=”+configname=flex”/>
> to
> <java jar=”…/lib/compc.jar” fork=”true”> doesn’t work in ant...
>
>
> From: Josh Tynjala<mailto:[email protected]>
> Sent: Tuesday, September 22, 2020 6:43 PM
> To: Apache Royale Development<mailto:[email protected]>
> Subject: Re: compc - configname
>
> It should be possible to specify +configname=flex with both mxmlc and
> compc.
>
> I just found the build script for an old Flex SWC of mine that uses
> +configname=air, so if the Royale compc doesn't also support +configname,
> it's a bug.
>
> --
> Josh Tynjala
> Bowler Hat LLC <https://bowlerhat.dev>
>
>
> On Tue, Sep 22, 2020 at 7:54 AM Yishay Weiss <[email protected]>
> wrote:
>
> > Hi,
> >
> > I can’t figure out how to add configname=flex to compc. Any pointers? My
> > goal is to compile a library that relies on emulation components.
> >
> > Thanks.
> >
> >
>
>

Reply via email to