Hi Rick, If you are using the standard maven project structure for your flex source files: src/main/flex
Then put your html wrapper file in: src/main/resources Intellij should detect that foulder as a source folder automatically and its contents will be copied into your output folder. If IntelliJ doesn't pick it up automatically then don't add it to your project manually put this line(s) into your configuration section for your flex mojo plugin: <sourcePaths> <sourcePath>src/main/flex</sourcePath> <sourcePath>src/main/resources</sourcePath> </sourcePaths> Intellij should pick that up and fix up your project source folders Hope that helps, Adam On Feb 18, 11:23 pm, Rick R <[email protected]> wrote: > I really like the features of IDEA 9 that I'm trying out, compared to Flex > Builder 3 and Flash Builder 4. (Refactoring really works when moving files, > etc.) > > I'm a bit confused on where you guys create your wrapper html file though. I > thought I should put it in {project}/out/production - but if you rebuild the > project that get's blown out. When you are creating the flex wrapper in > IDEA it looks like it should somehow 'auto magically' find the flex.swf? or > am I supposed to put the wrapper somewhere else and put a path in to the > flex.swf? The latter seems to work if I put the wrapper in some other > location and then point to the swf by typing in the path to > {project}/out/production but I'm not sure that's the best approach. > > How are you guys setting up your flex projects in IDEA when you are using > maven flex-mojos project setup? Any tips appreciated. thanks > > -- > Rick R -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://flexmojos.sonatype.org/
