FaqHideSampleProjects

How to make sample project templates unreachable in the installation?

In some types of NetBeans installations it may be needed to make all sample projects unavailable in the NetBeans UI.

The administrator who installs NetBeans IDE can easily make all bundled samples unreachable for all users by creating an empty folder

<netbeans installation folder>/nb/config/Templates/Project/Samples_hidden

It can be created on a command line with a simple command invoked in the root of the NetBeans installation folder:

On Unix:
mkdir --parents nb/config/Templates/Project/Samples_hidden
On Windows:
mkdir nb\config\Templates\Project\Samples_hidden
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo