![Apache Apache](/uploads/1/1/8/5/118552380/718969642.jpg)
Cordova for BlackBerry makes use of the BlackBerry WebWorks framework. BlackBerry WebWorks tooling is available for Windows or Mac environments. WebWorks applications can ONLY be deployed to BlackBerry devices running OS 5.0 and higher or the BlackBerry PlayBook operating system.
Apr 19, 2015.bashprofile ant -v Apache Ant(TM) version 1.9.4 compiled on April 29 2014 Trying the default build file: build.xml Buildfile: build.xml does not exist! Build failed if you get those response then you are done. Apache NetBeans provides editors, wizards, and templates to help you create applications in Java, PHP and many other languages. Cross Platform Apache NetBeans can be installed on all operating systems that support Java, i.e, Windows, Linux, Mac OSX and BSD. Apache Ant 1.10.9 are now available for download as source or binary from The Apache Ant team currently maintains two lines of development. The 1.9.x releases require Java5 at runtime and 1.10.x requires Java8 at runtime. Apache Antâ„¢ Apache Ant is a Java library and command-line tool that help building software. Downloading Apache Ant Use the links below to download a binary distribution of Ant from one of our mirrors. It is good practice to verify the integrity of the distribution files, especially if. May 24, 2016 Apache Ant version 1.9.6. Mac OS version 10.11.3. Some of the Mac OS versions already have pre-installed Apache Ant. In order to check this, from terminal run the following command: macbook: adm$ ant -v -bash: ant: command not found macbook: adm$ If you have a similar output you need to install Apache Ant. Installation Step1 - download the.
1. Requirements
- Windows XP (32-bit) or Windows 7 (32-bit and 64-bit) or Mac OSX 10.6.4+
- Java Development Kit (JDK)
- Windows: Oracle JDK (32-Bit Version)
- Mac OS X: Versions prior to Mac OS X 10.7 provided Java by default. OS X 10.7+ requires installation of Java.
- Apache Ant
- Windows: Apache Ant.
- Mac OS X: Apache Ant is bundled with Java install.
2. Install SDK + Cordova
- PlayBook development requires the Adobe Air SDK
- Download and install one or more of the WebWorks SDKs. Keep note of the install directory.
- Smartphone Development: BlackBerry WebWorks Smartphone SDK
- PlayBook Development: BlackBerry WebWorks Tablet OS SDK
- Download the latest copy of Cordova and extract its contents.
3. Setup New Project
- Open up a command prompt/terminal and navigate to where you extracted Cordova.
- There is a directory for each platform that Cordova supports. CD into the blackberry directory.
- The blackberry directory contains two directories,
sample
andwww
. Thesample
folder contains a complete Cordova project. Copy thesample
folder to another location on your computer. - Change to the newly created directory.
- Open up the project.properties file with your favorite editor and edit the entries for
blackberry.bbwp.dir=
and/orplaybook.bbwp.dir=
. Set the value(s) to the directory containing thebbwp
binary in the WebWorks SDK(s) installed earlier.
4. Hello World
Build the Cordova sample project by typing
ant target build
in your command prompt/terminal while you are in your project's directory. Replace target
with either blackberry
or playbook
. Note this is a sample Cordova project and not a basic hello world application. The provided index.html in the www contains example usages of many of the Cordova API.5A. Deploy to Simulator
BlackBerry smartphone simulators are only available on Windows. PlayBook simulators require VMWare Player (Windows) or VMWare Fusion (Mac OS X). The WebWorks SDK provides a default simulator. Additional simulators are available.
How To Install Apache Ant
- Open the project.properties file with your favorite editor and customize the following properties.
- Smartphone (Optional)
blackberry.sim.dir
: Path to directory containing simulator. On windows file separator ' must be escaped '.blackberry.sim.bin
: Name of the simulator executable in the specified directory.
- Playbook
playbook.sim.ip
: IP address of simulator obtained when placing the simulator in developer mode through simulator security settings.playbook.sim.password
: Simulator password which can be set through simulator security settings.
- Smartphone (Optional)
- While in your project directory, in command prompt/terminal type
ant target load-simulator
. Replacetarget
with eitherblackberry
orplaybook
. Note, for PlayBook the simulator virtual image must already be started. - The application will be installed in the All Applications section in the simulator. Note, on BlackBerry OS 5 the application is installed in the Downloads folder.
5B. Deploy to Device (Windows and Mac)
- Deploying to a device requires signing keys which can be obtained from RIM.
- Fill out this form. to request signing keys.
- Install the signing keys once they have been received:
- Install BlackBerry Desktop Software to be able to install a signed application to a smartphone device attached via USB.
- Open the project.properties file with your favorite editor and customize the following properties:
- Smartphone (Optional)
blackberry.sigtool.password
: Password used when code signing keys were registered. If not specified, a prompt will occur.
- Playbook (Required)
playbook.sigtool.csk.password
: Signing key password.playbook.sigtool.p12.password
: Signing key password.playbook.device.ip
: IP address of device obtained when placing the device in developer mode through device security settings.playbook.device.password
: Device password which is set through device security settings.
- Smartphone (Optional)
- While in your project directory, in command prompt/terminal type
ant target load-device
. Replacetarget
with eitherblackberry
orplaybook
. - The application will be installed in the All Applications section in the device. Note, on BlackBerry OS 5 the application is installed in the Downloads folder.
Additional Information
![Download Apache Ant For Mac Download Apache Ant For Mac](/uploads/1/1/8/5/118552380/911247211.jpg)
Apache Ant Download Windows 10
The following articles provide help to issues you may encounter when developing a Cordova application which is based on the BlackBerry WebWorks framework.