Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I know I'm late to answer this question, but I was wondering the same thing. I am playing with Native Extensions, but am trying to avoid migrating my whole team to Flash Builder 4.6 just yet, so I'm desperate to debug native extensions while still using Flash Builder 4.5. Here's what I did:</p> <p>(I'm on a Mac. You can probably modify adl.bat in an equivalent way if you are on Windows)</p> <ol> <li>Go into the FlexSDK/bin folder </li> <li>Copy "adl" to "adl-original" </li> <li>Create a new bash script called "adl" with the following contents:</li> </ol> <blockquote> <pre><code>#!/bin/sh #First, get the full path to my own folder (ignores working directory): DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &amp;&amp; pwd )" #Now call the original adl with the same parameters as were passed in to me ("$@"), #but pass in my extra parameter at the end : "-extdir blah-blah" $DIR/adl-original "$@" -extdir ./META-INF/AIR/extensions </code></pre> </blockquote> <p>In my case, I wanted to add the "-extdir ./META-INF/AIR/extensions" parameter to every call of adl, but you should obviously replace my parameter with what you need.</p> <p>If you want this to be a generic solution instead of hard-coding stuff into the adl script, you could make this script read the extra parameters from a file called "extraAdlParameters.txt" and then have it immediately delete the file. As part of your build process in FB4.5, you could make a script that adds the desired parameters to that same file. That way, you are only adding the extra parameters once per call to adl, and are not affecting other calls to adl with these extraneous parameters.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload