eclipse

Modify Eclipse Search

I recently installed Ganymede SR2 and wanted to search something. I pushed CTRL - H which opens the search view and used the File search. However, what I encountered is that the folders test-build and exploded-archieves where also searched, and I want to disable searches for those folders. I only wanted to search the source code, not wh...

How to add undo / redo buttons to toolbar in Eclipse?

I feel a bit embarrassed asking this questions, but how the heck can I get regular undo/redo buttons into the toolbar of eclipse? I've often to switch between German and English keyboard layout. Y and Z on those layouts is interchanged and thus I constantly trigger the wrong action for undo / redo. I've observed myself how I figure this...

a standalone eclipse view on the right side

This question is similar to How to write a Vertical Right-Side IE Explorer Bar I have a Eclipse RCP application consisting of various views only. How do you layout a view that stays on the right side? I have tried using perspectiveExtension placing it relative to org.eclipse.ui.editorss and didnt managed to get it to work. ...

Why does getLocalhost() freeze sometimes?

With JRE6 (SUN VM on Windows XP), getLocalhost() freezes sometimes. Interestingly, if in the debugger in Eclipse, it does not freeze. I narrowed it down to a single getLocalhost() call using old school println. There is nothing particularly special about the code, that I can see. Has anyone else seen this problem? ...

What is the best way to utilize Subversive when sharing multi-module project in Eclipse?

I'm trying to share multi-module Maven project (using m2eclipse plug-in) from SpringSource Tool Suite 2.0.0 to Subversion server (Subversive plug-in for Eclipse). I've found that svn:ignore property is not propagated to submodules of the parent project: I need to right-click on the property and run "Apply recursively...". More, it won't ...

A simple way to create static imports for constants in existing code?

If I have a constant BAR in Foo, which I will use in a class C I'll have to write Object o = Foo.BAR + "..."; which I can use Ctrl-Shift-M in Eclipse to create a static import for like: import static Foo.BAR; Object o = BAR + "...."; I am current updating legacy code with literaly thousands of these I'd like to convert to static i...

Blackberry Development Platforms

Hi There, I was wondering about the pros and cons on the different Blackberry development environments. I am trying to decide whether to use Visual Studio or Eclipse. Your thoughts are appreciated Tony ...

import from external lib jython

I am trying to imported a java class from an external lib in jyhon and it does not work. An example package run; import import.Imported; Class Run() { public static void main(String[] args){ pi = new PythonInterpreter(null); pi.execfile('script.py'); } } //this is an external...

Memory leak in Eclipse RCP applications

How can the memory leak in Eclipse RCP applications detected? ...

Launch mac eclipse with environment variables set

My company provides an eclipse based development environment which needs some environment variables setting up for the underlying toolchain so multiple versions can be installed concurrently and not take over the system. I want to provide an icon in finder or the dock which sets these then launches eclipse so customers cannot accidental...

What does "rows[0]" mean?

HI! I am looking for a document that will define what the word "rows[0]" means. this is for BIRT in the Eclipse framework. Perhaps this is a Javascript word? I dunno... been searching like mad and have found nothing yet. Any ideas? ...

Eclipse: Is it possible to edit Java source known via source code "attachment"

I am using Eclipse 3.4.2 to develop my code. As part of my project definition I reference a utility library to which I have attached the source code. So far, so good - I can see that source when I bring up classes from the library and while I am debugging. Now however I would like to make a change to one of the classes while still ret...

Why does Subclipse only work in some Ecliplse workspaces and not others?

I'm using Eclipse with Subclipse to do some perl development. The Subversion repository is setup like: /repos /repos/dev/ /repos/dev/crontabs /repos/dev/crontabs/script1 /repos/dev/crontabs/script2 /repos/dev/daemons /repos/dev/daemons/script3 /repos/dev/daemons/script4 /repos/dev/tools /repos/dev/tools/script5 /repos/dev/tools/script6...

Eclipse: Limit task tags to current project

Eclipse currently shows the task tags (// TODO) from all open projects. I would be grateful if anyone could point out the preference, where I could restrict the scope of tasks displayed (e.g. only tasks from current project). Thanks! ...

[Eclipse] History: why Eclipse foundation had choosen OSGi?

Was there concurrent technologies at that time? What was advantages of OSGi compared to other technologies and to native (pre 3.0) technology? ...

Minimal theme for Eclipse

I've just been setting up a new 10" netbook and have just installed Eclipse for some development. Even on large screens I've found Eclipse's GUI to be very bulky and awkward to work with, and now on a small screen, the real estate left for actual coding is ludicrously small. Is it possible to apply a theme or skin to Eclipse to make it s...

What is the right combination in ant?

It doesnt seem that when you combine these Fileset attribute like below: eg: <fileset dir="src"> <include name="gov/nasa/arc/mas/selenium/tests/*.java" /> <excludesfile name="${test.suite}.exclude" /> </fileset> that it has the expected behavior which is to include all *.java under src but exclude all the file specified on the...

Migrating From NetBeans to Eclipse

My company wants to migrate to Eclipse, I was wondering what options besides an Ant build are there to move our projects from Netbeans to Eclipse. ...

array of stacks

Is it possible to create an array of stacks without having to cast the stacks as they come out? Eclipse gives me a warning about not being able to make a generic array of Stack when I do something like this: Stack<Card>[] cards = new Stack<Card>[52]; ...

How to get system user in ant (within eclipse)?

How can I access the name of the system user (which eclipse also uses for the javadoc author tag) in my ant build file? I'm trying to show some information about the current program version in my java application. I decided to use jreleaseinfo which passes variables from my ant build script to my java classes (to show them in a window)...