On 10/12/14, 12:55 PM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:
>Hi, > >well I did a little bit of investigation. It seems the default compiler >also had only one source directory. >But I noticed that Flexmojos passed in the static resources as >"include-file" argument. Could it be possible that Falcon doesn't look in >this list when encoding resuources? The SDK’s framework.swc has more than one include-file. One of the Falcon feature tests create the framework.swc. You can see if both files got In the SWC when falcon builds it. > >In Maven you can have several sources (main-sources, main-resources, >test-sources, test-resources for example). Now I have a project in which >I have the Flex sourcecode in "src/main/flex" and the resources in >"src/main/resources" - which is the default Maven pattern for separating >sources and resources. Now when embedding an image, I am getting the >following errors: > >Error: Could not find Embed source '/assets/images/checkboxmiddle.png'. >Searched >'C:\Projects\3rdParty\Flexicious\flexicious-components\classic-data-grid\s >rc\main\flex\com\flexicious\controls\assets\images\checkboxmiddle.png', >'assets/images/checkboxmiddle.png' on the source path It may be that MXMLC has different logic for when the source for an embed starts with a slash. Folks have been able to using leading slashes in Flash Builder that then fail from ant. -Alex