Packaging an application
Creating a package involves gathering and organizing all required files and resources for an application, and organizing them for the target operating system or zip file.
Create a new package node in Genero Studio
- Empty Package
- Genero Application Server
- Android
- iOS
- iOS Simulator
- Java
- Zip
The advantage of selecting the correct package is that a package directory structure is defined for you, with some of the properties defined. If you choose an empty package (or if you create your package node using the New Package icon), you will have to build any dirctory structure by hand and set properties.
Why do package nodes already exist?
If you created your project using certain pre-defined project types, it included default package and directory nodes. Look for a Packages group node; any default package nodes will be listed as children of that node.
If you don't see a Packages group node in your project, don't worry! You can add a package node to a project at any time.
Know your RootDir
The package node must have a Root directory (RootDir) defined. The RootDir defines where you will place the files that need to be included in the package. You can organize different types of files in sub-directories under the RootDir. For example, you can have a bin directory for your binaries, and a resources directory for your resource files. Using sub-directories is not required; you can place all of the files into a single folder.
On a Windows® installation, the default Root directory is $(ProjectDir)/bin. You can find out a package's Root directory by reviewing the properties of the package node.