The Project menu contains commands for project management. Choose one of the following commands for more information.
Compiles any .java
files within the active project that have outdated or nonexistent .class
files. Making a project includes all the .java
files within the project.
Also compiles any of the project's imported files that the project depends on which have outdated or nonexistent .class
files. The imported files that are checked and compiled include all recursively imported files (that is, imported files of imported files) except for files that are in stable packages that are not part of the project.
An "outdated" .class
file is one that has an earlier time stamp than its .java
source file.
To Make the active project, choose Project|Make Project.
Tip: After the initial compilation, Project|Make is faster than Project|Rebuild.
See also
Compiles all .java
files within the selected project, regardless of whether their .class
files are outdated. Also compiles the imported files upon which the project depends, regardless of whether their .class
files are outdated. Rebuilding a project includes all the .java
files within the package or project, including those within nested packages.
The imported files that are compiled include all recursively imported files (that is, imported files of imported files) except for files in stable packages that are not part of the project.
To Rebuild the active project, choose Project|Rebuild Project.
See also
Compiles the file, overwriting outdated or nonexistent .class
files.
Also compiles any imported files that the file depends on which have outdated or nonexistent .class
files. The imported files that are checked and compiled include all recursively imported files (that is, imported files of imported files), except for files that are in stable packages that are not part of the project.
An "outdated" .class
file is one that has an earlier time stamp than its .java
source file.
To Make the active project, choose Project|Make Project.
Tip: After the initial compilation, Project|Make is faster than Project|Rebuild.
To Make a file, choose Project|Make "<file>".
See also
Compiles the file, regardless of whether its .class
files are outdated. Also compiles the imported files upon which the file depends, regardless of whether their .class
files are outdated. The imported files that are compiled include all recursively imported files (that is, imported files of imported files) except for files in stable packages that are not part of the project.
To Rebuild a file, select the file in the project pane and choose Project|Rebuild <node name>.
See also
Package filtering is a feature of JBuilder SE and Enterprise
Applies a filter to the selected packages. Select a package or packages in the project pane, choose Project|Apply Filter, then select one of the commands on the submenu. Filtering commands are also available on the project pane context menu.
Important: For package filtering, automatic source packages must be enabled on the General page of Project Properties. The option for enabling automatic source packages, Enable Source Package Discovery And Compilation, is on by default. See "Automatic source packages" for more information.
Filtered packages are excluded from the build process. However, if JBuilder's Dependency Checker determines that there is a dependency on classes in the excluded packages, those classes are compiled. Filtered packages appear in the Package Filters folder in the project pane.
A <Project Source> node also displays at the top of the project pane when the automatic source packages feature is enabled. This node contains all the source packages and source files in the project, except packages and files that you've added manually. You can use this node to quickly filter source packages. Once this node is excluded, it displays in the Package Filters folder and not at the top of the project pane.
Manually added packages and files can't be excluded with the Apply Filter command. You must remove them from the project to exclude them from the build process. Also, any buildable nodes that are children of the project node, such as Java source files added by wizards, are compiled and can't be excluded unless you remove them from the project. Essentially, any files or packages that display above the Package Filters folder are not filtered and are included in the build process.
Filters are local parameters. Your filter settings don't affect other users.
See also
Excludes the selected package(s) from the build and also excludes all of its subpackages. Any excluded packages are moved to the Package Filters folder in the project pane.
Includes the selected package(s) in the build process and also includes all of its subpackages. If there were any exclusion filters applied to the package or its subpackages, those filters are removed. Select a package(s) in the Package Filters folder and choose Project|Apply Filter|Include Package And Subpackages. Included packages are removed from the Package Filters folder.
Excludes the selected package(s) from the build process. Does not exclude any of its subpackages. The package icon changes in the project pane and the package appears in the Package Filters folder.
Includes the selected package in the build process. If there were any exclusion filters applied to the package, those filters are removed. Select a package(s) in the Package Filters folder and choose Project|Apply Filter|Include Package. Included packages are removed from the Package Filters folder.
This does not affect the filters of subpackages. If it has subpackages that were excluded, the subpackages remain excluded. If it has subpackages that were included, they remain included.
Package filtering is a feature of JBuilder SE and Enterprise
Removes all build filters applied to any packages. All excluded packages and subpackages are included in the build process again, and the Package Filters folder goes away. Filtering commands are also available on the project pane context menu.
See also
Displays the Add File Or Packages To Project dialog box where you choose the name of an existing file or package to add to the current project.
The file is added to the list of files in the project pane. To remove the file, choose Project|Remove From Project.
See also
Removes the selected file from the current project.
In the project pane, select the file you want to remove, then choose Project|Remove From Project. A prompt appears, asking whether to remove the file. When you click OK, the selected file is removed from the current project. The file is not deleted from the drive.
You can put the removed file back in the project with the Project|Add Files/Packages command.
See also
Creates a new folder within a project. These folders are purely organizational tools for the project pane, and have no effect on your directory structure.
Refreshes the node list in the project pane.
Opens the Rename dialog box where you enter a new name for the file. Unlike Save As, this does not make a new version of a file and preserve the old name, it simply overwrites the name of the existing file.
Caution: Renaming files does not change the package or file names referenced inside the code. In JBuilder SE and Enterprise, use rename refactoring to change all references to match the new name.
Opens the Project Properties dialog box where you set project properties for the current project. Each page has a Help button linking to detailed information.
See also
Displays the Default Project Properties dialog box. Use the pages of this dialog box to specify project properties for all new projects. Each page has a Help button linking to detailed information.
These settings do not apply to the current project. To set properties for the current project, select Project|Project Properties.
See also