Here's another quick snippet to add Linked Resources to a compile process built with ANT. You know, you can link a whole directory to be a "Linked Library" in FDT, e.g. Greensock's TweenLite. Doing so means that you cannot use the -library-path argument as it only work with .swc files. Instead of this use -source-path to successfully add a whole directory to be compiled into your SWF.
-
<arg value="-source-path=/Users/marvin/libs/greensock-as3" />
This way you can use it in an AIR build as well and you do not have to replace your directory based libraries with SWC files.



13th August 2010
Marvin Blase
Posted in