eclipse

How Do You Install the source for the java libraries in Eclipse?

How do you install the source for the java libraries in Eclipse? ...

Eclipse (3.4): how to get Problems to appear automatically if one has errors?

When I build my projects in FlexBuilder, I want to see any errors immediately; I don't want to have to hover or open the Problem pane every time, nor do I want to always leave it open. Any ideas? ...

Eclipse Plugin - Get outer method?

Hi, I have been developing a plugin for Eclipse. The plugin has a couple of views that need to update when the caret moves in the active editor to reflect the outer method. Currently, I am getting an ASTNode that represents the outer method using the ASTParser class on the whole source for the file and then traversing its hierarchy unt...

GWT in eclipse javax.jws.WebMethod is not supported by Google App Engine's Java runtime environment

I created a GWT application in eclipse using the GWT eclipse plugin. By default it created GreetingServiceAsync.java and GreetingService.java in client package. GreetingServiceImpl.java in server package. Now I want to call a CXF webservice from GreetingServiceImpl.java. I used wsdl2java to generate java classes for my wsdl. I imported ...

GPS on emulator doesn't get the geo fix - Android

Hi I'm developing an application for the android OS, I'm just starting, but I can't get the GPS on the emulator to work. I've read on the internet that you need to send a geo fix to the emulator in order to enable the gps locationProvider. I'm both using the DDMS and telnet to try to send it, but logcat never tells me the it recived a ne...

Can Eclipse generate method-chaining setters

I'd like to generate method-chaining setters (setters that return the object being set), like so: public MyObject setField (Object value) { this.field = value; return this; } This makes it easier to do one-liner instantiations, which I find easier to read: myMethod (new MyObject ().setField (someValue).setOtherField (someOthe...

[Flex 3] Disabling project refresh on build

In the Flex 3 Perspective in Eclipse, is it possible to disable the refreshing of a project after a build? How so? ...

Why can't Eclipse resolve the spring-dwr schema?

Eclipse is showing the following errors in my Spring's applicationContext.xml: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dwr:configuration'. myappservlet-servlet.xml MyApp/src/main/webapp/WEB-INF line 23 XML Problem cvc-complex-type.2.4.c: The matching wildcard is strict, but...

What might be wrong with my Android installation in Ubuntu 9.04

I'm following the installation tutorial according (www.softwarepassion.com/?p=176) to the explanations and everything seems to be fine and not getting any errors. But, when I run the 'Hello, world' application, I get an empty screen on my phone showing me only 'Android' with a blinking cursor. Does anyone know what I might be missing or ...

How can I open a new browser tab in Eclipse PDT?

When I run a PHP script in Eclipse environment, I can select different browsers to render my page and can get different results. But the results are still all shown in the browser output window in eclipse itself. How can I prompt eclipse to actually open a new tab in the browser itself with the php page. I know it can be done by "exter...

nexus indexer (macosx-leopard) issue

hi, I'm stuck trying to add org.nakedobjects.prototyping : application, the nexus indexer cant find anything. I've realized that in the url text box doesn't contains the http;//repo1.maven.org/maven2/ address, any clues? I'm using the latest version of eclipse 3.4.2 ...

maven jetty does not shutdown properly in eclipse

I am currently running jetty from eclipse as an external java program. The problem is when I terminate jetty and I try to relaunch it again, it cannot due to the port still being in use. What I have to do is open up Windows Task Manager and kill the java process manually. How do you get jetty to shutdown/terminate/end nicely? The follo...

How do you add a PHP framework to code completion/assist in Eclipse PDT and can the framework be added as default for all projects?

How do you add a PHP framework to code assist/completion in Eclipse PDT? And is it possible to have that framework added as default for all projects? ...

Why doesn't Eclipse code assist on certain items?

a="hello"; b=a.sub(); document.write(b); My eclipse won't code assist when I write this JavaScript code. it's the sub() part. When I enter b=a.s and I press ctrl+space, it brings nothing. Why is that? ...

how do I set eclipse.ini -vm option ?

I installed maven plugin for eclipse, then I get an error like below: please make sure the -vm option in eclipse.ini is pointing to a JDK how to use -vm option to point to my jdk in eclipse.ini? ...

Eclipse console: detect warning and error patterns and make them clickable

I'm running the flex compiler (mxmlc) from ant inside eclipse for some of our builds (they are meant to run on our continuous integration server as well, that is why I don't build using flex builder itself) -- the patterns of mxmlc are not recognized by the eclipse-console, so I cannot click on them. The patterns is like this: <absolut...

Why my eclipse [on vista] shows incorrect file modification timestamp?

When I right-click on a recently modified file (like a jar generated by Java Builder) and view the file properties, the modification timestamp is always off by 2.5 hrs. Windows explorer, on the other hand, is showing correct timestamp. I suspect that their some time zone setting in eclipse somewhere that is used in translating the file...

TextMate-styles colors in Eclipse

Does anyone know a link to a set of color profiles for Eclipse that resemble TextMate? ...

Eclipse keyboard shortcuts for compare/diff view?

When I am comparing two files in Eclipse (using, for example, "Compare With" --> "Local History"), what keyboard shortcuts are available? I would like to be able to go to the next/previous diff and copy the selected diff left without having to click the tiny little buttons. Thanks! ...

How do I get Eclipse to show the javadoc from my classes without including sources in the jar

I'm building jars where I want to package them without sources but I would like the javadoc to come up for developers in eclipse. ...