Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6854357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:37:24+00:00 2026-05-27T01:37:24+00:00

In NetBeans, when I add a new file using the PHP Class template, the

  • 0

In NetBeans, when I add a new file using the PHP Class template, the new class contains the following comment:

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

Yet this text doesn’t appear anywhere in the template when I follow it’s instructions to edit the template. How can I avoid having this comment included in all my new classes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T01:37:25+00:00Added an answer on May 27, 2026 at 1:37 am

    You need to remove <#include "../Licenses/license-${project.license}.txt"> from the top of the PHP class template. Don’t forget to do this for Interface, File, and Web Page.

    The text that you are trying to get rid of is part of the Default License so you could just change/remove the text there. The Default License is under the Licenses folder in the Template Manager.

    Alternatively you could put a blank text file or license file in ~/.netbeans/7.0/config/Templates/Licenses/ and name the file license-foo.txt and then in your project.properties file define a key project.license and set it to foo. If you did this you would need to define the same key for each project or you would get the unwanted text again.

    Edit:
    Actually to add a license you can just click the Add… button inside the Template Manager after selecting the Licenses folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I create new c/c++ project in Netbeans and change Makefile and add -lpthread for
Does anyone have any recommendations for tools that you can add to Eclipse, Netbeans
Start a new web application using NetBeans 7 on GlassFish 3.1 In index.xhtml body
If I create a new project in netbeans and add a line break, Xdebug
I have this code in a single file : public class genIntro { public
I tried to switch activities with this code: Intent i = new Intent(this, RegisterActivity.class);
how can add custom Jtable to GUI Builder netbeans form JPanel panel = new
I'm pretty new to java, and using netbeans for design a UI. What I
From NetBeans, I created a new REST webservice (using jersey), using the built-in wizards.
I'm using NetBeans 6.1 as my primary IDE, in there I can't run this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.