• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash Builder 4.7 - Command line ExportReleaseBuild unable to compile to Captive Runtime?

New Here ,
Jun 27, 2014 Jun 27, 2014

Copy link to clipboard

Copied

Hi,

I am working on a project with the following setup:

- AIR Desktop running with the ExtendedDesktop Profile with GPU rendermode

- Apache Flex SDK 4.11

- SWF version 18

- Implements the FRESteamWorksNative Extension

- Flash Builder 4.7 Premium is our work enviroment

Our problem is that we can compile the project in Flash Builder manually as Captive Runtime, but when we run it with ExportReleaseBuild in our build.xml, it seems to forget our Captive runtime target and just outputs the installer.

This is our buildscript:

build.bat:

SET FLASHBUILDER="%ADOBE_PATH%\%FLASHBUILDER_PATH%\FlashBuilderC.exe"

%FLASHBUILDER% --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "%WORKSPACE%" -file "%BUILDXML%" desktop

build.xml:

<target name="desktop">

     <fb.exportReleaseBuild verbose="true" destdir="bin-test" project="ProjectName" basefilename="ProjectBaseFileName" packagetype="native" certificate="Certificate.p12" password="passwordToUse"/>

</target>

.actionScriptProperties:

<buildTargets>

    <buildTarget buildTargetName="default" platformId="default">

      <airSettings airCertificatePath="Certificate.p12" airTimestamp="true" anePathSet="true" version="1">

        <airExcludes/>

        <anePaths>

          <anePathEntry path="steamworks/FRESteamWorks.ane"/>

        </anePaths>

        <newLaunchParams/>

        <modifiedLaunchParams/>

        <newPackagingParams/>

        <modifiedPackagingParams>

          <Parameter name="-target" value="air-captive"/>

    <Parameter name="-extdir" value="steamworks/"/>

        </modifiedPackagingParams>

      </airSettings>

      <actionScriptSettings version="1"/>

    </buildTarget>

  </buildTargets>

Any help with this is much appreciated, and if I missed something, please let me know.

Views

862

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 15, 2015 Jun 15, 2015

Copy link to clipboard

Copied

LATEST

Hi,

Could you try building the captive app with command line instead  manually in Flash Builder with the following command, and then try running it:

-adt –package –keystore certificate –storetype pkcs12 –target bundle –storepass password testapp testapp-app.xml testapp.swf

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines