I would like to debug an Adobe AIR application using their ADL program (AIR Debug Launcher). This program may be called like this:
Code: Select all
adl.exe path-to-application-descriptor.xml -C launch-directory
What is the way to pass the path to adl.exe so that it be able find it?
TIA
EDIT: I think I sort of solved the problem, still would like to know more about this, this is what I did (this is an Ant script that launches the debugger):
Code: Select all
<property environment="env"/>
<target name="debug-air-wine" description="Runs AIR debugger with our application" >
<!-- Use this for debugging -->
<mkdir dir="${env.HOME}/.wine/drive_c/X/"/>
<copy todir="${env.HOME}/.wine/drive_c/X/" includeemptydirs="false">
<fileset dir="${basedir}/X">
<exclude name="**/*.as" />
<exclude name="**/*.mxml" />
<exclude name="**/build.xml" />
<exclude name="**/*.properties" />
<exclude name="**/*.air" />
<exclude name="**/*.pfx" />
<exclude name="**/*.swf" />
<include name="**/*" />
</fileset>
</copy>
<exec executable="wine" failonerror="true">
<arg line="${FLEX_HOME}/bin/adl.exe C:/X/X-app.xml -C C:/Novisign" />
</exec>
</target>