eclipse

How can I add Websphere 6.1 server/runtime to Eclipse?

I'm currently using RAD 7.0.x.x but I would like to switch to Eclipse. As far as I managed to Google, there's no way to do it (there is an example which shows it's possible by making a Genreic Server/Runtime, but that option is not available in Eclipse Galileo 3.5.2.). I could try Helios, but before downloading and installing would like ...

How to set up an environment in Eclipse CDT by script per project?

I have got several projects in my workspace. I have a script which set a different environment for each project. How can i get Eclipse CDT to use this script to set up the environment instead of setting everything by hand for each project? Thanks. ...

In GWT 2.1.0.M2 the options "-style pretty" couldn't be recognized

I am using GWT eclipse plugin and try to add option "-style pretty" inside arguments tab of debug configuration window in eclipse. But after click debug it just prompts "Unknown argument: -style". I used to use webcreator to create gwt app. this is my first time to use plugin and i am not sure i put it into the right place or gwt 2.1.0.M...

What's the "Allow loose classpath" checkbox do in Rational Application Developer

In Rational Application Developer 7.5 under Preferences -> Java EE there's a checkbox with the label, "Allow loose classpath module dependencies (not recommended)". What does that checkbox do, and under what sort of circumstances would I want to check it? ...

Show "status" in SWT JFace Eclipse - Composite

hi I have a sash from component of a view which needs to be extended a little. The view lists accounts. The idea is to show a small notification on top of the component that a certain account is being viewed at the same time. The appropriate listeneres and methods are ready but i got not GUI skills... Could anybody help me out and sugge...

Eclipse isn't highlighting syntax for index.class.php

I just installed eclipse and started working on an existing project. Thing is, none of my code has syntax highlighting. The file name convention is name.class.php and name.html.php Any ideas? ...

Eclipse: Different compiler warnings for each developer

I'm working in a small team of two, with SVN for version control and Java/Eclipse. The other guy wants to see compiler warnings of a certain kind ("Unqualified access to instance field."), but I don't. So I'm wondering if it's possible in Eclipse to have a different set of compiler warnings for each developer, while still working on the ...

Suggestions for Distributed Version Control in Eclipse

We're a small software company that has been using CVS and SVN for version control (and Eclipse for writing code) for about 10 years. We're now considering switching some of our projects to use a distributed version control system. We're looking to use something like git, mercurial, etc. But--and here's the key--our new system has to...

Debugger for XQuery that uses Saxon

Can anyone suggest a debugger for XQuery? I would prefer one that is either online or works within Eclipse, and I prefer something that uses Saxon. So far, all I've found is XQDT (which has little documentation and does not work with Saxon) and a few stand-alone commercial apps. All I want to do is understand why my XQuery isn't selecti...

Profiling Google App Engine Project With Eclipse TPTP?

How can I profile a google app engine project locally with the Eclipse Test & Performance Tools Platform? I already installed the plugin, but when I choose to profile it, there is no option to profile it as a web application, only as a java application which doesn't work. Update: It asks for a main class and I choose com.google.appengi...

Whats the shortcut to Debug in PyDev using Eclipse

The shortcut key is F11 to start debugging. But issue is that I have to be on that file and then hit F11 to start debugging. Eg. my file to launch the application is "launch.py" and "example.py". example.py is open in the editor whereas launch.py is not. Now, if I hit F11 it will try to launch the application using "example.py" and t...

In the Eclipse text editor, how can I reformat / fill / justify a paragraph to 80 characters wide?

When editing text files in Eclipse, for instance, a README file, I have not yet found a way to get the editor to reformat paragraphs of text so that they fit in a reasonable width (typically 80 characters). This seems like it should be a very common thing to want to do, but I haven't found it. Can anyone help? Note that I'm not talking ...

Embedding resources (images, sound bits, etc) into a Java project then use those resources

Hello, I have searched for a method of embedding a resource in a java project (using Eclipse v3.6.0) then using that embedded resource within a control (e.g., JLabel). I have seen methods of referencing resources from the file system. Once the project has been developed I would like to publish the application as an executable. It sho...

ButtonClick -> ImageView on new screen?

I am developing an app that is gonna be like a "comicApp", but so far I've just created 2 buttons and then I got 2 .jpgs. So when I click the first button I want to show a .jpg file in a new screen. I got 2 layout XML's (Main and the one with the ImageView on it.) How do I create a new screen in the activity? This is what I got so far...

Is there a way to generate the MANIFEST.MF for an Eclipse plug-in project with m2eclipse?

I have a mavenized Eclipse plug-in project and I would like to be able to generate an OSGi-ready manifest for it. Is this supported by m2eclipse? ...

Integrating BIRT WebViewerExample in Maven build process

I am trying to integrate the default BIRT WebViewerExample into maven build process. I created a project in eclipse, defined the pom file and can successfully build and deploy the war. However, it looks like the deployed directory structure is different from the directory structure provided in the BIRT runtime - specifically, in the run...

How can I install httpclient and other libraries in Java so I can use them in Eclipse?

Hey there, I'm a new Java developer I've only ever done PHP in the past and all the functions I needed to use were built into PHP. This doesn't seem to be the case with Java though! I downloaded Eclipse and wrote a hello world and some other things and everything is working great for me! I downloaded httpclient (from http://hc.apache.o...

Import Android Test Project into Eclipse from Version Control

I have an Android Eclipse project and an associated Android Test Eclipse project checked into a subversion repository. Given a checked out working copy, how do I bring the Android Test project into an Eclipse workspace? It's easy to add the Android project to the workspace (just File->New Project->Android Project->From Existing Source ...

Error loading java.awt.font in Eclipse Android project?

I've seen a few places where this was asked but I haven't seen where it's been resolved. I've just installed the tools needed to develop Android applications. This includes, of course, Eclipse. When I try to open the res/main.xml file, I get the error 'could not initialize class java.awt.font'. I'm running the newest version of Eclip...

Best way to debug Java web application packaged as a WAR using Eclipse and Maven?

I've not built a Java web application before, but I have it complete enough to test and Maven is building my WAR file just fine. It is a multi-module Maven project and the dependent modules all have their JAR files in the WEB-INF/lib directory of the WAR. So everything seems fine, but how to debug? I know how to (from the command li...