It is possible that '(a)mxmlc' executable was not found or there are compilation
程序员文章站
2024-01-31 08:39:07
...
用Restfulx开发flex运用,执行如下命令:
rake rx:flex:build
报如下错误:
原因:
没有设置flex builder的bin到系统变量中,执行如下命令即可:
export PATH=$PATH:/opt/Adobe_Flex_Builder_Linux/sdks/3.0.0/bin
看看是否设置成功:
echo $PATH
重新执行rake rx:flex:build打印出如下信息:
一切正常了
rake rx:flex:build
报如下错误:
(in /media/disk/software/ework/ruby/cucumberwithflex)
Compiling /media/disk/software/ework/ruby/cucumberwithflex/app/flex/Cucumberwithflex.mxml
The application was not compiled. Check console for errors. It is possible that '(a)mxmlc' executable was not found or there are compilation errors.
原因:
没有设置flex builder的bin到系统变量中,执行如下命令即可:
export PATH=$PATH:/opt/Adobe_Flex_Builder_Linux/sdks/3.0.0/bin
看看是否设置成功:
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/real/realplayer:/opt/Adobe_Flex_Builder_Linux/sdks/3.0.0/bin
重新执行rake rx:flex:build打印出如下信息:
(in /media/disk/software/ework/ruby/cucumberwithflex)
Compiling /media/disk/software/ework/ruby/cucumberwithflex/app/flex/Cucumberwithflex.mxml
Loading configuration file /opt/Adobe_Flex_Builder_Linux/sdks/3.0.0/frameworks/flex-config.xml
Loading configuration file /media/disk/software/ework/ruby/cucumberwithflex/app/flex/Cucumberwithflex-config.xml
/media/disk/software/ework/ruby/cucumberwithflex/app/flex/Cucumberwithflex.swf (371136 bytes)
Moving /media/disk/software/ework/ruby/cucumberwithflex/app/flex/Cucumberwithflex.swf to /media/disk/software/ework/ruby/cucumberwithflex/public/bin
Done!
一切正常了
上一篇: 独家揭秘!吉祥阁风水灵宝怎么样?
下一篇: AIX显示版本的最高全包含版本原则