netbeans

How do i upgrade a module in a running NetBeans Platform application from commandline or script?

How do i upgrade a module in a running NetBeans Platform from commandline or script? When developing NetBeans Platform Apps in NetBeans IDE it is possible to hot deploy/update modules in a running instance of the application you are working on. How can i do this from ex commandline or an ANT script so i can do rapid development of NetBea...

J2ME: Prefetch error -5. MediaException

I get a MediaException (Prefetch error: -5) when executing the following code on a Nokia N73. It runs fine in the emulator and I have tried the same thing before on the same phone successfully. The only difference now is that I am using NetBeans to build and deploy rather than Eclipse. inputPlayer = Manager.createPlayer("capture://audio...

How to upgrade Subversion version for Windows Netbeans

I installed Netbeans then I tried to checkout my projects inside Netbeans. During the process Netbeans informed me something about an old client version of subversion, and now I want to upgrade it. But I don't know where the client is, nor how to update it. BTW I have TortoiseSVN on the same machine and it works fine with the same repos...

How to generate javadoc for unit tests in netbeans

I'm using Netbeans (currently 6.7) and I really like how I can generate javadoc from my source code. However my tests also have documentation (valuable documentation!). Is there anyway I can generate javadocs (ideally for both at the same time). Thanks! ...

Reading a file from Java Servlet

I wrote some code to read a file in my Java Servlet class. (I'm using Netbeans on Windows along with Tomcat server). However, my servlet cannot find the file! After much digging, I found that I had to place the file I wanted to read in Tomcat/bin folder. That's very surprising. How can I get the path to my Webapps/ folder? Let's assume ...

How do I run alternative Rails generators in NetBeans?

Does anybody know how I can run alternative Rails generators in Netbeans 6.7? I have installed nifty-scaffold and want to want to find how I can run the following command from the IDE: script/generate nifty_scaffold etc .... I have installed the nifty-scaffold gem, but it does not appear in the drop-down list when I select 'Generate' ...

customized PHP code formating in Netbeans IDE

Netbeans IDE has code format feature that can be launched using the "Format" item in the "Source" menu. how can I customize this "Format" operation so my formatted code will be in the style that I define. I could not find any special documentation in Netbeans Help or online WIKI. ...

How do a run a bash script on save in NetBeans?

Dear Gurus, I am using NetBeans 6.5 and whenever I save a LessCSS file I would like to run less compiler to compile it to native css. How do I go about achieving this? Many Thanks. Ravi EDIT: I can do a build file as Kim recommended below. I am searching for a solution where I can run an external command. So the question now is How Do ...

NetBeans refactoring Hibernate mapping files

Hi there, When I do a refactoring such as renaming a field in netbeans, the hibernate mapping files are updated accordingly. This could have bean a good thing if the whole files were not completely reformatted. So I would rather not have this feature. Is there a way to disallow the modification of hibernate mapping files by netbeans? ...

How do you debug Clojure in NetBeans IDE?

I have a main function but NetBeans needs a main class in order for stepping. How do you guys debug Clojure in NetBeans? ...

How do I get Netbeans to default to Hex display for watch variables?

In Netbeans 6.5 I am debugging a network stream and need to view the memory in Hex. The only way I have found to do this is to right click on each row and select display as Hex. This is very inefficient and I would like either a memory dump or default to hex. Is there a way to do this? ...

Why Tomcat ignores META-INF/context.xml when run from netbeans?

I have following situation: I have a Maven war project in NetBeans 6.7 I added Tomcat 6.0 as a server, which I use to run this project NetBeans itself creates context.xml file in META-INF directory, I added jdbc resources there, I am sure they are correct. The name is 'jdbc/defaultDS'; I checked in the target directory, context.xml fil...

I accidentally deleted a very important zip file through NetBeans

i was working on my NetBeans and i accidentally deleted a zip folder that was on my desktop...a very important all through netbeans on the left side of netbeans you can see all your projects and one of my projects was on the desktop of my mac. i selected it and then i open the source file selected that zip file and press the delete butto...

Mylyn equivalent for Netbeans?

A co-worker has been going on about how cool Mylyn is for Eclipse. I want to give a task management tool a try but I use Netbeans. Is there a Mylyn like plugin for Netbeans? Preferable with integration to Redmine or Trac? ...

BeansBinding a JTable in NetBeans

I want map a List of beans to a JTable. The idea is that each column will be a preselected field in the bean and each row will be a bean in the List. Slide #32 here looks very promising: http://swinglabs.org/docs/presentations/2007/DesktopMatters/beans-binding-talk.pdf However, NetBeans is not very friendly in letting me assign a bea...

Change template or HTML indentation in NetBeans

How to change HTML template in NetBeans 6.7? ...

Python plugin in netbeans manually

Can install python plugin in netbeans 6.7 manually (without Tools/Plugin) ? if yes (with .nbi package ) which url can use ? ...

free memory netbeans plugin

Is there any plugin for netbeans to free memory manualy ? The netbeans 's core has this feature but not complete . ...

How can I speed up Netbeans Task Marker resolution?

I'm trying to quickly navigate and fix problems in code in Netbeans, and it just takes too long. I'll fix a problem, and it will take seconds to re-compile. While this is happening, the marker remains, and all the others that depend on it will too (requiring multiple next-marker key strokes to get to a "new" problem). If I'm doing a f...

Organising Imports in NetBeans

Netbeans is able to organise imports in a similar fashion to eclipse, but: it seems unable to remove unused imports for classes that can't be resolved (and are no longer used) I can only organise one class at a time - eclipse allows import organisation on packages and projects etc. Is there some way that I can fix these problems? ...