How to get swf files copied to output folder?

Is there a way to configure Flex file resources at the project level so that I can choose which dependent files are deployed to my production folder?

I have a Flex project that relies upon external swf files.  I keep all of my resource files in a resources folder.  One of those resources is an swf file  (not the one built by the project).

I added ?*.swf to my resource patterns.  The file does not show up on the Project tree, nor is it copied to my out/production folder.  I tried adding a new file type, but it said it was already associated with the swf file type.  I could not find the actual file type in the list.

3 comments
Comment actions Permalink

Please make sure that files that you want to be copied to
out/prodiction/... are under source root(s). (See Project Structure
(CtrlAltShift+S))

0
Comment actions Permalink

Try to do rebuild after compiler resource patterns change.

There was a bug in not showing swf files in project view
(http://www.jetbrains.net/jira/browse/IDEADEV-36923)

Michael Ludlum wrote:

Is there a way to configure Flex file resources at the project level so that I can choose which dependent files are deployed to my production folder?

I have a Flex project that relies upon external swf files. I keep all of my resource files in a resources folder. One of those resources is an swf file (not the one built by the project).

I added ?*.swf to my resource patterns. The file does not show up on the Project tree, nor is it copied to my out/production folder. I tried adding a new file type, but it said it was already associated with the swf file type. I could not find the actual file type in the list.

---
Original message URL: http://www.jetbrains.net/devnet/message/5239221#5239221



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Rebuild did the trick on copying the file and thanks for letting me know about the bug report.

0

Please sign in to leave a comment.