Usually this is setup through the Project Properties. I add another
top-level folder for anything the app needs to consume at runtime (like
an "etc" folder) and perhaps another that the app needs to consume at
compile time like embedded assets (like an "includes" folder -- it's up
to you):
 
Project >> Properties >> Flex Build Path >> Source Path >> Add Folder...
 
To have files copied to the bin when building, don't forget to check:
 
Project >> Properties >> Flex Compiler >> Copy non-embedded files to
output folder
 
Then you have the option of including these folders in SVN or leaving
them local to the working copy...
 
In my experience though, when another dev checks out the project, they
have to set up these folder associations for their working copy in FB,
so I might put a README.txt in the root of the project detailing the
expected setup.  This seems kinda clunky though -- if anyone knows what
to do to persist these settings through the SVN, I'd love to know.  I
know ANT is always an option, but sometimes its nice to not have to muck
with it.
 
HTH, 
Ryan
 
 
________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Fore
Sent: Wednesday, September 17, 2008 8:44 AM
To: [email protected]
Subject: Re: [flexcoders] Flex Project Struture



Ryan, I'm curious about how you separate the Flex Builder project files
from the source code (and asset files) in your projects so that the
former doesn't get into SVN with the later. I've tried various ways of
setting up links etc and FB doesn't seem to like any of them.


On Tue, Sep 16, 2008 at 7:57 PM, Ryan Graham <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:


        There should be no issues using a flex project with your given
setup, but it may be worth noting that you may want to stay away from
including any flex builder specific files in the SVN, as everyone has
their own dev environment setup the way they like it as far as
workspaces and such are concerned, and that leaves the project open to
developers who may be using the sdk and command line to compile by
reducing flex builder dependencies.



-- 
Howard Fore, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
"The universe tends toward maximum irony. Don't push it." - Jeff Atwood


 


This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

Reply via email to