I am having a problem compiling my resources.
Here is a message from the log:
CompileResourceBundles.xml
all:
resourceBundles:
[echo] Compiling US Resources
BUILD FAILED
CompileResourceBundles.xml:14: The following error occurred while executing
this line:
CompileResourceBundles.xml:79: The following error occurred while executing
this line:
CompileResourceBundles.xml:20: The class not found in jar file: mxmlc.jar
Total time: 311 milliseconds
And the XML file:
<?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"/>
<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"/>
<source-path path-element="${basedir}/locale/{locale}"/>
<include-resource-bundles>ProjectRevisionHistory</include-resource-bundles>
<include-resource-bundles>ProjectNotesDialog</include-resource-bundles>
<include-resource-bundles>module_ComponentComparison</include-resource-bundles>
<include-resource-bundles>AnnunciatorPanel</include-resource-bundles>
<include-resource-bundles>ErrorDialog</include-resource-bundles>
<include-resource-bundles>Login</include-resource-bundles>
<include-resource-bundles>module_AlarmAging</include-resource-bundles>
<include-resource-bundles>module_Alarms</include-resource-bundles>
<include-resource-bundles>module_AnnunciatorPanelControl</include-resource-bundles>
<include-resource-bundles>module_AssetProjectStatistics</include-resource-bundles>
<include-resource-bundles>module_AssetProjectStatus</include-resource-bundles>
<include-resource-bundles>module_CustomReports</include-resource-bundles>
<include-resource-bundles>module_EventDetailReport</include-resource-bundles>
<include-resource-bundles>module_PointReport</include-resource-bundles>
<include-resource-bundles>module_PrismExplorer</include-resource-bundles>
<include-resource-bundles>module_PrismHome</include-resource-bundles>
<include-resource-bundles>module_ProjectModelResidualValueReport</include-resource-bundles>
<include-resource-bundles>module_Reports</include-resource-bundles>
<include-resource-bundles>module_UserPreferences</include-resource-bundles>
<include-resource-bundles>module_WatchList</include-resource-bundles>
<include-resource-bundles>PrismApp</include-resource-bundles>
<include-resource-bundles>PrismChart</include-resource-bundles>
<include-resource-bundles>view_AlarmAcknowledgementDialog</include-resource-bundles>
<include-resource-bundles>view_PrismExplorer_ProjectItemRenderer</include-resource-bundles>
<include-resource-bundles>view_PrismExplorer_ProjectList</include-resource-bundles>
<include-resource-bundles>view_PrismExplorer_ProjectViewer</include-resource-bundles>
<include-resource-bundles>ProjectAlarmViewer</include-resource-bundles>
<include-resource-bundles>LocaleFormatters</include-resource-bundles>
<include-resource-bundles>SharedResources</include-resource-bundles>
<include-resource-bundles>collections</include-resource-bundles>
<include-resource-bundles>containers</include-resource-bundles>
<include-resource-bundles>controls</include-resource-bundles>
<include-resource-bundles>core</include-resource-bundles>
<include-resource-bundles>effects</include-resource-bundles>
<include-resource-bundles>formatters</include-resource-bundles>
<include-resource-bundles>logging</include-resource-bundles>
<include-resource-bundles>messaging</include-resource-bundles>
<include-resource-bundles>rpc</include-resource-bundles>
<include-resource-bundles>skins</include-resource-bundles>
<include-resource-bundles>states</include-resource-bundles>
<include-resource-bundles>styles</include-resource-bundles>
<include-resource-bundles>utils</include-resource-bundles>
<include-resource-bundles>validators</include-resource-bundles>
</mxmlc>
</sequential>
</macrodef>
<target name="resourceBundles">
<echo message="Compiling US Resources"/>
<compileLocale locale="fr_FR"/>
<copy todir="${DestinationDir}/resource" overwrite="true" force="true">
<fileset dir="${SourceDir}/resource">
<filename name="*.swf"/>
</fileset>
</copy>
</target>
</project>
Any idea?
Thanks