eclipse

Eclipse with Remote Unit Tests

I'm working on a Mac. My dev server is linux. My directory is mounted over SSH using FUSE. How can I execute my ant script on the remote server within Eclipse? Right now I'm just switching to a terminal and running ant manually. Please, no suggestions that I run the tests locally. ...

eclipse existing maven project add jpa support ?

how to add jpa support for existing maven project i tried project-->configure--> convert to jpa project (there is no this option) but for my other projects, such option available... can comment? I already have existing mven project and i want to generate jpa entity from tables. no need to create new jpa project right? ...

JUnit test ends with network connection error

I'm running some JUnit 4 tests in eclipse for my Java project which I know have functioned two days ago without problems. Today, though, I get errors: Could not connect to: : 40212 java.net.SocketException: Network is unreachable at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect...

JUnit Eclipse Plugin?

I feel stupid for not being able to find this, but where is the JUnit plugin for Eclipse? I've included the latest .jar in my buildpath, but I still don't have the option to create a new test case, run test cases with the green/red bar, etc. I need the plugin for this, right? EDIT: I'm using "Eclipse for PHP Developers". So perhaps that...

Eclipse: Is there any way to have all local variables aligned in Eclipse?

Eclipse has a great feature to allow you to align all your 'fields in columns' meaning that it will turn: int myVar = 2334; int asdf = 34; String s = "hello"; into int myVar = 2334; int asdf = 34; String s = "Hello"; This makes the code a lot more readable and I love it. However I can't seem to find a similar setti...

Questions about IntelliJ to Eclipse transition

I just started using eclipse for some personal projects and am finding the transition from IntelliJ (what I use at work) kind of annoying. I hope it's kosher to ask a few different questions in the same thread. Here goes: 1) How do I get "views" (I'm not sure if this is the term. I mean windows such as Project Explorer, Servers, Console...

How to set JFace ListViewer size?

OK - I give up. How can I set width and height of a JFace ListViewer? This should be self-evident but can't seem to find anything and there's no obvious way of doing it looking at the methods of the class. Tried this with no luck: myListViewer.getControl().setSize(1000, 1000); Any help appreciated. ...

Eclipse configuration: where to put external libs?

I have configured my Eclipse to have a C:\Eclipse\external_libs directory where I place all my external libraries. In my case , my external libs are WATIJ, XMLUNIT, and XOM . Adding the external libs to the project is no problem... there is no question about that. I also place my JDK at C:\Eclipse\Javasoft . What I am wondering ...

False errors in eclipse?

Okay, so eclipse says my code has errors in it, but there are no red lines. When I try to run my project (Called Game2) it gives me this error: java.lang.NoClassDefFoundError: Game2 Caused by: java.lang.ClassNotFoundException: Game2 at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(N...

How do I Get Started Using Flex and Ecplise Without Using Flex Builder?

Hello All, I am a ASP.NET web developer who wants to learn Flex and Actionscript. I want to first learn how to develop web applications using Flex without having to pay for Flex Builder. From what I have researched so far there is a way to get Flex working with Eclipse and I did stumble upon this website: http://systems.tinuum.net/?p=5...

Bug in eclipse, not showing anything in Install Software Screen

I have a problem with my eclipse. Whenever I go to the Install Software screen and put in a an update site, the screen shows nothing but when I click on the screen where I can select plugins they're there and I can actually go on to install the plugins. I actually saw the plugins showing the first time I used it and then I got this e...

How do I get Perl::Critic to work with E.P.I.C and eclipse?

I'm running eclipse Galileo with EPIC 0.5.46 and ActiveState ActivePerl 5.10.0, on WinXP SP3. I just downloaded Perl::Critic using the package manager, and integrated it to eclipse using the appropriate Properties page. I can run Perl::Critic just fine from my eclipse source context menu; it runs. But it doesn't put any markers in...

Using POCO for windows developing with Eclipse

Hi, i have build POCO library with Visual Studio 2008 and get the .lib files (PocoFoundationmt.lib, PocoNetmt.lib ...) I try to compile a simple program from Poco/Net/samples/httpget using latest Eclipse IDE I have linked project to libraries (Preferences > C/C++ Build > Settings > MinGW C++ Linker) and specified include paths. It see...

Eclipse PDT does not underline syntax errors and code completion

Hi, Ater installing Eclipse PDT on my Mac(snow leopard), I installed Remote System Explorer (RSE) from http://download.eclipse.org/dsdp/tm/updates/3.0/. Now the editor neither underline syntax errors, nor do the code completion. But the editor does color the code. Where I can config it? Thanks!!! ...

Import Java project into Eclipse using Java.

I've written a java program that writes another java project. However, I want to add a piece of specific code that will import the project into the workspace. Can this be done? ...

How to customise Eclipse for my own language?

I have made a simple experimental language of my own. I want make Eclipse editor plugins or whatever I need to edit the programs for my language. How do I begin with writing an Eclipse feature for my language? ...

Javascript unit testing in eclipse

I am doing a firefox extension using eclipse and need to know how I can do unit testing for that project. ...

Maven Eclipse plugin and classpath issues in Eclipse

I am using Eclipse 3.51, Maven 2.0.9, Java 1.4, with the Maven Eclipse plugin 2.7 with WTP 2.0 (not m2Eclipse). I have a flat multi module project that is set up as follows (module Parent with the parent pom, module A and B is dependent on C). Importing the four modules in for the first time will show compile errors as expected since I...

JSF Eclipse Designer

Is there any Eclipse plugin that will allow me to do a Visual Studio like drag-and-drop for JSF components on a web page? So I won't have to write <f:input...> and the tool would just create this code for me? If not eclipse, are there are other options? (I do not plan to actually use something like this but I do need to know). ...

toString() unavailable error in Eclipse debugger

While stepping through a method using the Eclipse debugger, I started seeing "toString() unavailable - no suspended threads" for all the variables I wanted to inspect. Why did I get that error, and what should I do next to narrow down the problem in my code? edit My code does create a new process, but the variables I wanted to examine ...