Adobe Flex Ant Builds

May 13, 2009

Building Adobe Flex applications using Ant would seem like a no brainer.  It appears the Ant builds using Flex has issues with understanding image paths. My CSS and any image embeds for our flex application StorageIM needed to have the image paths modifed in order for our Ant flex build to work appropriately. Below are modified image paths from a CSS and mxml file.

1. CSS Example: icon:  Embed(source=”../../assets/images/icon_close_up.png”);

2. mxml image: folderOpenIcon=”@Embed(source=’/assets/images/icons/folder-with-file-16×16.png’)”

Hope this helps with your flex ant builds.

2 Responses to “Adobe Flex Ant Builds”

  1. Hi Kurt,

    I am trying to build flex 3 application using build.xml. We are using Resource bundle (flexResource.properties file) for our project. The resource bundle is located in \resource\en_US\ folder.

    When I am trying to compile the application using mxmlc – I am getting the error:

    Unable to resove the resource bundle “data” for en_US.

    I am not able to find the workaround for above issue. Please help.

  2. Please review the following link: http://groups.google.com/group/flex-mojos/browse_thread/thread/9d92dfa696922195.

    Best,

    Kurt

Leave a Reply