I am trying to compile a flex library project. this project was build
using flex 3. Now we are migrating to flex 4.
I wrote a simple ant script to compile it with Flex SDK 4.1. I am
trying to set the compatibility-version arg for compiler so that it
dose not through error. but i am getting error for ant as
"The <compc> type doesn't support the "compatibility-version"
attribute."
----------------------------------------------------------------------------------------------------------------
The ant is as below...
<project name="Aalsmeer Application" basedir="..">
<property file="${basedir}/BuildFlex/build.properties"/>
<taskdef resource="flexTasks.tasks" classpath="${basedir}/BuildFlex/
libs/flexTasks.jar" />
<target name="swc-AalsmeerCommon" description="Compile the
AalsmeerCommon">
<compc output="${AALSMEER_COMMON}.swc"
compatibility-version="3">
<include-libraries file="${AALSMEER_COMMON_APP}/libs/">
<include name="*.swc" />
</include-libraries>
<source-path path-element="${AALSMEER_COMMON_APP}/src"/>
<include-sources
dir="${AALSMEER_COMMON_APP}/src/com/bnym/scc/
common">
<include name="**/*" />
</include-sources>
</compc>
<echo>AalsmeerCommon SWC created successfully</echo>
</target>
</project>
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.