How is everyone approaching larger projects w/multiple outputs?  I have a
Flex app compiled for browser, but it now also has desktop version.  The
desktop version has an isolated module that uses AIR extensions for the
database.

Currently, I have three separate projects with the following setup:

WebVersion (outputs web.swf and 2 s:Module swfs for visuals)
-src
--modules
-libs
--src

LocalStorageModule (outputs s:Module that interacts w/sqlite, also includes
unit tests for development in isolation)
-src
--tests
--module

AirVersion (compiles Desktop swf (s:WindowedApplication) and 3 modules,
packaged as .AIR)
-src
-extra src directories:
--webversion/src
--webversion/libs/src
--LocalStorageModule/src/module

I know that I can collapse all three projects together and target only the
files I want in multiple projects.  However I need to guantee that no I can
always compile the web version w/o any references to AIR imports creeping
in.  Right now I can package my Air version from start to finish via ANT,
and all the extra libraries are setup in a custom project-config.xml file.
 There will be mobile versions on the horizon, so this will be only getting
more complicated.

Reply via email to