netbeans

BPEL switch-case in Netbeans

I'm using netbeans to develop some BPEL but can't figure out how to add a switch-case block, it's not in the palette anywhere. I'm using netbeans 6.5. Any ideas? Switch is definitely a valid element: http://charltonb.typepad.com/weblog/2003/08/bpel4ws_switch_.html It's also mentioned in the course materials I'm running through. ...

Deploy java (command line) app using Netbeans / ant

I've finally managed to create a Netbeans project out of an old standalone (not Web-) Java application which consisted only out of single .java sources. Now I have basically two questions regarding Netbeans Subversion interaction and application deployment: Do you check in all the Netbeans project files into the repository, normally? I...

Can't commit to Subversion from NetBeans

When I change some interface things in Java, like the contents of a menu item, and save them, the commit option does not enable. NetBeans does not know that changes have been produced so I cannot commit them. How can I commit them? ...

How to use Microsoft C++ compiler with NetBeans?

I was wondering whether it's possible to use Microsoft's C++ compiler and linker with NetBeans IDE? If so, what's the best way of doing it. P.S. I'm not interested in Mingw. EDIT: Is it possible to get NetBeans to do error parsing (so that I can click on error and have NetBeans open the right file), intellisense, etc? I know NetBeans c...

Imported Java applet project into netbeans won't work, Netbeans refuses to identify or even find main class even when manually set

Hi everyone, I'm trying to set the main class in netbeans to be the main class it was in the last environment it was in, however the program insists it can't find the main class itself and when I set it as the name of the main class in project properties it says the class does not exist (even though it does). When I right click on the ...

Show the CMD window with Java

I'm using this code to launch a .cmd file: try { String line; Process p = Runtime.getRuntime().exec(myPath + "\\punchRender.cmd"); BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream())); while ((line = input.readLine()) != null) { ...

How can I force NetBeans to annotate a javascript file?

I'm using NetBeans 6.5 and I have some javascript files that it claims are binary files and won't display annotations. svn propedit shows that the svn:mime-type is text/javascript and to display the annotations on the command line I have to run "svn annotate --force file.js". ...

Comitting binary files to SVN

svn doesnt commit a library like MySql connector, so when i commit my project it is not uploaded to the server, how can i do this, i how to sync another resources like pictures ...

How can I prevent PermGen space errors in Netbeans?

Every 15-30 minutes Netbeans shows a "java.lang.OutOfMemoryError: PermGen space". From what I learned from Google this seems to be related to classloader leaks or memory leaks in general. Unfortunatly all suggestions I found were related to application servers and I have no idea to adapted them to Netbeans. (I'm not even sure it's the s...

netbeans jvi vimrc file location

I have started using netbeans vim plugin Jvi and i cant seem to find the vimrc file location I found an option that seem to say that it will save the vimrc in the home folder, but there isnt one there. I am using Ubuntu. thanks ...

Does NetBeans play nice with Eclipse projects and vice-versa?

I recently switched from Eclipse to NetBeans (although I don't have any current Eclipse projects lying around that I have easy access to), but a lot of people that I work with (and even my department at school) use Eclipse as their primary IDE. Are there any known catches to using NetBeans with projects made by others in Eclipse? How ab...

Netbeans IDE problem on MacOSX

Hi all I installed Netbeans IDE on Mac OS X few weeks ago. In the code-completion window while writing Java code, I always get the proper full list of possible code completions but in the window that pops-up which is supposed to display JDK documentation entry (all details) for each possible completion, it always say that JDK documenta...

Source Editor Tab order in Netbeans 6.5

I recently switched to Netbeans from Eclipse, and the one thing that I liked about Eclipse I'd like to get in Netbeans: The order of the tabs at the top of the Source Editor in Eclipse seems to be related to most recently used, so if I have a group of 5 files I'm working on at one time, they are all likely to be visible in the tab list,...

Use NetBeans to inspect live Java objects?

In Python, I'm used to being able to start a debugger at any point in the code, then poke around at live objects (call methods, that sort of thing). Is there any way, using NetBeans, to do this? For example, I'd like to be able to break at the line foo = bar().baz().blamo() and run bar(), bar().baz() and bar().baz().blamo() to see what...

Using XOM with NetBeans

I am attempting to install XOM so I can use it in my Java apps. The only problem is, I don't know where I can place it so NetBeans can find it. It would make sense to put it where the other .classes files are, but I can't seem to find them either. The README file for XOM says to install it to the Classpath variable, but I don't know wha...

Migrating from ant to maven in Netbeans

Our software is written in Java and comprise many (7) projects. These projects are Netbeans ant projects. I'm considering to converting them to maven2. Where can I find some hints for doing such thing? ...

Reusing a JPanel in NetBeans GUI Designer

This is in NetBeans 6.5, Java 6. I have the following hierarchy in the NetBeans GUI Designer: JFrame JTabbedPane JPanel X <...> JPanel JButton JPanel Y <...> JButton Question: JPanel Y is identical to JPanel X, so I'd like to simply reuse JPanel X in both places, but how do I do this inside ...

How do I set up the JBoss Maven repository in NetBeans 6.5?

I tried to configure the Maven plug in (version 4) to add the JBoss Maven repository at http://repository.jboss.com/maven2/ following the guide at http://wiki.netbeans.org/MavenBestPractices#section-MavenBestPractices-UtilizingAndManagingMavenRepositories. The new repository appears in the list of Maven repositories, but I can not see a...

How to debug PHP with netbeans and Xdebug

I have recently tried to get going with Netbeans 6.5 after it rated so highly in the IDE review by Smashing magazine. http://www.smashingmagazine.com/2009/02/11/the-big-php-ides-test-why-use-oneand-which-to-choose/ My main reason for switching from Notepad++ is that I'd like to be able to debug my code and set through it. I have follow...

Has anyone successfully configured NetBeans for Python (specifically Python 3.0) development?

I was able to configure NetBeans for 2.6.1 by going to to the Python Platform Manager, creating a new platform, and pointing NetBeans at python.exe where I installed 2.6.1. However, when I follow the exact same steps for 3.0, I get an error in the NetBeans console that says "SyntaxError: invalid syntax". If it matters, Python is install...