- Oracle JET for Developers
- Raja Malleswara Rao Pattamsetti
- 374字
- 2021-07-02 22:03:05
Managing and running the project using NetBeans IDE
NetBeans Integrated Development Environment (IDE) provides a quick and easy way to develop desktop, mobile, and web applications with Java, JavaScript, HTML5, and other programming languages.
It can be downloaded and installed from its home page: https://netbeans.org/.
Once the NetBeans IDE is installed, we can open the project using File | Open Project and select the project root folder, which opens the project in the IDE as follows:

NetBeans automatically identifies this project as an npm Grunt project and shows the directories accordingly. We can expand and review the folder structure.
Right-clicking on the project root folder and selecting the Build command (as follows) gives us the option:

The preceding Build option prompts you to configure project actions to call Grunt tasks from within NetBeans IDE. Choose Yes to open the configuration window:

Select all the options (checkboxes) and click OK to run Grunt commands enabled in the project actions, as follows:

Right-click on the project root folder again and click on the Build option to let Grunt build the project within the IDE, as shown in the following screenshot:

Once the project is built, select the project by clicking on the project root folder, and choose the Chrome option from the menu icons as shown in the following screenshot:

It will prompt you to select the start file; you can choose the web/index.html as the start file for the project. Click OK to run the project:

The application should open and run in the Chrome browser (assuming we already have the Chrome browser installed). The first time, it prompts you to install the Chrome NetBeans connector plugin; choose Yes to install it. This allows the pages to refresh automatically for future changes, through a NetBeans connection to the browser.
The application should be running and will show the landing page in the browser as follows:

This means that we have successfully built our first Oracle JET application and have run it using both command line and IDE instructions. We can make further changes to the application and observe the changes on web pages, which we will cover in the upcoming chapters.
- pcDuino開發實戰
- Linux操作系統基礎
- Hands-On DevOps with Vagrant
- 無蘋果不生活 OS X Mountain Lion隨身寶典
- FreeRTOS實時內核應用指南
- 高性能Linux服務器構建實戰:運維監控、性能調優與集群應用
- Linux網絡內核分析與開發
- 計算機系統開發與優化實戰
- Python基礎教程(第3版)
- 嵌入式實時操作系統:RT-Thread設計與實現
- 注冊表應用完全DIY
- Windows Server 2012網絡操作系統項目教程(第4版)
- Red Hat Enterprise Linux 6.4網絡操作系統詳解
- bash shell腳本編程經典實例(第2版)
- 大規模分布式系統架構與設計實戰