That actually makes sense. I'll give this a spin and update the scripts. regards, Christophe
2012/6/28 Carol Frampton <cfram...@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" <christophe.herre...@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