callback/phonegap — Issue #10: blackberry sample app doesn't build for playbook 
Author: jfbouzereau
Created: 2012-02-06 05:18:54+00:00
State: open

Hello,

The sample project provided in the blackberry webworks distribute doesnt build for playbook (on a mac).
Here is the log :

mac> ant playbook build

Buildfile: /Users/bzr/Desktop/BB/sample/build.xml

playbook:

build:

generate-cod-name:
[echo] Generated name: PhoneGapSample.bar

clean:
[delete] Deleting directory /Users/bzr/Desktop/BB/sample/build

package-app:
[mkdir] Created dir: /Users/bzr/Desktop/BB/sample/build/widget
[copy] Copying 8 files to /Users/bzr/Desktop/BB/sample/build/widget
[copy] Copying 1 file to /Users/bzr/Desktop/BB/sample/build/widget
[copy] Copying 2 files to /Users/bzr/desktop/bb/tablet-sdk/ext
[zip] Building zip: /Users/bzr/Desktop/BB/sample/build/PhoneGapSample.zip

build:
[echo] bbwp false
[exec] [INFO]	Parsing command line options
[exec] [INFO]	Parsing bbwp.properties
[exec] [INFO]	Validating WebWorks archive
[exec] [INFO]	Parsing config.xml
[exec] [WARNING]	Failed to find the element
[exec] [INFO]	Populating application source
[exec] [INFO]	Compiling WebWorks application
[exec] [INFO]	Packaging the bar file
[exec] /private/var/folders/s8/s_ynp_j565bfmh4n7q5mckk00000gn/T/widgetGen.3322073481328505043270.tmp/bin-debug/PhoneGapSample.swf is not part of a Mac OS X Native Extensions framework

[exec] usage:
[exec] adt -checkstore SIGNING_OPTIONS
[exec] adt -certificate -cn ( -ou )? ( -o )? ( -c )? ( -validityPeriod )? ( 1024-RSA | 2048-RSA )
[exec] adt -help
[exec] adt -migrate SIGNING_OPTIONS ( | )
[exec] adt -package SIGNING_OPTIONS ( -target air )? ( FILE_OPTIONS | )
[exec] adt -package SIGNING_OPTIONS -target airn ( FILE-AND-PATH-OPTIONS | )
[exec] adt -package -target ( apk | apk-debug | apk-emulator | apk-captive-runtime ) ( CONNECT_OPTIONS? | -listen ? ) ( -airDownloadURL )? SIGNING_OPTIONS ( PLATFORM-SDK-OPTION? FILE-AND-PATH-OPTIONS | PLATFORM-SDK-OPTION? )
[exec] adt -package -target ( ipa-test | ipa-debug | ipa-app-store | ipa-ad-hoc | ipa-test-interpreter | ipa-debug-interpreter ) CONNECT_OPTIONS? SIGNING_OPTIONS ( PLATFORM-SDK-OPTION? FILE-AND-PATH-OPTIONS | PLATFORM-SDK-OPTION? )
[exec] adt -package SIGNING_OPTIONS? -target native SIGNING_OPTIONS? ( FILE-AND-PATH-OPTIONS | )
[exec] adt -package SIGNING_OPTIONS? -target bundle SIGNING_OPTIONS? ( FILE-AND-PATH-OPTIONS | )
[exec] adt -package SIGNING_OPTIONS? -target ane ANE_OPTIONS
[exec] adt -prepare FILE_AND_PATH_OPTIONS
[exec] adt -sign SIGNING_OPTIONS ( -target ( air | airn | ane ) )? ( | )
[exec] adt -installRuntime PLATFORM-OPTION PLATFORM-SDK-OPTION? ( -device )? ( -package )?
[exec] adt -installApp PLATFORM-OPTION PLATFORM-SDK-OPTION? ( -device )? -package
[exec] adt -uninstallRuntime PLATFORM-OPTION PLATFORM-SDK-OPTION? ( -device )?
[exec] adt -uninstallApp PLATFORM-OPTION PLATFORM-SDK-OPTION? ( -device )? -appid
[exec] adt -launchApp { PLATFORM-OPTION PLATFORM-SDK-OPTION? ( -device )? ( -debuggerPort port )? -appid }
[exec] adt -runtimeVersion PLATFORM-OPTION PLATFORM-SDK-OPTION? ( -device )?
[exec] adt -appVersion PLATFORM-OPTION PLATFORM-SDK-OPTION? ( -device )? -appid
[exec] adt -version
[exec]
[exec] SIGNING_OPTIONS : -storetype ( -keystore )? ( -storepass )? ( -alias )? ( -keypass )? ( -providerName )? ( -tsa )? ( -provisioning-profile )?
[exec] FILE_OPTIONS : * ( ( -C + ) | ( -e ) )*
[exec] CONNECT_OPTIONS : -connect
[exec] ANE_OPTIONS : -swc ( -platform (-platformoptions )? * ( -C + )* )*
[exec] FILE-AND-PATH-OPTIONS: ( PATH-OPTION | FILE-OPTIONS ) FILE-AND-PATH-OPTIONS?
[exec] PATH-OPTION : -extdir
[exec] PLATFORM-OPTION : -platform android
[exec] PLATFORM-SDK-OPTION : -platformsdk
[exec] Error: AIR validation failed
[exec] Result: 1

BUILD SUCCESSFUL
Total time: 6 seconds