eclipse

Can I update an Eclipse plugin project, which is simply a wrapper around a jar?

Greetings, I have a java project which I export as a jar. This java project also uses JNI. So far, the only method I could find to use this jar in an Eclipse plugin is to wrap it in an other eclipse plugin project, and add this jar wrapper plugin to dependencies of my actual plugin. I've wrestled with Eclipse's paths and dependency se...

Getting m2eclipse to match maven's classpath

I've got project with a few sub modules. mvn clean install works absolutely fine. But in Eclipse with the parent project open none of the maven dependencies are available and so all my Java source files are full of indicated compilation errors (they're not listed in the build path for the project). If I open one of the sub modules as ...

Android Debugging with Eclipse on my HTC Evo: Augh!

I've turned on USB debugging. I have the latest HTC Sync and android SDK components. I'm using Eclipse 3.5 on windows XP. I'm running Android 2.2, and am asking for 2.1 as the minimum in the debugger. I work in Eclipse/Java just about every day, and have for several years. I'm even writing an Eclipse plugin at work as I type this......

Customized content assist for Java in Eclipse

I'd like to implement a customized content assist (aka. auto-completion) for my Java API's and custom jsp tags. Basically, I'd like to set the advisory level (discouraged use) on the undocumented features. (Of course, the proper way is to expose api's through a facade. However, it's way to late for that and the only way is damage control...

Can Eclipse reformat multiple files at once?

I've invested a fair amount of time creating a code style profile in Eclipse which matches our persnickety code standard. Is there a way to apply this style en masse to many files at once, so I don't have to manually load/format/save each in turn? ...

MotoDev Says I Have Errors, but it won't show me them.

This is a really stupid question I imagine, but is there a way to search for hidden errors. I'm working on a project in MotoDev's Eclipse environment, and it won't let me run suddenly stating that I need to fix errors first, but it won't show any errors in the log at all. ...

Changing progress bar color using XML in Android app

I'm trying to change the color of a horizontal progress bar (foreground). I came across this example and am trying to model my XML file off it. However, I get a compiler error at the following statement: myProgressBar.setProgressDrawable(R.drawable.progress_horizontal); The error is "The method setProgressDrawable(Drawable) in the t...

NoClassDefFoundError when trying to unit test JSON parsing in Android

I'm working on an Android app where some part of it gets JSON-formatted data from a web service. The basics of the class parsing the JSON data looks like this: public class JsonCourseParser implements CourseParser { public Course parseCourse(String courseData) { Course result; try { JSONObject jsonObject = new JSONObject(cour...

using googletest in eclipse: how?

I've downloaded google test, but now I've no idea on how to link it to my project in eclipse. Should I add it as a source folder? Should include it as g++ included library? And how can I run test then? ...

Embed GMF generated editor into MasterDetailsBlock?

The canonical way to use the MasterDetailsBlock of the Eclipse Forms API is to use a table or tree viewer as master view. Has anyone ever attempted to use a GMF generated graphical editor as master view? I've got a rather complex multipage editor that already uses Eclipse Forms for many pages, but I still have to drag the properties view...

Eclipse Android SDK slow performance

Im running eclipse on my windows 7 machine, 6bit with 6gb ram and core 2 duo. Im currently running Eclipse 3.6 and android 2.2 SDK Im running jdk 1.6 Im noticing that when coding and the context popups to list methods of a class, it hangs Eclipse for up to 15 seconds. This is very frustrating. One thing to note, when Eclipse hangs, my ...

Eclipse plugin : Get the enclosing class and member name

I have created a Eclipse plug in to printout the object in selection on press of a short cut key. I have been able to do this ,but i also would like to add the current method and current class name in the log. I am not sure how to proceede further. I tried to search for breadcrumb API but i was not able to reference the package from my ...

Scala project won't compile in Eclipse; "Could not find the main class."

Hi all, I have installed Eclipse 3.5.2 and today's Scala plugin from /update-current (that's Scala 2.8 final.) I can compile and run Scala projects consisting of a single singleton object that implements main(). But, if a project contains more classes, I receive the "Could not find the main class" error. I have tried searching for th...

Linked folder not resolved by Ant in eclipse

Hello SO guys, In my build.xml, below works fine :- <path id="build.classpath"> <fileset dir="lib [myUtils]" includes="*.jar" /> </path> if lib [myUtils] is of folder type, but don't works, if it's of Linked Folder type. Also, I found this when googled :- https://bugs.eclipse.org/bugs/show_bug.cgi?id=265960 https://bugs....

red5 0.9 on Windows - Java Problems on build

Hi guys, so I've installed red5 0.9, I've installed jdk 1.6 update 22. I've set my environment variables correctly, installed eclipse galileo for java ee developers, tortoise svn, and then ivyde and subclipse plugins for eclipse. I then created a folder called red5_server, and did the svn checkout. When I try to import the red5_server, I...

How to tag a project in cvs and eclipse

I want to tag a release, but I don't see any option for it as below. I am using from eclipse. ...

Problem with Debugging in Eclipse CDT

I'm trying to debug the simple Hello World program that ships with Eclipse CDT. Running the program normally works fine, but when its run through debug mode, puts() doesn't print anything to the console. I tried running the same program with gdb directly and it works fine, printing "!!!Hello World!!!" as expected. Why doesn't puts() pr...

doubts installing hibernate ,hsqldb plugins for eclipse helios

hi, I am taking my first steps developing web apps using eclipse,jee,hibernate,spring and hsqldb. I installed helios version of eclipse and installed wtp through the updater.But trying to install the plugins for others ,I am having doubts.. hibernate: I tried the download jboss.org/jbosstools/updates/stable/ as the hostname in updater a...

@SuppressWarnings for "extends String"

Hey guys. In a place I have a method with a generic "VT extends String". Obviously this generates a warning: The type parameter VT should not be bounded by the final type String. Final types cannot be further extended. Do you know if there's a way to suppress this warning (Eclipse)? If you're wondering how I got to have this: import jav...

What does the symbols for methods in Eclipse mean?

In the "Package Explorer" in Eclipse, I can click on a Java class and list all the methods for it. The methods are shown with a few different symbols before the name. This symbol can be a green circle or a red square. What does this symbols mean? Is there a webpage that explains them? ...