Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all articles
Browse latest Browse all 70427

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 70427

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>