You can use Developer Studio to create and modify Jaggery projects and files. To get started, create a Jaggery project by clicking the Jaggery Project link on the Developer Studio dashboard or by choosing File > New > Project and then selecting Jaggery Project from the Jaggery folder inside the WSO2 folder.
When you click Finish, the Jaggery project appears in the Project Explorer with the
Code assistance in Jaggery editor
When you press Ctrl + Space in the Jaggery editor, the code assistance feature is provided for its predefined Modules, Variables, Objects and basic code statements.
For example, code completion for a Jaggery Object, and accessing the operations of the object are shown below.
It also provides the facility for basic code statements. You can either select from the list of statements or type the short key. For example, if you want to get the Function statement, type "fn" as shown in the list and press Enter.
The function statements will then appear in the Jaggery editor.
Generating a Jaggery Deployable Archive
You can generate a Jaggery deployable archive (.zip file) by exporting the project.
- Right-click the Jaggery project and click Export Project as Deployable Archive.
- Select the project and location where you want to save the archive and click Finish .
Deploying the ProjectYou can export the project as a jaggery application (zip) file or you can add it as a dependency of a Composite Application project.
For more information on working with Jaggery, see the Jaggery documentation.