New HTML5/JS Application With Existing Sources Wizard: Name and Location

The New HTML5/JS Application With Existing Sources wizard enables you to create a new project by importing the sources of an existing project into an HTML5 application. You open the New HTML5/JS Application With Existing Sources wizard by opening the New Project wizard and selecting the HTML5/JS Application With Existing Sources template from the HTML5/JS category.

In the Name and Location page you set the following properties:

Property Description

Site Root

Specifies the directory that contains the site root. Click Browse to locate the directory on your local system.
Source Folder Specifies the directory that contains the sources. Click Browse to locate the directory on your local system.

Project Name

Specifies the display name of the project.

Project Directory

Specifies the folder where you want to create the project. You can use the existing location that you specified in the Site Root field or click Browse to specify a different directory.

If you use the Site Root directory as your project directory, the wizard creates the nbproject directory and private metadata files in the Site Root directory. By default this directory will be accessible via the web server if you do modify the configuration of the web server.

If you specify a different directory, the wizard does not automatically create a new directory in the specified location for the project and does not copy the sources from the Site Root directory to the Project Directory. The wizard will create metadata files in the Project Directory that reference the existing sources in the Site Root location.


Click Finish to create the project.


Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.