eclipse

How do you search for the top bracket in an IF statement?

Ok, i have to fix somebody else's code, and basically on line 892 there's an ELSE/IF statement, but i can't find the original IF statement! The inconsistent nesting is making this extremely hard. I've trailed up the code to see if i can find the original but i can't. Does anybody have any ideas how i can search for the originating IF st...

Configuring Elicpse and SVN for multiple repositories

I'm using Elipse (Galileo) with the Subversive plugin. When I set SVNPath in apache httpd.conf I can get a connection to my repos from Eclipse. This works fine: <Location /repos> DAV svn SVNPath c:/SVN/MyProject AuthType Basic AuthName "Subversion repository" ... </Location> But when I use SVNParentPath it errors: "Lo...

is there anything that can be done to speed up Eclipse project search on OSX?

I don't have a huge project (70MB), but doing a search on the whole project takes over a minute. Using a Macbook Core 2 Duo (the white ones) with Snow Leopard. ...

Subversive not showing up in eclipse

I am trying to install subversive for eclipse helios on windows 7. I am seeing it as installed in the installation details, but it is not showing up as a perspective and also in windows/preferences/team. Can anyone help me with this. ...

How do I add external dependencies to an Eclipse Plugin Product definition?

I'm attempting to define an eclipse plugin product that includes bundles from Spring's Enterprise Bundle Repository and Eclipse's Zodiac repository. I've used Maven to download these repositories, but I can't figure out how to make the product editor aware of them. Ideally, I'd like to make the product editor aware of a list of maven ...

JAVA HOME not set

In the Eclipse console, I'm getting an error that JAVA HOME is not set. I went ahead and set it to .;C:\Program Files\Java\jre1.6.0_02\ in system variables Then I restarted eclipse, but I keep getting the same error. What am I doing wrong? ...

Eclipse isn't showing 'New PHP file' even while I'm in the PHP perspective

I use eclipse helios PDT at work and at home . I noticed that on my home installation, eclipse doesn't let me create a new PHP file by right clicking on a folder in the PHP explorer. I have to actually right click=>New and then select other and search for PHP from the dialogbox that shows up. But at work everything is ok and it allows me...

Eclipse: Keyboard shortcut for switching between consoles?

In Eclipse (I'm using version 3.6 aka Helios), you can use Alt+Command+Q C (on Mac OS X or Alt+Shift+Q C on Windows/Linux) to give focus to the Console View. Ok. That's good. My problem is that in order to switch between consoles inside that view you have to click the ridiculously small arrow next to the 'Display Selected Console' icon....

how to configure Flex with Java.

hi friend, I want to configure flex with Java.I have to create the project in which flex UI and JAVA serverside code.can any one tell me how to configure flex with Java using eclipse editor. thanks in advance............... ...

Easy way installing eclipse plugins

Hello My eclipse version is 3.6 or 3.5 I have these versions of eclipse. There is an easy way to install eclipse plugins on eclipse IDE that explained at this link but I can't use it in Linux Ubuntu! This way work properly under Windows and Mac OSX. Please help me to use this way in my Ubuntu lucid lynx linux In this way, I create a f...

eclipse: Run on server disappear

I have a maven project created with maven-archetype-webapp. As i use on Windows machine, the project generated by Maven has a "Run on Server" but when i create it on Linux machine, it doesnt have. Please tell me how can i enable it. Thanks ...

How to setup Jetty with Eclipse without plugin?

I would like to start with Java web development. First I would like to setup a good development environment using an Jetty server in Eclipse, which would allow for short development cycles. But I am struggling to set it up. There are other questions about it, but they are either old or incomplete for me. I have seen suggestions for usi...

Is there any way to avoid Scala libraries appearing twice in an Eclipse/Scala/Maven project?

I have Eclipse 3.5.2 Scala 2.8.0 final (inc latest Scala IDE for Eclipse) Maven integration for Eclipse Maven 2.2.1 .project and .classpath files generated by maven-eclipse-plugin I'm using Scala to write Specs BDD tests for my Java code and the setup above is working very nicely so far. However, I have one puzzling problem and I wou...

Eclipse Web Services Test Client and Exception: (401) Unauthorized error

I am trying to test a user/pw protected web service using the "web services test client" in Eclipse IDE. I am able to generate the client but when I test any methods I get the exception: (401)Unauthorized error. How do i get about putting the username/pw authentication so that my client is able to call the functions successfully? Thank ...

Eclipse Android and gitignore

What files/folders can I safely ignore for inclusion with git? I copied a good project, removed its gen and bin folders and tried to run the app. The Android Launch window says, "Your project contains error(s), please fix them before running your application. There is a red X on the icon to the left of the project in the Package Explore...

Android - Please Just Give Me a Decent, Working Animation Frame Code

I've been working on frame animation for a week now, and every code I've used has a tremendous amount of errors and plainly just doesn't work. Can you please give me a code that has worked for you? Please include the exact java code you used, the main.xml code, the mainanim.xml, the android:id's, even the images in the res/drawable-hdpi,...

Widget inside a custom text editor in Eclipse

I'm developing a custom text editor for a programming language in Eclipse. Is it possible to put a widget (a button, for instance) inside a custom text editor? ...

pydev importerror: no module named thread, debugging no longer works after pydev upgrade

My Eclipse 3.6 /PyDev setup just did a pydev upgrade to 1.6.0.2010071813 and debugging no longer works. My default python interpreter is 3.1 although I doubt that matters. Until the Eclipse upgrade of pydev, it was working very nicely. ...

Link Console with source code in Eclipse

I have a J2Me project, that throws exceptions, in other projects (J2Se projects) I'm used to press on the exception link in the console in Eclipse, and it would take me straight to the source line, for some reason, in the J2Me project this does not happen. Any idea on how to fix this? Adam. ...

Eclipse Code formatter: keep complete function signature in one line

hi, how is it done? cant find the option? why is it anyways, that so many people format their code that way? i really dont like it... int foo(int); //dont like int foo(int); //like ...