netbeans-6.9

How do I Ignore the build folder in NetBeans 'Find In Projects'?

跟風遠走 提交于 2019-11-29 06:28:40
Anyone know how to ignore the build folder when doing a 'Find in Projects' on NetBeans (v6.9.1). Currently the Search results pane shows all results from src folders but also those from the build folder so if your project contains a lot of JSP files for example, many results are duplicated... YetMoreStuff I think I've figured out how to ignore the build folder of projects when doing a 'Find in Projects' in NetBeans 6.9.1: Go to Tools->Options-Miscellaneous . Click the Files tab. In Files Ignored by the IDE , edit the Ignored Files Pattern regular expression and include the build folder. For

Changing my web browser in Netbeans 6.9.1

十年热恋 提交于 2019-11-29 03:48:19
I have Netbeans 6.9.1 and I want to change the default browser to Chrome. I have seen a thread that says for Netbeans 6.5, it can be configured from Tools > Options > General but the problem is I can't find Options in my Tools tab because I am not using that version. Anyone know how to do this with Netbeans 6.9.1? Milan Svitlica In the file C:\Program Files\NetBeans 6.8\etc\netbeans.conf , add the following line to the netbeans_default_options properties: -J-Dorg.netbeans.modules.extbrowser.UseDesktopBrowse=true Then set Chrome as the default browser. Alternative method (tried this with

NBGit to remote host with ssh

ε祈祈猫儿з 提交于 2019-11-28 02:18:32
I´m trying to get that working: clone a git project from an ssh server with NBGit. I get NBGit installed, works well local, but when given the connection parameters I´m not sure what is the right URL. Or maybe it is not supported at the moment? NBGit 0.4 for NB 6.9.1 on Win7 The URL should be: git@myserver:/myreppo But as reported in issue 91 , that might not work very well. I would explore the workaround presented in issue 56 : In your ~/.ssh directory, create a "config" file open ~/.ssh/config in a text editor and put in the following: Host AHostName -- this will be the name you will be

How do I Ignore the build folder in NetBeans 'Find In Projects'?

泪湿孤枕 提交于 2019-11-27 23:50:10
问题 Anyone know how to ignore the build folder when doing a 'Find in Projects' on NetBeans (v6.9.1). Currently the Search results pane shows all results from src folders but also those from the build folder so if your project contains a lot of JSP files for example, many results are duplicated... 回答1: I think I've figured out how to ignore the build folder of projects when doing a 'Find in Projects' in NetBeans 6.9.1: Go to Tools->Options-Miscellaneous . Click the Files tab. In Files Ignored by

Changing my web browser in Netbeans 6.9.1

只愿长相守 提交于 2019-11-27 17:44:05
问题 I have Netbeans 6.9.1 and I want to change the default browser to Chrome. I have seen a thread that says for Netbeans 6.5, it can be configured from Tools > Options > General but the problem is I can't find Options in my Tools tab because I am not using that version. Anyone know how to do this with Netbeans 6.9.1? 回答1: In the file C:\Program Files\NetBeans 6.8\etc\netbeans.conf , add the following line to the netbeans_default_options properties: -J-Dorg.netbeans.modules.extbrowser

Change JRE in NetBeans project

a 夏天 提交于 2019-11-27 09:27:07
I have a NetBeans project which is using the JRE 1.4 environment which means I can't use generics. How can I change the project to use 1.6 (?) so I can use generics. OliBlogger In the Project tab, Right Click on the Project and select Properties .In the Library category select Java Platform JDK 1.6 . Then, in the Source category select Source/Binary Format JDK6 . This assumes that you installed JDK 1.6 and NetBeans knows about this. JDK 1.6 must be known to NetBeans as a Java Platform. From the menu select Tools->Java Platform Manager. If JDK 1.6 is not in the list you can add it there. In

NBGit to remote host with ssh

二次信任 提交于 2019-11-26 22:11:46
问题 I´m trying to get that working: clone a git project from an ssh server with NBGit. I get NBGit installed, works well local, but when given the connection parameters I´m not sure what is the right URL. Or maybe it is not supported at the moment? NBGit 0.4 for NB 6.9.1 on Win7 回答1: The URL should be: git@myserver:/myreppo But as reported in issue 91, that might not work very well. I would explore the workaround presented in issue 56: In your ~/.ssh directory, create a "config" file open ~/.ssh

Change JRE in NetBeans project

可紊 提交于 2019-11-26 14:45:44
问题 I have a NetBeans project which is using the JRE 1.4 environment which means I can't use generics. How can I change the project to use 1.6 (?) so I can use generics. 回答1: In the Project tab, Right Click on the Project and select Properties .In the Library category select Java Platform JDK 1.6 . Then, in the Source category select Source/Binary Format JDK6 . This assumes that you installed JDK 1.6 and NetBeans knows about this. JDK 1.6 must be known to NetBeans as a Java Platform. From the

Java, How to add library files in netbeans?

扶醉桌前 提交于 2019-11-26 13:44:58
I am new to the Netbeans IDE and Java. I have a java project that shows lot of compilation errors: can not import "org.apache.commons.logging.Log" Can somebody please help me with these errors, How do I add library files in Netbeans IDE? Quick solution in NetBeans 6.8. In the Projects window right-click on the name of the project that lacks library -> Properties -> The Project Properties window opens. In Categories tree select "Libraries" node -> On the right side of the Project Properties window press button "Add JAR/Folder" -> Select jars you need. You also can see my short Video How-To .

Leaking this in constructor warning

我只是一个虾纸丫 提交于 2019-11-26 12:18:55
I'd like to avoid (most of the) warnings of Netbeans 6.9.1, and I have a problem with the 'Leaking this in constructor' warning. I understand the problem, calling a method in the constructor and passing " this " is dangerous, since " this " may not have been fully initialized. It was easy to fix the warning in my singleton classes, because the constructor is private and only called from the same class. Old code (simplified): private Singleton() { ... addWindowFocusListener(this); } public static Singleton getInstance() { ... instance = new Singleton(); ... } New code (simplified): private