Adobe Communities
Content
People
Communities
Popular
Menu begins
Adobe Creative Cloud
Downloading, Installing, Setting Up
Adobe Flash Player
Adobe Reader
Adobe Photoshop
Adobe Photoshop Lightroom
Adobe Photoshop Elements
Adobe Dreamweaver
Adobe Muse
Adobe Edge Animate
Adobe Premiere Pro
Adobe After Effects
Adobe Illustrator
Adobe InDesign
View all communities
Sign in
Search Communities
All Communities
>
Flex
>
Discussions
Please enter a title.
You can not post a blank message. Please type your message and try again.
1 Reply
Latest reply
: Feb 28, 2008 9:33 AM by Gaurav J
Migrating to use new mxmlc task -- doesn't work
Paul J. Lucas
Feb 28, 2008 8:18 AM
I had been doing:
<java jar="${MXMLC.JAR}" fork="true" failonerror="true">
<arg value="-debug=${debug}"/>
<arg value="+configname=air"/>
<arg value="+flexlib=${FLEX_HOME}/frameworks"/>
<arg value="-file-specs=${APP_MXML_FILE}"/>
<arg value="-compiler.include-libraries=${APP_ROOT_DIR}/libs/Degrafa.swc"/>
<arg value="-output=${output-dir}/${APP_SWF_FILE}"/>
</java>
Now I'm trying to do:
<mxmlc configname="air" debug="${debug}"
file="${APP_MXML_FILE}" output="${output-dir}/${APP_SWF_FILE}">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
<include name="libs"/>
</compiler.library-path>
<compiler.external-library-path dir="${APP_ROOT_DIR}/libs">
<include name="Degrafa.swc"/>
</compiler.external-library-path>
</mxmlc>
The former works; the latter generates:
Error: Unable to locate specified base class 'mx.core.WindowedApplication'
Why?
- Paul
This content has been marked as final.
Show 1 reply
1.
Re: Migrating to use new mxmlc task -- doesn't work
Gaurav J
Feb 28, 2008 9:33 AM
(
in response to Paul J. Lucas
)
You need to use air-config.xml
<load-config filename="${FLEX_HOME}/frameworks/air-config.xml"/>
Thanks,
Gaurav Jain
Flex SDK Team
Actions
More Like This
Retrieving data ...