eclipse

question from Eclipse

hello, always when I open some project(which already exists) in eclipse I get this question should referenced projects also be opened where applicable what does it mean, thanks in advance ...

Eclipse + Java: How do I import classes from the default package?

I have classes in an Entities package, but I still want to run import stuff that is in the default package... how do I do that? ...

Remote debugging Tomcat with Eclipse

I can't seem to debug the tomcat application through Eclipse. I've set CATALINA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n and then I run bin/catalina.sh, where I see output saying it's listening for dt_socket on port 8000. But whenever I try to connect to port 8000 in Eclipse (by adding an entry in t...

help - testng doesnt work on the mac with eclipse: Bad version number in .class file

To get latest Helios eclipse + subclipse + m2eclipse and mvn to work on the mac, I had to make the "default" jdk 1.6 thusly: cd /System/Library/Frameworks/JavaVM.framework/Versions ln -s 1.6 CurrentJDK AND I had to enable 1.6 using the applications/utilities/java preferences app. Now eclipse, and mvn work, with 1.6 set as the target ...

Eclipse/OSGi class loading issue - java.lang.LinkageError when trying to load a plugin with two versions

In my Eclipse runtime, I have the following three plug-ins (file names simplified for better readability): javax.wsdl.1.4.0.jar javax.wsdl.1.5.1.jar eclipse.wsdl.jar, which has a version restriction on the dependency: [1.4.0, 1.5.0) The dependencies of my own plugin look like this: eclipse.wsdl javax.wsdl : "1.4.0" When my own plugi...

How do I change stdin Stream with Eclipse run command?

Hey, I'm working on a project where rather than using command line arguments I am supposed to just pipe a file to stdin and pipe output to another file. ie I need to run something like: ./program < infile.txt > outfile.txt Is there a way to specify to Eclipse this is the command I want when it is run? I am running the Eclipse-C/C++...

Android 1.6 SDK source code misaligned?

Hey guys, I'm trying to get the source added to the 1.6 Android SDK in order to be able to step through and see what Android is doing, and I'm getting weird misalignments when Eclipse actually runs and I step through the debugger. This is not a problem if I use the 2.2 SDK - then, say, Activity.onCreate() lands perfectly when the debug...

android forward declarations not working in 1.6

Hello, according to the official site, Android supports forward declarations from version 1.6 onwards. Having adjusted the min SDK and target SDK requirements both to '4' in manifest.xml, the layout editor from eclipse is still complaining about unknown declarations in a relative layout: <xml> <CheckBox android:layout_width="wrap...

Script error: "An error has occured in the script on the page"

I get a error on my JSP page: Script error: "An error has occured in the script on the page" When I try to run the Eclipse in the debug perspective and I am closing down the browser window of the eclipse where my application is running. Because of the error the application hangs, and I am unable to test my application. Is there any sol...

How to use debug perspective in eclipse.[debugging java/j2ee applications]

Is there any easy to follow tutorial for debugging Java / J2EE applications in eclipse? A step by step guide on how to check for unchecked and checked exceptions? I have been trying to find on the internet, but to no use. ...

Share the eclipse search result/ query

I just want to know if the search result in eclipse search view can be shared with fellow team mate as it is. I perform a search and delete few unwanted entries and then send it to him/ her The other person shall be able to view it exactly same manner in the search view. Is there a way to do this? The will be very helpful for me ...

Eclipse projects get compile errors, cant find org.eclipse.* or org.osgi.*

Sometimes I get compilation problems with my Eclipse projects, they suddenly cant find any org.eclipse.* packages and therefore nothing compiles. It doesnt happen that often, so I havent been able to properly determine the cause, but this last time it I installed and then uninstalled some big features. There is a workaround for it thou...

Is there a way to use the java browsing perspective of eclipse for python?

I'd like to use the browsing perspective ("column view") of eclipse for Python development. Is there a way to do this? ...

Android Launcher application compilation on Eclipse

I am modifying the Android Home (Launcher) application and configured an eclipse project from the Android source checkout. Eclipse project shows number of errors which are about unresolved imports and unavailable flags. Upon checking in the internet at http://forum.xda-developers.com/showthread.php?p=8402045 , I found that the home appli...

setup of eclipse project : tomcat server , jdk , external libraries and so on

Hello I'm a beginner java developer and i'm not very confident with java world tools. i'm using eclipse helios, jsdk 1.5, axis2 plugin and tomcat 6.0.29 on windows to port a very old webservice , preaviosuly deployed on a websphere. I've added a tomcat server to my eclipse project, when i start the server i get the following message : ...

Eclipse plug-in: Create a new file extension for a language not supported by Eclipse

I am creating an Eclipse plug-in for it to support a new language. The problem I have is with the content type/file association and its respective editor. The language has no base in Java or XML and let's say its extension is '.xyz' From what I understood of research online, I would need to create a new Content Type with file extension...

How to find index of parenthesis indexOf - confusion, Eclipse bug or feature

I want to find position in( position within string, but I can not explicitly write: int index = valueOf("in("); because I get error of non closed group ( java.util.regex.PatternSyntaxException Unclosed group). If I escape parenthesis it will not find index of in(, but in\( int index = value.indexOf("in\\("); How can I achieve th...

How can I find references of a class in Eclipse?

I have a java class in my project, how can I find all of the places it's being used? Similar to Visual Studios find references. Thanks. ...

How to see from where a public method is called in Eclipse using Java?

I am working on a Java project in Eclipse. Sometimes when I do refactoring I would like to see from what other classes a public method is called. There is a primitive way to do this, that I am using now. I can comment out the method and see in what classes there is an error in Eclipse. Is there any better way to do this in Eclipse? E.g....

Loading an Android project from git into Eclipse

I want to import a project from http://android.git.kernel.org/?p=platform/packages/apps/DeskClock.git;a=summary into Eclipse. What steps do I have to go through in addition to the downloading? ...