-->
The JavaCall porting layer provides a uniform set of APIs that improve and simplify the phoneME Feature software porting process.
To build a default implementation of the JavaCall porting layer, you take the following general steps:
The JavaCall has several environment variables that must be set, as shown in Table 2-1.
Note: Make note of the values you choose for these variables. When executing the build procedures for PCSL, CLDC, and the phoneME Feature software client, you must set corresponding values.
|
The location of your phoneME Feature build directory.
For example,
|
|
Specifies the location of the base JavaCall API source code and makefiles, which contains MIDP and specific optional packages, including the following:
Java Wireless Messaging (JSR 120)
For example, |
|
Specifies the location of additional JavaCall API source code and makefiles, which includes additional optional packages, including the following:
Personal Information and File Management (JSR 75)
For example, |
|
Defines the directory where the build system places its output. For example,
|
|
Required for phoneME Feature to support multitasking. Must be set to
Note: If you set |
|
Defines the directory where needed build tools are located. For example,
|
|
Defines a directory location for tools-specific output. For example,
|
|
Tells the build system to use Microsoft Visual Studio 2005 as the default compiler
setting, as shown here:
Note: If Microsoft Visual Studio 2005 is your default compiler, you do not
need to set this variable.
|
|
Supports the use of the emulator binary plugin. For example,
|
Note: The phoneME Feature client software is complex and flexible, and many build options are available. For more information on build options, see Sun Java Wireless Client Software Build Guide.
To build an implementation of the JavaCall porting layer, take the following steps:
BuildDir
variable, as shown here:
C:\> set BuildDir=%COMPONENTS_DIR%/javacall-com/configuration/phoneMEFeature/win32_emul
make
command as a single command-line string, as
shown here, using the -C
option.
C:\> make -C %BuildDir% JAVACALL_DIR=%COMPONENTS_DIR%/javacall
PROJECT_JAVACALL_DIR=%COMPONENTS_DIR%/javacall-com
JAVACALL_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/javacall USE_MULTIPLE_ISOLATES=true
TOOLS_DIR=%COMPONENTS_DIR%/tools TOOLS_OUTPUT_DIR=%BUILD_OUTPUT_DIR%/tools
USE_OUTPUT_REDIRECTION=true
Note: It is possible to include optional packages in your JavaCall porting layer build. The makefiles for building these optional packages are picked up from the repository and zip archive with the JavaCall source, but no optional packages are built unless other variables are set. For more information, see Including Optional Packages in Your Build.
When the make
command has successfully completed, the JavaCall porting layer
output is found in %JAVACALL_OUTPUT_DIR%
.
first | prev | next | last
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.