>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.

Falcon was written to follow the same logic as the old MXMLC compiler in
resolving embedded assets. The difference in how Flash Builder 4.7 looks up
assets. Flash Builder 4.7 looks in the same places as the command line
compiler whereas previous versions would use various eclipse paths that the
command line would not use. The intent was to have the command line
compiler and Flash Builder search the same paths to resolve assets.


-Darrell

On Mon, Oct 13, 2014 at 1:31 AM, Alex Harui <aha...@adobe.com> wrote:

> 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
>
>

Reply via email to