Try removing \bin from the FLEX_HOME variable.

On Wed, Jul 15, 2015 at 12:08 PM, mark goldin <[email protected]> wrote:

> Here is a fragment of my CompileResourceBundles.xml
> <?xml version="1.0" encoding="UTF-8"?>
>
> <project name="PrismResources" basedir="." default="all">
>
>  <taskdef resource="flexTasks.tasks"
>         classpath="C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
> Bit)\sdks\4.13.0\ant\lib\flexTasks.jar"/>
>  <property name="FLEX_HOME" value="C:\Program Files\Adobe\Adobe Flash
> Builder 4.7 (64 Bit)\sdks\4.13.0\bin"/>
>  <property file="localmachine.properties"/>
>  <target name="all">
> <antcall target="resourceBundles"/>
> </target>
>  <macrodef name="compileLocale" description="Compiles the resource bundle
> for a given locale">
> <attribute name="locale"/>
> <sequential>
> <mxmlc  output="${SourceDir}/resource/@{locale}_ResourceModule.swf">
>          <compiler.locale>@{locale}</compiler.locale>
>          <compiler.context-root>/PrismWeb</compiler.context-root>
>             <load-config
> filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
>             <source-path path-element="${FLEX_HOME}/frameworks"/>
>
> When I run it I am getting the following error in the log:
>
>
> Buildfile: D:\rpism28\Flex\Prism\CompileResourceBundles.xml
>
> all:
>
> resourceBundles:
>         [echo] Compiling French Resources
>
> BUILD FAILED
> D:\....\CompileResourceBundles.xml:14: The following error occurred while
> executing this line:
> D:\....\CompileResourceBundles.xml:79: The following error occurred while
> executing this line:
> D:\....\CompileResourceBundles.xml:20: The class not found in jar file:
> mxmlc.jar
>
> Total time: 428 milliseconds
>
> Any idea?
>
> Thanks
>

Reply via email to