netbeans

Add syntax highlighting to .less-files in NetBeans

Hello! I want to have files with a .less extension use the CSS syntax highlighting in NetBeans, and I don't have any clue how to do this. I found a rather time consuming way to do this (http://netbeans.dzone.com/tips/quickstart-guide-language-supp), but it hit me that it must be easier way to do this. Anyone knows? ...

JAXWS wsimport stopping recompile

I am using NetBeans with the JaxWS maven plugin. My app has about 5 different wsdls I need to load. My problem is I want to stop maven or wsimport from recompiling my wsdl every time. I would like to be able to work/compile offline. If no connection is available do not attempt to pull down. This seems like staleFile or Keep would fi...

IDE pros and cons for J2ME and Android development

I have been tasked with updating my teams dev. environment. This environment will be used to develop and test J2ME and Android mobile applications. I am looking at NetBeans 6.8 and Eclipse 3.6. Do you have any recommendations for why either of these would be good or bad for this? (aka mobile plugin problems, compatibility issues, ease of...

Strategies for reverse engineering project that uses Guice?

I have tried to understand dependency injection and not quite gotten it, except I have managed to pick up the understanding that it makes it hard to understand somebody else's code. :'( Anyway, I'm not sure how to briefly describe my problem but I will try. I am currently the sole coder working on a Java project that's been worked on b...

Java Swing: How to access variables in a 2nd frame from the first frame?

I'm programming a desktop application in JAVA usin NetBeans. My question is this: 1st: I have a Jframe that is the principal frame of the application. 2nd: In some moment I want to create a new object of some kind, so I press addButton y create a new JFrame (I create a new class window that extends Jframe) with some text fields in it...

How to pass options to a jar file using Netbeans

Hello, I need to be able to pass option flags to Java when my users execute a given Jar file. I am using Netbeans as my IDE and it would be nice if I could set it somewhere inside there to avoid manually changing each jar file to do this. I know under the project if you right click, go properties, then run, you can set options there b...

How to exlude files/exclude code blocks with code coverage from Netbeans with PHPUnit integration.

Requirements: Netbeans with PHPUnit(6.9) How to: Exclude lines in code coverage. Exclude code blocks(lines) in code covarage. ...

Proguard: How not to optimize classes from a library

I've got a JavaME project here in which I had to include a given library. I'm using Netbeans 6.8, so I just added the library to the project. The classes of the library are then correctly packed into the resulting jar-file. My problem now is that the classes of this library must not be touched by the Proguard obfuscator. So I've tried ...

NetBeans charset problem. Linux -> Windows

Hi everyone! I have problem with charset in my NetBeans on Windows when I open files, which were editting in NB on Linux by my coworkers. I guess it should be unicode in both. What I should to do to resolve this problem? I can find proper option. ...

Netbeans 6.1 Debugger stopped working with error com.sun.jdi.InternalException: Unexpected JDWP Error: 502

I have been using Netbeans 6.1 for a long time and my debugger has always been flawless. Somehow recently (within the last two weeks or so) my debugger stops at breakpoints but it either freezes most of the time or i can't find out the value of any variable, my local variables wont expand and my watches will sometimes show all nulls eve...

How to get jsp file to find the bean I'm trying to use in Netbeans

I think I'm doing something horrible wrong here. I've never used NetBeans before, nor have I ever done anything with JavaServer before, though I've programmed in Java. In netBeans, in a web project, I created a package called DonationCalc, with a file DonationCalc.java, containing my bean. In a jsp file, I have the following: <%@page ...

Hibernate datasource trouble

Hi I have a mysql database from which i got netbeans to generate some entities. Netbeans also automatically generates the persistence.xml, sun-resources.xml and hibernate.cfg.xml file. I am new to hibernate so I don't know much about setting it up. All I know is that right now it isn't working and I have tried loads of things which does...

Maven dependency graph missing in NetBeans 6.9

NetBeans had a really cool feature that would allow you to view all of a Maven project's dependencies as a graph. Well, I recently upgraded from 6.8 to 6.9, and while all the other Maven stuff works fine, the menu item for the dependency graph has vanished. I couldn't find any information on the NetBeans site. Does anybody know if this f...

web service problem in netbeans

hi friends i have a problem with netbeans IDE. i created a web project , i can run it by index.jsp. it`s deploy and running successfully but when i create webService in that, the project can deploy but not running and web service dont run . when i test web service, i see this warning: Unable to open web service tester page: http:...

File corrupted after computer shutdown(power-off) in netbeans

Iam using netbeans 6.9 for PHP , the file i was working on corrupted after computer shutdown(power-off) , despite i save it after every change i make ( web developers know that ) so is there any way to recover the file ? when i open the file in netbeans it show just blank with spaces , when i open it in notepad++ , it show just NULL cha...

Why doesn't netbeans know tomcat started just fine?

When attempting to test a project in netbeans 6.9 using tomcat 6 on ubuntu, I get the following feedback from netbeans: Starting Tomcat process... Waiting for Tomcat... Starting of Tomcat failed. /home/[username]/NetBeansProjects/[projectname]/nbproject/build-impl.xml:683: Deployment error: Starting of Tomcat failed. See th...

Java web start doesn't launch

On my Windows 7 x64 machine, I'm having problems launching my remotely deployed Web Start app (the Web Start app launches correctly on another PC as expected). In IE or FF, I click on the web start launch link, the JNLP is downloaded, it seems to get executed and nothing happens. I see javaws.exe processes running. I don't see a java....

Create on single .JAR with no lib folder

I am using netbeans to develop a project. My project also depends on the javaMail files which I added using Netbeans libraries. When I build the project I get a dist folder under which is my jar file and a lib folder. I want to distribute the project simply to my users and want to some how wrap the lib contents into the project jar fi...

Cannot access provider class's methods.

public final class BrowserTopComponent extends TopComponent implements ActionListener, ChangeListener, LookupListener{ public BrowserTopComponent() { initComponents(); setName(NbBundle.getMessage(BrowserTopComponent.class, "CTL_BrowserTopComponent")); setToolTipText(NbBundle.getMessage(BrowserTopComponent.cla...

Netbeans 6.9 Vertical Line on Screen

Netbeans Vertical Line Screenshot http://www.freeimagehosting.net/image.php?ae2e5aca02.jpg I cannot figure out how to remove this vertical line every time I start Netbeans 6.9 and open any file, it's just right there. I just tried Netbeans 6.9 cause I'm looking for Aptana IDE replacement due to PHP issues. Help...thanks. ...