Raymond Camden's Blog Rss

Flex Builder Question - Not seeing files during AIR export

6

Posted in Flex | Posted on 03-11-2009 | 2,739 views

I've got a weird Flex Builder question I hope my readers can help me with. I'm working with an open source Flex project (ShareFire) and need to build the code myself. I created a new project in FB and then manually copied the files over from ShareFire's SVN drop.

When I did a debug build, I noticed that the non-code files (one SQL xml file and a CSS file) were not copied to bin-debug. Not thinking much of it, I just copied the files manually to bin-debug.

But this wasn't a real solution and it's now biting me on the rear. When I go to export a release build, the AIR File Contents screen refuses to list the other files:

I thought perhaps I had messed something up by manually dragging files into the project, yet when I made a new file from within FB (readme.txt), it wasn't noticed either.

Any ideas folks?

p.s. Sorry for the lack of posts this week. Been fighting the flu the last few days and the flu is winning.

Comments

[Add Comment] [Subscribe to Comments]

Well, shoot, it didn't occur to me to manually cop to bin-release. That fixes the export issue, but I'd still like to know what in the heck is wrong with FB here to not recognize the files. Thanks!
Although it appears as if when you build, bin-release is removed. This means before every release build I'll have to copy. Nice. :\
Yup. Utter, utter arse. See my comment on the issue, but witness the total lack of progress.
Just create a simple ANT file to copy whatever you want, and then set up a custom builder for the project. It really only takes a couple minutes and then you can forget about it.
Care to post an example? :) If you have a blog entry, a link is fine. My readers demand answers, Brian! (Or I do anyway :)

[Add Comment] [Subscribe to Comments]