Using Properties Files for Version Controlled Projects

See Also 

The IDE supports two project properties files that are used for setting values for properties that you might want to share with developers on a version controlled project, but also provide a way for developers to override the shared properties values.

The properties files are:

nbproject/project.properties
The public properties file is shared in the version control system by default.
nbproject/private/private.properties
The private properties file is not shared in the version control system by default, and any values set in it override the values of the same properties that are set in the nbproject/project.properties file.

You can edit these files though the Files window when the project is open. If you want to set a property and the file does not exist, simply create an empty file with the appropriate name.

See Relocating Code Assistance Cache For Version Controlled Projects for an example use for the properties file.

See also
  Configuring Code Assistance Settings for C and C++ Projects
Relocating Code Assistance Cache For Version Controlled Projects

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