2012-08-06 6 views

답변

1

다음은 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> 
0

각 SDK .SWC가 '런타임 공유 코드로 사용'으로 설정되어 있는지 확인하십시오. 이것은 프로젝트 속성 페이지에 있습니다.

enter image description here

+0

RSL의 식별자로 작동하는지 여부는 확실하지 않았습니다. 외부 공유 코드 – bond

+0

으로 사용한다고해서 내 문제가 해결되지 않습니다. swf를 실행하려고하면 클래스 spark.components :: 응용 프로그램을 찾을 수 없습니다. 그리고 그것은 내가 같은 위치에있는 불꽃 구성 요소를 찾지 않으려 고합니다. – ufk

+0

@ufk 무엇을하려고합니까? 이 스레드는 SWC에서 클래스를 제외합니다. 당신이 얻는 오류는 'spark.components :: Application'과 같은 정의를 포함하고 싶지 않을 때 누군가가 원하는 것입니다. –