eclipse

Which Eclipse version should I download?

I am on a Windows machine. Want to practise Java for the web using: Tomcat, Java, JSP's, Spring Framework, and Hibernate. http://www.eclipse.org/downloads/ (Silly question, but I am a newbie and don't want to get the wrong IDE version.) ...

Eclipse RCP: Determine mouse button that caused selection on SelectionChanged Event.

I have a class that implements ISelectionListener. I want to determine when the user right clicked when the selection was made. This is the method that I need to implement to handle selection changes: public void selectionChanged(IWorkbenchPart part, ISelection selection) { //HOW? // if right clicked... do something // else .. do defa...

hibernate creates problem for table with composite primary key while generating hibernate classes with eclipse

Hello friends, I have 2 tables as given below. feedback_answer question_id number(primary key) answer_id number (primary key) answer_en varchar2(255) answer_it varchar2(255) user_feedback verification_id number(primary key) question_id number(foreign key - feedback_answer) answer_id number(foreign key - feedback_answer) ...

Remove blank line in Eclipse

How can I remove lines that only contain spaces when using Eclipse Find/Replace prompt. I checked the "Regular Expression" check box, and tried the following, neither of which worked. ^[:space:]*$ and ^\s*$ ...

Textbox height in a small browser window

Hi folks, I have here a peculiar problem. We have a RAP application intended for use on a PDA/phone, but when it is displayed in a small browser window, all the textboxes on the form(s) are too tall (around twice the height they should be). I've stepped through the code (The form is using GridLayout, number of columns=1, make columns e...

Plugins not working in Eclipse on Windows 7 64-bit

On my brand new Windows 7 machine, I downloaded Eclipse (Galileo) and several Eclipse plugins (Android's ADT plugin, Subclipse, etc.) After rebooting, neither of these plugins are showing up in the IDE (nothing in the preferences, menus, etc.) but if I click "Installation Details" in the 'About Eclipse' popup, I see all of the plugins l...

acm.jar ECLIPSE on Linux Problem

I created a new project and a new class in eclipse in my ubuntu machine to write the simple Hello World program. It works fine as long as i write the main method and use System.out.println to print my "Hello World". but i want to use the acm.jar package so I imported it to my project and tried to extend the ConsoleProgram class in acm.j...

How do I use Eclipse?

Hi, I am creating Java project in Eclipse for database connectivity. I'm totally new to Eclipse. Which template should I choose? Where is code editor? I am confused. ...

Add Tomcat repository to Eclipse

I have installed Tomcat6 and eclipse, and don't know how to add a Tomcat server to Eclipse: File=>new=>Other=>CVS "Add a new CVS repository in Eclipse" Host: localhost Path: /usr/share/tomcat6 User:anonymous Connectionstype: pserver + Use default port In Preferences SSH2 => SSH2 home : /etc/ssh "Could not connect to pserver:anonymous@...

Current SVN project - change hostname

My mate created a project from SVN with bad hostname - 192.168.0.100. - yes, with a dot at the end. :) Eclipse created this project, downloaded files, etc but there is problem with commits. Is it possible to change SVN hostname in this current existing project from 192.168.0.100. to 192.168.0.100 without creating a new one (from shell ...

eclipse set global environment for all projects

for each project, i able to set environment when i select "run it as" . can i set global environment that all project will inherit when run? ...

eclipse on maven project warning 'DTD or XML schema'

Description Resource Path Location Type No grammar constraints (DTD or XML schema) detected for the document. TEST-net.kindleit.gae.example.server.MessageRepositoryTest.xml /projecttest-gae-example/target/surefire-reports line 1 XML Problem No grammar constraints (DTD or XML schema) detected for the document. appengine-web.xml ...

Launching Eclipse as a debugger

What’s the equivalent of System.Diagnostics.Debugger.Break(); in the Java world? Purpose: I have a tomcat based webapp launched by a custom build tool and need to debug the application in eclipse. In the .net world the above statement when encountered will prompt the OS to attach a debugger and I can attach Visual Studio to deb...

Extension point for providing custom content assist processors in Eclipse

I am writing eclipse plugin to add better support for properties files. One of the missing piece is content-assist ... I'd like to show matching properties keys when user starts typing some string and presses content assist key. For example, when I have property hello = world in one of my properties files, and I start typing format("hel...

Set Eclipse to automatically switch to Java perspective when terminating debug

Having Eclipse automatically switch to debug perspective while debugging is a great feature - is the opposite available? I'd like it to automatically return to Java perspective when terminating a debug session. A keyboard shortcut to return to Java perspective could be help as well. ...

Eclipse/Java - is it harmful to import java.(namespace).*?

Why does Eclipse take a fine grained approach when importing types? In C# I'm used to things like "using System.Windows.Controls" and being done with it, but Eclipse prefers to import each widget I reference individually (using the Ctrl+Shift+O shortcut). Is there any harm to importing an entire namespace if I know I'll need multiple t...

How do I use 'paperclip' in Eclipse RadRails perspective?

I'm a newbie Ruby on Rails developer. I have installed the 'paperclip' gem by modifying the config/environment.rb file and adding the following: config.gem 'paperclip', :source => 'http://gemcutter.org' and then running rake->gems->install and rake->gems->unpack. Now, I would like to run the 'paperclip' generator however, it does not ...

Open eclipse svn project in netbeans

Hey SO OK my problem is quite simple Im about to start working with a team of programmers, and we are using a svn repository to store our code, thy files are set up as Eclipse Project as the rest of my team all like eclipse. However I am die hard netbeans man, I have tried eclipse Iv given it some time but we do not gel as they say. ...

Eclipse plugin that shows the META-INF of a jar library

Currently in eclipse when you open a library jar, it shows all the packages and classes, but if you want to see the META-INF content (e.g. manifest.mf), you have to open the file externally (e.g. using winrar) Is there a simple way buit-in in eclipse to do so, or a plugin that does this? ...

Eclipse Generated Web Service Client Extremely Slow

A little up front info: I have a SOAP service (hosted using JAX-WS (Endpoint class), but I don't think that is important). I can connect to and use the web service just fine with Visual Studio generating the client (C#). I generated a java client using Eclipse Web Tools (new --> other --> web services --> web services client). Then...