eclipse

Eclipse shortcut for searching word in workspace.

Possible Duplicate: searching files in eclipse How to search for a particular word in entire workspace in Eclipse? ...

Sources from referenced projects are not deployed to Tomcat in Eclipse

Hi, I have setup a dynamic web project in eclipse with JSF in which I trust on code from another project (framework). Therefore, I added the framework project to the build path of the website project. So far so good, Eclipse recognises every class and the project builds without errors. Problem is though that when I do "run on server" ...

Convert existing project into Android project in Eclipse?

How do you convert an existing project into an Android project in Eclipse? In particular, I want to convert a plain old Java project into an Android Library project. Thanks. ...

Generate java code in Eclipse?

Does anyone know what approach one can take to automatically generate Java source code, from for example an xml or json file, in eclipse? One great example of what I am thinking of doing is what Google Android sdk does: they have an R class generated automatically from the resources. Every time a resource file is saved in Eclipse R cla...

Eclipse -vm option trouble

I'm having trouble setting up a new eclipse installation with the -vm option. I'm using the eclipse.ini file below (which has worked in the past). I need this for the m2eclipse plugin. Currently, if I include the -vm option eclipse fails to start. Any idea what the problem is with this? -startup plugins/org.eclipse.equinox.launcher_1.0...

Java project hierarchy in eclipse

Is there a difference between a package and a folder in eclipse? for example, if I have this hierarchy requirement: java –classpath C:\ChatCompany\BackendChatServer\ -Djava.security.policy=c:\HW2\permissions.policy hw2.chat.backend.main.ChatBackendServer when the package's name is: hw2.chat.backend.main , and "ChatCompany\...

Eclipse hits breakpoints but doesn't let me step

A symptom of the problem is that the call stack is empty in the "Debug" tab in Eclipse. Usually it will have a list of all the way up the call stack, but now it just says "breakpoint at line 68..." and then about 10 blank lines. ...

What is the best way to reuse classes from another Java project in Eclipse?

I have multiple Java projects in Eclipse. I would like to reuse some classes in my new project from my old project. What is the best way to do that in Eclipse? I.e. is it possible to add another "project folder" to the build-path for my new project? ...

Can I configure Eclipse / JBoss integration so it does not rely on deploying Jars to the "server/default/deploy" folder?

I am using MyEclipse 7.5 with JBoss 4.2.3 GA. When I define my local development JBoss server in MyEclipse it always wants to deploy jars, wars etc. to the "server/default/deploy" directory. Unfortunately our JBoss directory structure for production is "server/XYZ/deploy/abc" (driven by a third party). As a result our Dev JBoss instanc...

AIR2 NativeProcess to Java debugging

I'm using AIR2 NativeProcess API to communicate to Java process, but I don't know how to debug Java process when AIR send something to java process input, I want to continue debugging in Java (Eclipse). Is that somehow possible? ...

Cant find libboost_system.so.1.43.0 in eclipse using boost

I am trying to run boost in eclipse, under Library search path I have put: /home/etobkru/boost_1_43_0/boostBinaries/lib/ and under Libraries I have put all the libs, boost_system, etc. The build is working without errors but when am trying to run the program I get an error: error while loading shared libraries: libboost_system.so.1.43...

Character sets offered in the Eclipse properties

I've just been handed a pile of Java source that, I suspect, is in ISO-8859-8. Eclipse's menu of charsets, here on my Mac, does not include that. Or any of a wide variety of other encodings supported by the JDK. Is there a recipe for expanding the list of encodings that show up in the menu? ...

Cannot add a glassfish server in eclipse!

After many efforts, i did installing of java_ee on my system. I'm using eclipse Galileo. After i try to add a new server, I choose the location for glassfish, click next and it gives me: home/banco/glassfishv3/glassfish/domains/domain1 is not writable Since the glassfish is situated in Home folder, i can't understand the reason for th...

Java/Eclipse Dependency mapping / graphing tool - Where is a JAR being used in my project?

Hi All, I have a JAR on the build path of a medium sized Java application and I would like to know where it's used. At the most basic level if someone could tell me how to 'Find References' for a Jar that would be great. Whilst I'm looking at dependencies it would be great to find a tool that would map all of my package / external lib...

Problem deploying servlets in JBoss 5.1 on eclipse.

Yesterday I created a simple image servlet and attempted to deploy it. I am getting an error on JBoss startup, and then further errors on trying to invoke the servlet. I spent about 8 hours yesterday searching the web for answers and trying different scenarios. I ended up making my JBoss problems worse and then fixing them, but I never ...

How to combine Eclipse Databinding and UndoableOperations?

Hello... in my RCP - Project i'm using eclipse databinding to connect the ui with the backend. I want every change in an open editor to be undoable. My Domainmodell and UI are seperated in two different plugins. My current approach is to implement my own UpdateValueStrategy class for the databinding. I extend the normal UpdateValueSt...

Working on a cross platform library...

What are the best practices on writing a cross platform library in C++? My development environment is Eclipse CDT on Linux, but my library should have the possibility to compile natively on Windows either (from Visual C++ for example). Thanks. ...

Is there a SWT debugger/spy?

I'm trying to debug my SWT dialog (in an Eclipse plugin.) I'd like to find out why the layout is the way it is, and where the borders are between the controls. I've seen the SWT Spy plugin (http://www.eclipse.org/swt/tools.php), but I'd like something more graphical. I'm basically looking for something similar to the way the WebKit de...

eclipse-how to create project from existing file structure?

Hi guys, I'm trying to figure this out and having problems. I have several projects (not eclipse projects but regular php files, etc) that are in d:xampp/htdocs/project_1 d:xampp/htdocs/project_2 d:xampp/htdocs/project_3 etc Each project has several files under them (zend framework files, etc) Anyway, I'm trying to figure out how...

Draw2D - Centering Multiple Lines of Text Vertically and Horizontally Inside a Figure

I'm trying to horizontally and vertically center two lines of text inside a Rectangle figure in Draw2D. The following code centers the text horizontally but not vertically: IFigure figure; figure = new Rectangle(); FlowPage flowPage = new FlowPage(); flowPage.setHorizontalAligment(PositionConstants.CENTER); textFlow = new TextFlow(); ...