netbeans

Preventing Netbeans JAXB generation trashing classes

I'm developing a SOAP service using JAX-WS and JAXB under Netbeans 6.8, and getting a little frustrated with Netbeans trashing my work every time the XSD schema my JAXB bindings are based upon changes. To elaborate, the IDE automatically generates classes bound to the schema, which can then be (un)marshalled from/to XML using JAXB. To ...

Incremental hot deployment on Tomcat with Maven and NetBeans

I'm using NetBeans 6.8, Tomcat 6, and Maven 2.2 and want to see changes in my code immediately in the browser (showing http://localhost:8080) after saving the file. The tomcat-maven-plugin has the following configuration: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.0-beta-...

NetBeans 6.8 'Add JAR/folder' folder added, yet package does not exist

Hey, I have following problem with NetBeans 6.8. I add folder with jars through Project Properties -> Libraries -> Compile tab -> Add JAR/folder. In next window I choose folder and select 'copy to libraries folder'. However I still cannot import any packages. Any help would be appreciated. ...

How to keep IDE configuration files out of code repository?

How can I keep IDE configuration files out of a (svn) repository? The only way I can think of is with very specific "add" and "commit" commands. ...

NetBeans 6.8 Collaborative editing

I remember using collaborative text editing in NetBeans some versions ago. You could edit a file from your project collaboratively with a partner, hosting a server on your computer. It was something similar to Gobby (Kobby). I think you even had a chat client. I'm using NetBeans 6.8 now after a long time with Eclipse. I see there's inte...

axis2 web service behave differently when tested with web service client or with local test class

Hello I need to update a facade to some web service proxy classes to a third party web service, and expose them as a service. This for two reason : to maintain the same interface for all application that need to use the system : actually its migrating and there are a few differences in the third party ws (method names); and to expose a ...

Java IDE - find all INDIRECT usages/references of a function or class?

In Netbeans or in Eclipse, you can use "Find Usages" or "References" from the right click context menu. If a() calls b(), using the functionality from b() will show you a(). However, what I want is to be able to see some kind of tree or have an option to see all usages of a given/class or method, such that if z() calls a() that using the...

Import Eclipse workspace with cyclic dependencies to NetBeans

I'm trying to import an Eclipse workspace consisting of about 10 projects (3 web applications and other class libraries) to NetBeans. The problem is that these projects have some circular dependencies. When I try to import the workspace into NetBeans, it gives lots (about 50? 60?) warnings about the circular dependencies. After frenetic...

how do I fix bracket matching on Netbeans + Javascript?

I've been using Netbeans for a while as my PHP editor, I have some pages with javascript and the bracket matching is really bad: (bracket is highlighted in blue but it can't find it's match) as shown below: http://i40.tinypic.com/119c8wz.png http://i43.tinypic.com/pr9r7.png thanks :) ...

Test-Driven Development Problem

Hi guys, I'm newbie to Java EE 6 and i'm trying to develop very simple JAX-RS application. RESTfull web service working fine. However when I ran my test application, I got the following. What have I done wrong? Or am i forget any configuration? Of course i'm create a JNDI and i'm using Netbeans 6.8 IDE. In finally, thank you for any adv...

Netbeans JCalendar Panel

Hello all This code inside a JFrame form created in netbeans works fine as i'm trying to put a JCalendar in a panel that i create manually. JCalendar myCalendar =new JCalendar(); JPanel customPanel = new JPanel(); customPanel.setSize(400, 250); customPanel.setBorder(new LineBorder(Color.BLACK)); customPanel.add(myCalendar); this.add(cus...

Which IDE is the best in terms of generating gui codes? JBuilder or Netbeans ?

which of these great IDEs? ...

How to deploy to Tomcat from NetBeans?

I've added Tomcat in the "Tools > Servers" menu and as you can see it appears in the list of servers: But when I try to run my project, I cannot select Tomcat! The drop-down with servers is empty. I tried it with NetBeans 6.8 and 6.9 Beta. Any idea? The end: I've used the wrong archetype so that NetBeans decided that Tomcat is not ...

Anyone know the best PHP source code formatter for Netbeans?

I know it has a source formatter however it is not good enough for my needs. Are there any plug ins any one knows about? Thank You ...

Incremental build with NetBeans and Maven for jetty hot deployment

After my unsuccessful attempt to run Tomcat with hot deployment from NetBeans with Maven, I've tried jetty. The jetty-maven-plugin doc gave me an important hint: The plugin will automatically ensure the classes are rebuilt and up-to-date before deployment. If you change the source of a class and your IDE automatically compile...

Java swing doesn't show changes to source

I'm using Java Swing graphical editor with netbeans to make my project...but using it brings some limitations like I can't add to a jpanel an image,using java swing options. So i'll need to code it, implementing a new jPanel. My problem is that the code generated by the java swing graphical editor can't be edited so instead of adding t...

Unable to import nltk in NetBeans

Hello all, I am trying to import NLTK in my python code and I get this error: Traceback (most recent call last): File "/home/afs/NetBeansProjects/NER/getNE_followers.py", line 7, in import nltk ImportError: No module named nltk I am using NetBeans: 6.7.1, Python 2.6 NLTK. My NLTK module is installed in /usr/local/lib/python2.6/d...

NetBeans 6.9 Beta LineWrap

-J-Dorg.netbeans.editor.linewrap=true This command, I have read here, turns the line wrap feature on. What I need to know, however, where can I put this command in order to turn it on? I am using NetBeans 6.9 on Mac OS X 10.6. Thanks in advance for any help! ...

it takes 2 seconds to compile a hello world C++ project in netbeans (windows)

I used code:blocks as the C++ IDE on Windows. I switched to netbeans 6.8 (with C/C++ plugin, MinGW, MSYS) recently, because netbeas have the nice feature of "checking syntax errors when typing" (same as working on Java or PHP projects). But the painful thing is that, it takes 2 seconds to compile a simple hello world project in netbeans...

Java: Check what processes are bound to a port?

Hi, I am developing an application in Netbeans, and it is using JavaDB. I can connect to it and execute queries without issues, but for some reason, the "Output - JavaDB Database Process" pane within Netbeans keeps displaying Security manager installed using the Basic server security policy. Could not listen on port 1527 on host localh...