Greetings!
I have been following the official Flash Builder directions to produce a captive runtime executable using the command line version of Flash Builder (FlashBuilderC.exe). Unfortunately, all that I seem to get is a signed native installer. Everything works as expected when I go through the Flash Builder IDE. I found this discussion from a year ago that went unanswered that appears to have the same issue. In my case, I'm using Flash Builder 4.7.
Here is the batch file I'm using to try and build my captive runtime executable:
set WORKSPACE=%HOMEPATH%\Adobe Flash Builder 4.7 REM works with either FlashBuilderC.exe or eclipsec.exe REM previous data parameter: -data "%WORKSPACE%" ^ "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\FlashBuilderC.exe" ^ --launcher.suppressErrors ^ -noSplash ^ -application org.eclipse.ant.core.antRunner ^ -data "C:\Users\dwyand_2\Adobe Flash Builder 4.7" ^ -file "%cd%\commandlinebuild.xml" main
Here is my commandlinebuid.xml:
<?xml version="1.0"?><project default="main"> <target name="main"> <fb.exportReleaseBuild project="Designer" application="src/Designer.as" destdir="bin-release" basefilename="Designer" verbose="true" packagetype="native" certificate="Path/To/Certificate" password="PasswordGoesHere" /> </target></project>
And as I'm trying to build a captive runtime, I understand that fb.exportreleaseBuild references .actionScriptProperties, so here it is (saved after doing an Export Release Build in the Flash Builder 4.7 IDE):
<?xml version="1.0" encoding="UTF-8" standalone="no"?><actionScriptProperties analytics="false" mainApplicationPath="Designer.as" projectUUID="5eff7f8b-d411-4afd-9ae2-bdf125418538" version="11"> <compiler additionalCompilerArguments="-locale en_US -define SCRATCH::allow3d true" autoRSLOrdering="true" copyDependentFiles="true" flexSDK="Apache Flex 4.11.0 FP 11.6 AIR 3.6 en_US" fteInMXComponents="false" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="true" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true"> <compilerSourcePath/> <libraryPath defaultLinkType="0"> <libraryPathEntry kind="4" path=""> <excludedEntries> <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/> <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/core.swc" useDefaultLinkType="false"/> </excludedEntries> </libraryPathEntry> <libraryPathEntry kind="1" linkType="1" path="libs"/> </libraryPath> <sourceAttachmentPath/> </compiler> <applications> <application path="Designer.as"> <airExcludes/> </application> </applications> <modules/> <workers/> <buildCSSFiles/> <flashCatalyst validateFlashCatalystCompatibility="false"/> <buildTargets> <buildTarget buildTargetName="default" platformId="default"> <airSettings airCertificatePath="Path/To/Certificate" airTimestamp="true" anePathSet="true" version="1"> <airExcludes/> <anePaths/> <newLaunchParams/> <modifiedLaunchParams/> <newPackagingParams/> <modifiedPackagingParams/> </airSettings> <actionScriptSettings version="1"/> </buildTarget> </buildTargets></actionScriptProperties>
What could I be doing wrong? Thanks!
- Dave