Skip to content

Instantly share code, notes, and snippets.

@neilmanuell
Created March 13, 2011 09:24
Show Gist options
  • Save neilmanuell/867982 to your computer and use it in GitHub Desktop.
Save neilmanuell/867982 to your computer and use it in GitHub Desktop.
example custom compiler confix xml for GuardedCommandMap
<flex-config xmlns="http://www.adobe.com/2006/flex-config">
<target-player>9.0.124</target-player>
<compiler>
<debug>true</debug>
<source-path>
<path-element>src</path-element>
</source-path>
<library-path append="true">
</library-path>
<external-library-path>
<path-element>${flexlib}/libs/player/{targetPlayerMajorVersion}/playerglobal.swc</path-element>
<path-element>lib/robotlegs-framework-v1.4.0.swc</path-element>
</external-library-path>
</compiler>
<include-classes>
<class>org.robotlegs.base.GuardedCommandMap</class>
<class>org.robotlegs.core.IGuard</class>
<class>org.robotlegs.core.IGuardedCommandMap</class>
</include-classes>
<output>C:/Users/revisual.co.uk/Documents/revisual/guardedCommandMap/bin/guardedCommandMap.swc</output>
</flex-config>
@neilmanuell
Copy link
Author

Notes

  1. contains swcs to compile against (ie do not get compiled)
  2. contains swcs that WILL be compiled
  3. paths to source code
  4. path to the swc to be compiled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment