I am trying to compile a flex library project using ant script.
I wrote an ant script to compile using Flex SDK 4.1. But i am getting
following error.
Error:
--------------------------------------------------
C:\imoworkspace\TradeCommUILib>ant TradeCommUILib
Buildfile: build.xml
TradeCommUILib:
[compc] Loading configuration file C:\flex_sdk\4.1.0\frameworks
\flex-config.
xml
[compc] Error: Unsupported file type: C:\imoworkspace
\TradeCommUILib\src\ass
ets\images\pdfExportJpg.JPG
[compc]
BUILD FAILED
C:\imoworkspace\TradeCommUILib\build.xml:16: compc task failed
Total time: 4 seconds
----------------------------------------------------
ANT Build script:
-----------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="AntProjectFile.xsl"?>
<project name="buildTradeCommUILib" basedir=".">
<property file="buildSettings.properties"/>
<taskdef resource="flexTasks.tasks" classpath="$
{build.flex.home.path}/ant/lib/flexTasks.jar"/>
<property name="FLEX_HOME" value="${build.flex.home.path}"/>
<property name="APP_ROOT" value="${build.flex.app.root}"/>
<property name="DEPLOY_DIR" value="${build.flex.deploy.dir}"/>
<target name="TradeCommUILib">
<compc output="${DEPLOY_DIR}\test.swc">
<source-path path-element="${APP_ROOT}" />
<include-sources dir="${APP_ROOT}\assets">
<include name="**\*"/>
</include-sources>
<compiler.include-libraries dir="${FLEX_HOME}/frameworks/libs/"
append="true">
<include name="automation.swc" />
<include name="automation_agent.swc" />
<include name="automation_dmv.swc" />
<include name="qtp.swc" />
</compiler.include-libraries>
<license product="charting" serial-
number="1377-4009-6770-9508-9232-4667"/>
</compc>
</target>
</project>
---------------------------------------------------
If any one knows. Please guide me how fix this issue.
Thanks,
Anand
"The <compc> type doesn't support the "compatibility-version"
attribute."
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.