No, copy-flex-resource only copy SWFs into war, just that. There is no way to copy src/main/resources from project A into project B, at least not as plain as that, but if the project B need the assets you should put they at project B.
VELO On Jun 21, 8:27 pm, ryanm <[email protected]> wrote: > In order to keep our SWF file smaller we tend to load a bunch of > images at runtime rather than embedding them. i.e. instead of using: > > <mx:Image sour...@embed(source='images/logo.jpg')"/> > > we do this: > > <mx:Image source="images/logo.jpg"/> > > This works because when compiling with Flex Builder with the "Copy non- > embedded files to output folder" option turned on, it copies files > from src/images into the bin folder. How do I get flexmojos and maven > to do the same? Right now I've got one client project and one java > webapp project. The java webapp project has a dependency on the client > project and uses copy-flex-resources to grab the output SWF from the > client project and copy it into the war. This works for the SWF, but > it doesn't include any of these other non-embedded resources from the > client project. > > Any guidance from anybody on this? > > Ryan -- 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 http://flexmojos.sonatype.org/
