Documentation Archive Developer
Search
Table of Contents Previous Section 

Building Your Application

You must build your application if your project contains any compiled code (Java or Objective-C). If your application uses WebScript only, you do not need to build. In this case, Project Builder runs a default executable (WODefaultApp) when you launch your application.
 

Once you have built your application, you do not need to rebuild unless you have made changes to your compiled code. You can make changes to your components (the .html, .wod, or .wos files) and test them without rebuilding.
 

Note: When you are developing a framework, you must rebuild after any change, even for changes to scripts or images. Therefore, when developing a framework, it is probably best to develop it as an application project, and once it has been tested, move its reusable pieces into a framework.
 
Project Builder has a toolbar with buttons you use to build and launch your application.

 

  1. Click  in the toolbar to open the Project Build panel. 
  2. Click  in the Project Build panel to build your project. 
  3. The Project Build panel displays the commands that are being executed to build your project. If all goes well, it displays the status message "Build succeeded."

     

  4. Close the panel.

The Application Wrapper

When you build your project, Project Builder creates an application wrapper, which is a folder whose name is the project name plus the extension .woa.

The application wrapper has a structure similar to that of a framework. It consists of the following:

When you build and install your application, Project Builder copies all the files from your Web Server Resources suitcase to a folder called WebServerResources inside the application wrapper. If you have client-side Java components in your project, these are also copied to the WebServerResources folder.

 

Table of Contents Next Section