netbeans

Are there any means in Scala to split a class code into many files?

There are 2 reasons for me to ask: 1. I'd like a better code fragmentation to facilitate version control on per-function level 2. I struggle from some attention deficit disorder and it is hard for me to work with long pieces of code such as big class files To address these problems I used to use include directives in C++ and partial c...

dataoutputstream format not correct

I am writing a output file using netbeans. I am using dataoutputstream. It outputs the dataset that i want, but it is doing it in one long row. I want it in a column. I've tried to correct it with "n", "t" and System.getProperty("line.separator"). Any suggestions? ...

Background stripes, or location or font of row|col cursor position indicator in NetBeans 6.9?

I find the "rol|col" indicator at the bottom right of the NetBeans 6.9 window to be too small for convenient use when working on things that need precise alignment by character. I can always use a comment to help me align things: // Alignment guide: 12345678_1_2345678_2_2345678_3_2345678_4 System.out.println("Every line must be...

Using Python in Netbeans

Hi, I have x64 Windows XP machine. I use Netbeans to code Java. I am now trying to use it for Python, but I get this error: \NetBeans was unexpected at this time. Any idea how to fix it? ...

NetBeans Build Files Are Never Correct

My current team has standardized on NetBeans for all of our Java development, and we use the NetBeans-generated ANT files as our official build process. But the files are always wrong. Various members of the team are using different versions of NetBeans, and evidently, they all generate slightly different "build-impl.xml" files. So, up...

Problem using Zend Framework on NetBeans

Hi! I am learning about Zend Framework, I want to use NetBeans to start, but when I try to do this on NB: Tools -> Options -> PHP -> Zend -> Click on 'Register Provider' the next error appear on output window: PHP Warning: include_once(NetBeansCommandsProvider.php): failed to open stream: No such file or directory in /usr/share/php/lib...

Netbeans - difference between "Source files" and "Include path" in php project

Hi, what is the difference between "Source files" and "Include path" in php project. Thanx ...

What's wrong with this html?

My html that starts with: <html> <head> <script type="text/javascript" language="JavaScript1.3" src="js/euDock.2.0.js"></script> <script type="text/javascript" language="JavaScript1.3" src="js/euDock.Image.js"></script> </head> Netbeans says on the <head> line: The tag content is unresolved, expecting one of <ISINDEX>, ...

Is it possible to run a grails single grails unit test class from NetBeans?

I've been unable to find a way to run a single grails test class (which extend GrailsUnitTestClass) from the command line. (I currently have a question out with a decent bounty, if you are interested.) I'd be even happier if I could do the same from within NetBeans, but I haven't been able to do that either. Any ideas? ...

Bug only appears when running C code inside NetBeans

Running a piece of C code from inside Netbeans 6.8 causes a Segmentation Fault. But the problem doesn't appear when running in debugging mode or from shell. Tried both in external terminal and output window of Netbeans. The process is threaded, and uses an itimer that sends a signal, which I am masking with pthread_sigmask for threads t...

How to set the NetBeans boot class path to include mail.jar?

I have a javamail app that works fine in the Android/Eclipse environment, but throws the following in NetBeans (porting Android app to Desktop): javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed boundary="----=_Part_0_7749469.1284737984291" I found a workaround here, but can't figure o...

Is there how I could revert to the code that last built/tested successfully?

Developing in NetBeans with Maven I often keep reverting back to local history and svn code as things no longer work (TDD?). Other than committing to a 'testing new idea X' branch after each successful build/test is there how I could configure Maven to do that at each build automatically? Is anyone else running into the same issue, and ...

Java Applet Sign

I have written an applet with Netbeans. When I click on Clean and Build then Netbean create a jar file "Test.jar" and also another folder called lib in the same directory. I've signed the Test.jar. Basically this applet upload files to server with FTP. So when Applet loads into browser then I am able to select files but when I click on u...

How to disable task scanning for PHP edition of Netbeans 6.9

Task scanning on very large projects seems to bog down the IDE. I love this editor and it's ability to parse large complex projects such as Magento, but performance can get iffy. According to this answer, it used to be possible to disable the plugin, but it seems that version 6.9 of Netbeans has made that impossible. Any ideas on how...

Installed PHPUnit Via PEAR But Cannot Find PHPUnit.bat To Add To Netbeans

Hi. i installed PHPUnit via pear and cannot find the phpunit.bat file to add to the path in netneans. Where should it be? My pear dir is c:/server/xampp/php/PEAR ...

interesting situation in c++

#include <iostream> #include <stdlib.h> using namespace std; int main(int argc, char* argv[]) { std:: cout<<"hello world"; std::cout<<"i am surprise<"<<std::endl; return (EXIT_SUCCESS); } It is very strange because I am using netbeans in Ubuntu 10.04 and run this code. What happens here really makes me surprised; every line o...

Setting up Tomcat 6 and NetBeans on Snow Leopard

I'm trying to set up my dev environment on my new MBP which has 8GB of RAM. My IDE of choice is NetBeans 6.9 and I keep getting a memory exception (Permgen Outofmemory error) when I start an application through Tomcat 6. Here's my netbeans.conf file: netbeans_default_options="-J-Xms256m -J-Xmx2048m -J-XX:PermSize=32m -J-XX:MaxPermSiz...

why testing an individual junit test works, while testing them together won't?

The test that fails when tested together with mvn test (or through the ide) is called EmpiricalTest. If I test the file alone it goes through, but not otherwise. Why could that be? You can checkout the Maven source code (to test) from here. This is how I make sure the database is 'blank' before each test: abstract public class Persis...

how can I debug the fib function of this code?

Hi I asked about this code here:link text but because I think no body will attend to my new question in that page ,I put it here: as you see in that question one of my friends (deks) debugged my code and also send me the out put of fib function,how can i do that by myself !!! really I know a little about debugging please help me,thanks...

Is it possible to add external command line tools to Netbeans?

Hi, Is it possible to use external command line tools in Netbeans? Thank you. ...