This topic describes how to modify Mobile Development preferences. Before creating mobile applications, you can set preferences to determine log message levels and editor settings for creating and editing templates and mobile applications.
Select Window | Preferences from the main menu bar.
The Preferences dialog box appears.
Expand or select Sybase, Inc, | Mobile Development in the left pane. If you selected Mobile Development, you can define certain preferences of the mobile development environment, described in the tables below. Otherwise, select either Logging or Editors.The tables below explain the preferences for each.
Mobile Development Preferences screen
Field | Description |
---|---|
Use System Background Color in Editor | Select this option to use the system background color in the editor pages. If unselected, white is the background color. |
Drag and Drop |
|
Chunking | Chunking allows you to group a large number of items (templates, mobile applications, and so on) into groups of sub-folders when the Chunk Size is reached. Select the Chunking to enable chunking and enter a Chunk Size that establishes the maximum number of items (templates, mobile applications, and so on) before creating a sub-folder. |
The logging view allows you to filter not only log levels but classes and packages. You can set a logging level to "error." If errors appear, you can then change the logging level to debug. When an error occurs, you can get the debug information from the log file.
Logging Preferences screen
Field | Description |
---|---|
Log Levels | The various levels of logging are:
|
Clear All Root Log Receivers | Some plug-ins add appenders to the root logger, which sends Unwired Accelerator messages to not only the plug-in, but also the appender. This doubles the number of messages that are logged. Click this check box to clear out the log Receivers. |
Console | Select Enable Console Logging to log messages in the Eclipse Console view. |
Eclipse | Select Enable Eclipse Logging to receive messages in the Eclipse Error Log view. |
Mobile Development View Log | The Mobile Development View Log section allows you to define the following logging preferences:
|
File | The File section allows you to direct logging information to a file by defining the following preferences:
|
The Editor Preferences Screen allows you to define the editor to use when creating or modifying mobile applications and templates. It also allows you to choose which pages to display during the mobile application development process.
Editor Preferences screen
Field | Description |
---|---|
XML Editor Type | Choose the XML editor from the drop-down list to use when editing source pages. By default the XML editor is the one provided in Sybase WorkSpace. |
Mobile Applications | Determine the editor to use when editing mobile applications by selecting it from the Open Source Panel With drop-down list. Select which Mobile Application Pages to view during the development process by selecting the check box next to each page you want to display. In the Advanced Configuration section, select Show Authentication in the Web Service Element, if you want to display the authentication options available when defining a Web Service element. |
Templates | Determine the editors to use when editing the various templates by selecting them from the drop-down list next to each template. Select which Template Pages to view during the development process by selecting the check box next to each page you want to display. |
Click OK.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com