سؤال

It seems the command -el forces external linkages but then it won't compile because options from playerglobal.swc cannot be found. I just want to build a swc from the source folder and not include any external assets.

My second question is about building FAT SWC files including the ASDOC information.

هل كانت مفيدة؟

المحلول

Here is how todo it in ANT.

<target name="foundation build-debug">
    <delete file="${FDTProjectPath}/bin/${foundation-debug-file}"/>
    <fdt.loadProjectProperties projectname="frameworks" />
    <fdt.launch.library projectname="${FDTProject}" debug="true" autoaddclasspath="false" compilerarguments="
        -target-player=${FDTProjectPlayerVersion}
        -include-sources=${FDTProjectPath}/src
        -allow-source-path-overlap=true 
            -external-library-path+=${FDTProjectSdkPath}/frameworks/libs/ 
            -external-library-path+=${FDTProjectPath}/lib 
        -incremental=true 
        -benchmark=true" target="${FDTProjectPath}/bin/${foundation-debug-file}" />
</target>

نصائح أخرى

Make sure you have each SDK .SWC set to 'Use as Runtime Shared Code'. This is located in your project's properties page.

enter image description here

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top