You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Christophe Herreman <ch...@gmail.com> on 2012/06/28 17:04:11 UTC
Issue with FLEX_HOME when using 2 SDKs
Hi,
as it is now, the batch and shell scripts look for FLEX_HOME on the path
and define it if not found. However, when using 2 different SDKs this leads
to issues if you have FLEX_HOME set to SDK X, but want to invoke one of the
scripts in SDK Y. In that case, the script in SDK Y will use SDK X, while
one would assume SDK Y to be used.
We could enhance the scripts with an extra check to see if FLEX_HOME refers
to the parent directory of the scripts, and if it does not, replace it with
the parent directory. Does anyone see any problems with this? If not, I can
modify the scripts.
regards,
Christophe
--
Christophe Herreman
http://www.herrodius.com
http://www.springactionscript.org
http://www.as3commons.org
Re: Issue with FLEX_HOME when using 2 SDKs
Posted by Christophe Herreman <ch...@gmail.com>.
That actually makes sense. I'll give this a spin and update the scripts.
regards,
Christophe
2012/6/28 Carol Frampton <cf...@adobe.com>
> Maybe it should always be using the parent of the script and not look at
> FLEX_HOME at all.
>
> Carol
>
> On 6/28/12 11 :04AM, "Christophe Herreman" <ch...@gmail.com>
> wrote:
>
> >Hi,
> >
> >as it is now, the batch and shell scripts look for FLEX_HOME on the path
> >and define it if not found. However, when using 2 different SDKs this
> >leads
> >to issues if you have FLEX_HOME set to SDK X, but want to invoke one of
> >the
> >scripts in SDK Y. In that case, the script in SDK Y will use SDK X, while
> >one would assume SDK Y to be used.
> >
> >We could enhance the scripts with an extra check to see if FLEX_HOME
> >refers
> >to the parent directory of the scripts, and if it does not, replace it
> >with
> >the parent directory. Does anyone see any problems with this? If not, I
> >can
> >modify the scripts.
> >
> >regards,
> >Christophe
> >
> >--
> >Christophe Herreman
> >http://www.herrodius.com
> >http://www.springactionscript.org
> >http://www.as3commons.org
>
>
--
Christophe Herreman
http://www.herrodius.com
http://www.springactionscript.org
http://www.as3commons.org
Re: Issue with FLEX_HOME when using 2 SDKs
Posted by Carol Frampton <cf...@adobe.com>.
Maybe it should always be using the parent of the script and not look at
FLEX_HOME at all.
Carol
On 6/28/12 11 :04AM, "Christophe Herreman" <ch...@gmail.com>
wrote:
>Hi,
>
>as it is now, the batch and shell scripts look for FLEX_HOME on the path
>and define it if not found. However, when using 2 different SDKs this
>leads
>to issues if you have FLEX_HOME set to SDK X, but want to invoke one of
>the
>scripts in SDK Y. In that case, the script in SDK Y will use SDK X, while
>one would assume SDK Y to be used.
>
>We could enhance the scripts with an extra check to see if FLEX_HOME
>refers
>to the parent directory of the scripts, and if it does not, replace it
>with
>the parent directory. Does anyone see any problems with this? If not, I
>can
>modify the scripts.
>
>regards,
>Christophe
>
>--
>Christophe Herreman
>http://www.herrodius.com
>http://www.springactionscript.org
>http://www.as3commons.org