eclipse

How do I stop Eclipse (EPIC Perl) from adding DOS CR/LF to my Perl scripts?

I use Eclipse on Windows to edit files on a remotely mounted Linux SMB share. Coupled with Samba's stubborn opposition to on-the-fly mapping, Eclipse's insistence on CR/LF creates a real headache with Perl scripts. Any workarounds? ...

How do I reinstall Eclipse without losing my projects and plugins?

My Eclipse recently broke completely and I have upgraded to Galileo. I have created a fresh workspace (say foo/workspace) and created a trivial project. I have then copied an old project from (bar/workspace/myproject) to foo/workspace/myproject. It is mavenised and has a pom.xml. How do I tell Eclipse to build it (it does not seem to rec...

Editor library used in Eclipse source

Hullo, I am looking to create an editor and I was wondering if there was a swing library which Eclipse uses for its main editor. It may be something quite basic, but I am looking for the drop down menus which come when you press full stop. Strings become symbols rather than just text. Many thanks ...

Maven GWT 2.0 and Eclipse

Does anyone know of a good guide for creating a project with the new 2.0 release of GWT using maven and eclipse? I am running into a lot of problems getting them to play nicely together. For what it's worth, I can create a gwt project using the maven eclipse plugin which works fine, but porting it to maven doesn't work (so a guide for ...

eclipse layout tips

Is there a setup of windows and menus that proves especially useful while coding? For example on my laptop I hide the toolbar so I have more editor space. I use ctrl-F7 to open views so I don't need to have them visible all the time. Note: the PHP tag is only because I use PHP. This is not a PDT or PHP specific question. ...

How can I create stub Junit tests in Eclipse?

Is there a simple way of creating stubs for Junit4 tests in Eclipse (Galileo)? ...

Servers window in Eclipse

Hello I need to create an ODE server inside my Eclipse workspace, in the tutorial I'm following, it says to use the Server view under Window->Show View->Other->Server->Servers. However, I cannot find this option under 'Window->Show View->Other->Server->Servers', any ideas how to get it? I am using Eclipse 3.4.2 Ganymede (classic). Thanks...

Eclipse on windows doesnt start

I usually do all my java development on linux, using fedora package manager setting up a development environment is easy and fast. Now I have to start using windows but I never used it for java development and im having a few difficulties having it setup. So I downloaded and installed thye java 6 JDK (just the standard edition, not the...

Pythonic way to write a for loop that doesn't use the loop index

This is to do with the following code, which uses a for loop to generate a series of random offsets for use elsewhere in the program. The index of this for loop is unused, and this is resulting in the 'offending' code being highlighted as a warning by Eclipse / PyDev def RandomSample(count): pattern = [] for i in range(coun...

Imports with Pydev/Eclipse

I'm working with the interactive console in eclipse, and reload does not show updated functions in my code. My code was : def func1(): return 1 def func2(): return 2 but when I changed it to def afunc1(): return 1 def func2(): return 2 def func1(): return 3 and ran imp.reload(TestMod), I go...

Which Unix flavour do I need? J2EE application using IBM tools?

I want to try Unix for developing J2EE application. I use the IBM software. WASCE as application server DB2 Express-C as database. Eclipse Which Unix flavour will be most suitable for me? ...

Where are the preferences for HGEclipse plugin in Eclipse 3.5?

Hi, I've installed HgEclipse plugin from the update site: http://hge.javaforge.com/hgeclipse From some reason, when I go to Window->Preferences, I can't find the category Mercurial under Team. Someone knows how to solve this? My eclipse version is 3.5 (Galileo). My plugin version is 1.5.0 I have hg 1.4 installed on my machine. I'm r...

Issues about unpacking files to build an Eclipse installation in support of a runtime API

I have an application that uses the Eclipse runtime. Unfortunately, due to restrictions in Equinox (the Eclispe OSGi implementation), it's not possible to start the Eclipse runtime with all of the plugins on the classpath, so it must actually be located on the disk. (There is code that insists to look for the OSGi framework bundle usin...

Exception in thread "main" : java.lang.error

Hello, I've just created a project on Eclipse and imported some source files (existing project). But I can't compile it ! Ok, the project has got several source files, so I wanted to compile only the Main.java file (with eclipse not in the command line, in the command line it worked!) but all what I get is this error : http://www.scre...

Java perspective is not visible in eclipse

I installed eclipse on a new unubtu install, via the package manager. I have Galileo. I copied my home directory from an older machine, and tried to open that workspace. Now I dont see any java perspective. (Possibly, all the info above is not relevant, but I just wanted to add any possible info, as this a clean install of Eclipse via p...

Problem with scanf in Eclipse / MiniGW

I'm trying to run the following code in eclipse but the console remains blank until i stop the program at which point the output "Enter next value (<=0 to quit)2130567168 minutes is 35509452 hours, 48 minutes." is repeated over and over. It seems that scanf is putting some default value in for some reason... can't figure out why. I'm no...

how do I specify a transparent background colour on a draw2d Figure?

I'm writing an eclipse plugin, and I'm layering some simple figures (i.e. view elements) together to create diagrams. A simple component looks like this The drum icon on the right is part of a tiny widget drawer. And the incomplete line underneath it is trying to represent multiplicity, but it's being blocked by the widget drawer. ...

Is it possible to create a command line JDT application?

I want to create a command line application which does analysis of Java code. The Eclipse JDT seems like the right tool for the job, however every tutorial I can find on the JDT starts up the JDT as an Eclipse plugin. I would expect something like this: public static void main(String[] args) throws Exception { IWorkspace workspace = ...

Debug Maven project in Eclipse with third party sources

I am currently developing a maven project in eclipse. The m2eclipse plugin works beautifully. It even works out of the box with debugging. But when I am debugging open source third party libarries. It seems maven could automatically pull the source code down, but the eclipse debugger cannot resolve the currently execution point to the ...

Extend ExportWizard defined in Plugin A in a depending Plugin

I'm having Plugin A which extends the 'Export Wizard' via the org.eclipse.ui.exportWizard ExtensionPoint. Plugin B depends on Plugin A, is it possible to add WizardPages defined in Plugin B to Plugin A? I know adding Pages dynamicly is possible withhin the same Plugin with the DynamicWizard and function getNextPage. ...