Calendar
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Recent Entries No recent entries.
Recent Comments
Webapper Consulting and SeeFusion Readers' Choice Awards
Daryl said: Congrats on your nomination. The wealth of information on this site shows your dedication to CF and...
[more]
Subversion hook to verify unit testing?
Oluseyi said: While Subversion hooks are pretty powerful, Subversion really needs a *policy* system. I tried to wr...
[more]
My First Vista Blue Screen! w00t!
Nezzy said: good grief, it was my first blue screen too and I didn't even do anything! Just doing what I normall...
[more]
Shan's Simple Examples: File uploads with Flex and ColdFusion
Shan said: Did you add uploadUrl to both spots in your HTML code that embeds the flash? There's two spots if I ...
[more]
Shan's Simple Examples: File uploads with Flex and ColdFusion
Go-Gulf said: I'm trying to pass in the value for uploadDestination, so it is not hard coded, and since I'm a newb...
[more]
Archives By Subject
Business of Software (5) [RSS]
ColdFusion (326) [RSS]
Conferences (7) [RSS]
Databases (88) [RSS]
Flex & Flash (109) [RSS]
Fusebox (87) [RSS]
General Development (33) [RSS]
Google (9) [RSS]
Hardware (5) [RSS]
JVM & Java (132) [RSS]
Linux (20) [RSS]
Macintosh (1) [RSS]
Miscellaneous (254) [RSS]
Performance (8) [RSS]
SeeFusion (36) [RSS]
Shan's Simple Examples (7) [RSS]
User Interface (3) [RSS]
Windows (5) [RSS]
Archives By Poster
Daryl Banttari (11)
Nat Papovich (33)
Patrick Quinn (36)
Shannon Hicks (22)
Steve Nelson (25)
Tyson Vanek (3)
Flex Builder Project Setup in a CFEclipse and Subversion Environment
I am first and foremost, a ColdFusion developer. And I'm a little idiocyncratic as to how I organize my projects in directories and files. My "project root" is not web-accessible, but usually contains ALL the project assets, including CFCs, CFMs, etc.
I got really annoyed that Flex Builder put everything in my workspace when creating a new Flex Project. It was not immediately intuitive how to move the main application .mxml source file outside of the workspace. And I wasn't about to point my project path to my webroot because it would put all the Eclipse and Flex Builder property files there (which would clutter up the Subversion repository for the project).
So after about two days of futzing and conferring with more experienced Flex developers, I figured out exactly how to tweak all the poorly-documented settings in the Flex project Properties to accommodate me. Now I keep the Flex project in my workspace, but all the source files and compiled swfs end up in my webroot's project directory, and thusly in Subversion via a single click.
I mostly documented this for myself for future reference, but hope you find it helpful. The screencast is about 13 minutes long (made with Camtasia Studio) and is a 14MB file.


I was able to get rid of the compiler warning by editing the .actionScriptProperties file in the workspace directory. It had two lines, like this:
<applications>
<application path="Main.mxml"/>
<application path="src/Main.mxml"/>
</applications>
where 'main.mxml' was my main application. Based on directories you use, even linked ones, I would expect that the values above could be radically different.
I just deleted the second, restarted eclipse and the warning went away.
I'm working on an article about Flex Components right now, and in my current project have a bunch of different Flex applications.
When I renamed my main.mxml to "sample1.mxml" the warning came back. When I made "sample3.mxml" the default application (by right clicking and choosing "set as default application.") the error went away again.
This needs more testing, but I suspect "set as default application" and "restart workspace" will make the warning go away without editing the property files.
Or I could be wrong.