Building Mobile Enterprise Applications : webMethods Mobile Development Help : Creating and Building a Mobile Application : Generating Sources for a Mobile Project
Generating Sources for a Mobile Project
 
Java Sources that Mobile Development Generates
To incorporate the changes you make to the mobile project’s model you need to generate the sources. When you generate sources, Mobile Development generates Java classes for the mobile application. For a description of the Java classes that Mobile Development generates, see Java Sources that Mobile Development Generates.
You should generate sources after you update a project, for example, by adding additional user interface objects to the project. You can generate sources from the Outline Editor or the Package Explorer.
The generated Java classes contain the current content of the Outline Editor. That is, they contain any changes that have not been saved yet.
Note:  
Mobile Development also creates .txt files for each language that the mobile project supports. For more information, see Text Resources that Mobile Development Creates for a Project.
To generate sources
*From the Outline Editor:
1. Display your project in the Outline Editor. For more information, see Displaying a Mobile Project in the Outline Editor.
2. In the Outline Editor, right click anywhere and select Generate Source Code > Application Model.
*From the Package Explorer:
1. Locate the project in the Package Explorer.
2. Right-click the project node or any file in the project and select Generate Source Code > Application Model.
Note:  
Selecting Generate Source Code > Application Model generates the source code for the mobile project based on the model you define in the Outline Editor. If you select Generate Source Code > Application Model and API, Mobile Development also generates the Mobile Development API in the gen/api-src folder.
Copyright © 2007-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback