eclipse

How to reactivate code assist in my xhtml page (eclipse 3.5, jboss tools 3.1, jsf 1.2)

Hello everyone, I developp jsf xhtml pages with facelets, and i always had code assist for all the taglibs i declared i my xhtml root element (h, f etc..) But, since, like 30 minutes, when i ctrl+space i only have regular html and ui:* proposals. I didn't change anything. It just broke, no error message, nothing. I searched the web, ...

How to Consume Web service in Android?

dear friends, i am new to Android development i have a web service made in php now i want to consume it in android can any one guide me how to achieve this..??? i have tried many code samples on net but failed to achieve this goal. i am using Eclipse with ADT. any help would be appriciated. ...

Eclipse: shortcut for "open project"?

Is there a shortcut in Eclipse for "open project"? Ideally, I'd like something like the "Open Resource" dialog. I want this because I have a "testing" project, which I use whenever I want to try something out… But it's annoying to scroll through the massive Navigator trying to find it and click it when it gets closed. ...

Visual Studio Alt-Copy in Eclipse

Visual Studio has the ability to copy arbitrary blocks of text (not across lines) by holding the alt-key...Is there anything similar in Eclipse? Thxs. ...

Eclipse: have the same file open in two editors?

When I'm editing a large file, I often want to have it open in two editing windows at once (eg, for reference, or because I'm working on two different parts of the file at once). For example, here's how I do it with Vim: Is there any way to do this with Eclipse? ...

Can you integrate Java 1.6 classes into Eclipse Blackberry project?

i am using the latest IDE for eclipse and have attached the blackberry 5.0 sim. i am a new bb developer and i was wondering if there is any way of integrating java 1.6 classes (or any 3rd party jars) within the blackberry project without getting an error similar to the following: org.apache.axis2.util.Utils$3: Warning!: Duplicate metho...

Eclipse: refocus the main editor window after Open Resource (and other dialogs)

When I'm working with Eclipse, I fill my main monitor with an editor and break out all the panels (Navigator, Console, Problems, etc) onto my secondary monitor. I've noticed, though when I open a dialog (for example, Open Resource) then cancel it (eg, by hitting escape), the focus is shifted from the main editor window to one of the bro...

"Add File to Blackberry Project" option is missing in Eclipse

Hi, I just started developing apps for the Blackberry and ran into a glitch. I was trying to add an external java class to my project in Eclipse (Version: 3.4.1) and realized that the "Add File to Blackberry Project" option was missing. I'm not sure if I missed something in the installation but I ran a sample project and it compiled and ...

Java program with startupparameters in eclipse

I've just started using eclipse and java and I'm not used to either one of them. I wrote a simple helloworld-programm, but the next task (school) was to create a program that takes a userinput (from commandline) and responds with the highest number of two. The code I wrote looks like following: public class Larger { /** * @par...

Managing web project over multiple hosts with revision control

Greetings! :-) I would like to describe a workflow strategy with some gaps in it, and I would be glad if you could fill in the gaps and otherwise give comments. If admins think that this does not validate as a question, then please delete away. I am working on a webproject having files with PHP, Javascript (jQuery), HTML, CSS and postg...

Setting up tomcat with eclipse on first jsp program

I am just following along the spring tutorial (http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html) I downloaded this version of Eclipse: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/galileosr1 I guess tomcat is a separate install? Update Is Ant ready to go with eclipse, or that is yet an...

Importing maven project into eclipse

I want to import existing maven project into eclipse. I found 2 ways to do it, one is through running from command line mvn eclipse:eclipseand another is to install maven eclipse plugin from eclipse. What is the difference between the both and which one is preferable? If I install maven eclipse plugin through the eclipse menu Help -> Ins...

How to benefit from SVN in web development

Hi! I am managing the development of currently two different web applications of which one will roll out in beta testing before sunday. I have some previous experience from SVN usage, after playing around a few hours with TortoiseSVN locally on a XP machine, but I never really got the hang out of it to be honest. However, it feels lik...

Why doesn't Eclipse always install my APK?

I'm using the Android plugin for Eclipse on OSX, latest versions of everything. When I run or debug my app, Eclipse is very inconsistent about uploading/installing the new APK. Nothing I seem to do has any effect on this. Clean builds, debug, whatever, there seems to be about 50/50 chance of installing the APK. Or not. If not, then I hav...

Eclipse IDE; Open in current window / instance?

I've been using Eclipse for about a week now and I'm loving it.. great software for the 'price'. :P However, I'm having a few issues getting started. The most annoying, so far, has been opening files from outside of Eclipse, and having them set to open w/ Eclipse. When I open a file from the file-explorer or an external application (Win...

How do I create a git repository over an eclipse project or vice versa?

Hi. I have a git repository that is just a directory tree (/myprogram/src/com/mycompany/test) with some source files. I wish to create an eclipse project around this repository. Both orders of create project in eclipse and git clone <url> <myprogram> from the command line give me a "folder already exists" error from whatever tool I us...

Looking for an example of a complex text editor using SWT's StyledText

I need to write a text editor which can merge arbitrary text styles from several sources (in my case: spell checker, style hints like repeated words, links and other markup) using SWT StyledText. I examined the the standard ways to do it: I could install a modify listener and create the styles for the whole text for each modification. ...

Target option is disabled in Eclipse window->Preference->android

Why my target option in eclipse is disabled? I cant select the target platform. On the other hand the platform folder and adds-on are empty. Plz any ideas? ...

The Jar of this class file blongs to container Android 2.0.1 which does not allow modifications

can any one provide me solution to this error i have searched alot to this problem but failed i am using eclipse with ADT with android sdk 2.0.1 OS Microsoft windows VIsta x86 ...

How to prevent Eclipse from flagging file as erroneous

I have a file called "build_properties.xml" in my Java project, which is not a valid XML file, and it is not meant to be. It's included by a build system in another place, so I don't want to touch that file. But it is still a part of the Eclipse project. By default, Eclipse didn't try to validate that "build_properties.xml" is actually...