Carbon Tools

Content

Third Party Java Library Artifact

To create a third party Java Library, right click on the CApp project and select Java Library Artifact from the menu.



New Server Runtime



There are two ways to create a Java Library Artifact.

  1. From File System
  2. From Workspace
With the File System option, you can point to a jar file of the file system which you may use in the CApp project.



New Server Runtime



With the second option, it will list all the available projects in the workspace and you can select the project you want to create a Java Library dependency.





New Server Runtime



Select the CApp project you want to create Java Library Artifact and and give a name to the Java Library artifact. Then click Finish.





New Server Runtime



Now you will see a new Java Library Artifact has been created under the CApp project.





New Server Runtime



Carbon UI Bundle Artifact

To create a Carbon UI Bundle Artifact, right click on the CApp project and select Carbon UI Bundle Artifact from the menu.





New Server Runtime



To create a Carbon UI Bundle Artifact, first you need to have a Carbon UI Bundle already created in the workspace.





New Server Runtime



If you do not have a Carbon UI Bundle in the workspace, you can create a new Carbon UI bundle by clicking New





New Server Runtime



Give necessary information to the project creation wizard and click Finish.





New Server Runtime







New Server Runtime



Now you will see new project has been created in the workspace and it is already selected to the drop down box of the Carbon UI Bundle Artifact wizard. Then click Next.





New Server Runtime



Select the CApp project you want to create Carbon UI Bundle Artifact and and give a name to the artifact. Then click Finish.





New Server Runtime



Now you will see a new Carbon UI Bundle Artifact has been created under the Artifacts folder of the CApp project.





New Server Runtime



You can add your jsps/js/html files under the "web/customui/org.wso2.tools.eclipse.carbon.test.ui" folder in the created project for Carbon UI Component