📄 build.xml
字号:
<?xml version="1.0" encoding="UTF-8"?><project name="Flex 2 Quick Start" default="build"> <!-- auth:feiy email:feiy@vip.sina.com blog:http://blog.eshangrao.com --> <description> Flex 2 Quick start ant project </description> <!-- set global properties for this build --> <property name="src_path" location="src" /> <property name="build_path" location="build" /> <property name="mxmlc" location="D:\Web\Macromedia\Flex Builder 2 Plug-in Beta 1\Flex Framework 2\bin\mxmlc.exe" /> <property name="mxmlcJar" location="D:\Web\Macromedia\Flex Builder 2 Plug-in Beta 1\Flex Framework 2\lib\mxmlc.jar" /> <property name="flashPlayer" location="D:\Web\Macromedia\Flex Builder 2 Plug-in Beta 1\Player\debug\SAFlashPlayer.exe" /> <property name="mxmlFile" value="" /> <property name="extName" value="" /> <property name="pkgName" value="" /> <target name="init"> <!-- Create the time stamp --> <tstamp /> <!-- Create the build directory structure used by compile --> <mkdir dir="${build_path}/${pkgName}" /> </target> <target name="build" depends="init" description="compile the source "> <delete file="${build_path}/${mxmlFile}.swf" /> <java jar="${mxmlcJar}" fork="true" failonerror="true"> <arg value="-load-config=${basedir}\flex-config_beta1.xml" /> <arg value="${src_path}/${mxmlFile}.${extName}" /> </java> <move file="${src_path}/${mxmlFile}.swf" todir="${build_path}/${pkgName}"/> </target> <target name="run" depends="build" description="open swf file"> <exec executable="${flashPlayer}"> <arg value="${build_path}/${mxmlFile}.swf" /> </exec> </target> <target name="runNoCmp" description="open swf file"> <exec executable="${flashPlayer}"> <arg value="${build_path}/${mxmlFile}.swf" /> </exec> </target> <target name="clean" description="clean up"> <delete file="${build_path}/${mxmlFile}.swf" /> </target> <target name="cleanAll" description="clean up"> <!-- Delete the ${build} and ${dist} directory trees --> <delete dir="${build_path}" /> </target></project>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -