netbeans

Problems running unit tests after upgrading from Netbeans 6.5 to Netbeans 6.7

Hi All, I am experiencing issues with existing projects from Netbeans 6.5 in Netbeans 6.7 when selecting a file under "Test Packages" and performing a right click-->Debug, or right click-->Run. The error reported is: java.lang.NoSuchMethodError: main Exception in thread "main" Java Result: 1 I am using JUnit 4.x I have not changed ...

netbeans 6.7 deploy J2EE Shared libraries

How can i deploy J2EE Shared libraries in Weblogic server from NetBeans 6.7 IDE. What I mean by Shared libraries is available in the following URL http://download.oracle.com/docs/cd/E13222_01/wls/docs92/ConsoleHelp/pagehelp/J2EElibraryoverviewtitle.html ...

Appropriate way to add "media" files to c/c++ project in netbeans IDE

I have a a c/c++ project in netbeans 6.7 . The project requires a .dll file be located in the same directory as the .exe file, and it also needs a "media" directory (which contains a bunch of png files) within the same directory. I'd like to set it up so netbeans will automatically do this for me. How do I go about doing this? ...

Where can I find the old "Developer Collaboration" plugin?

Once upon a time there is netbeans plugin called "Developer Collaboration" which allows you make remote pair programming. Now, in Netbeans 6.7, there is no more this "Developer Collaboration" but there something called "Kenai support". Unfortunately Kenai does not seems to have a real time editor and it seems to be usable only for open...

How to create project dependencies in netbeans (c/c++ plugin)

As I work on a c++ application, I realize I am making a lot of classes and functions that could be used in other projects. So I'd like to put all this code in a separate net beans project that can be "included" into other projects. (with code completion etc) I've tried creating a new "static library" project, then I added the project to...

How to correctly configure netbeans 6.7 and c++ on windows?

Hello. I have installed and configured NetBeans 6.7 for c++ according to the official manual: http://www.netbeans.org/community/releases/67/cpp-setup-instructions.html#mingw Configuration window looks like this: Unfortunately, at 'compile' command following line is displayed: /usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS=...

SSL Connection works in Console App but not Glassfish

I am having trouble connecting to an LDAP server in my JSP application. I am running the application on GlassFish v2. The following code works well in a console application but fails when used in the jsp: java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider()); System.setProperty("javax.net.ssl.trustStore"...

Can you upgrade netbeans without downloading the whole install?

I can update the plugins, but I don't see a way to update for the whole product. I have Netbeans 6.7.0. Thanks! ...

Java Netbeans BeanCreationException

Hi Im trying to deploy netbeans java ee project ( maven + hibernate + JSF ) on glassfish Im getting error below. My database configuration is ok ( double checked from several apps ), and database itself is ok and online. SEVERE: WebModule[/web-0.1-SNAPSHOT]PWC1275: Exception sending context initialized event to listener instanc...

Distributing a Java console program

I have created a Java console application using Netbeans. In the Netbeans dist directory I have the class file of the project. Now I need to give the executable files to someone else who will run them on another PC. Which file I should send? How can he run them on his PC? Is there any way to create an exe type file? Both PCs have t...

Netbeans 6.7 PHP - How to highlight PHP Code in HTML files?

Hi, Is there any way to tell Netbeans to highlight PHP code in HTML files? I am using Zend Framework, where a lot of PHP code is included in the view files. ...

Seeing "Error: Rake tasks fetching failed with..." Under NetBeans?

Netbeans seems to be throwing this error: "Error: Rake tasks fetching failed with..." whenever I start it up, though otherwise it's fine. What does this mean? ...

In NetBeans IDE, is there a key combo to select up or down many lines?

I always run into this situation: cursor is on line 5 and I want to select everything down to line 16. I have to resort to shift-arrow, arrow, arrow, or use the mouse. NetBeans has "go to line" (Control-G) but you can't hold down shift while doing that, so no good for selecting. There's also "bookmarks," but same problem. Anyone know o...

Netbeans does not see custom *.tagx in my Maven war dependency

I have this scenarion in my project: Maven2 for dependency management One project 'common-web' (war) contains all images, css files, js files, layout files etc. It also contains custom tags (*.tagx files) that we use in our project. They are located in WEB-INF\tags direcotry. Second project (also war) has dependency on common-web, we u...

How can I define a foreign key using netbeans 6.7?

I'm using JPA in netbeans with mysql and I need to define a foreign key. I want to do it graphically because it is very easy to create tables using netbeans 6.7 UI without dealing with SQL commands. Can you tell me how to do it?? ...

Configuring net beans for j2me [kubuntu]

Hi. I'm running Kubuntu and I wanted to create simple application in j2me, so I installed the WTK2.5.2 SDK(thats the latest one supported by Linux) and started programming the application using a combination of Kate and emacs (can't get the code completion to work). Anyway the application works fine when I compile it using the ktoolbar,...

How to generate a Maven site from Maven plug-in for NetBeans IDE ?

Hi, I use Maven plugin for NetBeans IDE. But i want to know how to generate a Maven site from Maven plug-in in NetBeas IDE ? What should i set up in order to generate it ? Is there any way ? regards, ...

NetBeans jQuery Autocomplete Not Working

Autocomplete for jQuery works in my NetBeans on my Mac but not on my PC. Any ideas? Using NetBeans 6.7.1. ...

NetBeans Code Templates ${date} ?

I have this code template in Eclipse @since ${date} when entered i get something like this : @since 4.8.2009 But when i add the same template (@since ${date}) to NetBeans it outputs @since date Can someone help ? No answer yet ? Is this not possible in Netbeans ??? ...

How difficult is it to use the NetBeans RCP?

I need to write a GUI for a Java desktop application and I want to use something more / better than Swing. What is the learning curve for the NetBeans RCP like? The learning curve for Eclipse RCP is so bad that it's not worth considering: "Right now, after one week of training, a RCP newbie just touched the very basic things of RCP. T...