eclipse

AspectJ: How to get pointcuts to advise classes located in other projects

This should be simple. Question How do you get a pointcut in one project to advise the code/classes within another project? Context I'm working in eclipse with two projects. For ease of explanation, let's call one science project and the other math project and say the science project relies on the math project and I'm developing in bo...

Running TestNG testng.xml tests from Eclipse

I have some packages com.company.testing.module1 com.company.testing.module2 com.company.testing.module3 I also have some classes that have TestNG annotations in com.company.testing.tests Now I put testng.xml in com.company.testing The XML file looks like <?xml version="1.0" encoding="UTF-8"?> <suite name="Foo"> <test na...

How Do I Add A New Set of Tags (markup) to Eclipse PDT

I do a far share of Twilio development, and when I use their specialized markup Eclipse complains that it's not well formed (red squiggly line, not completing tag, etc). Of course, as far as Eclipse knows, it's not - the files I'm editing are either .php or .phtml, so I don't fault it for assuming I should be using HTML tags. How can...

How do I know which version of RichFaces I am running?

Can you tell me how to find out which version of Richfaces I am running? I need to know if I have jQuery already installed so perhaps a way to test that would help as an answer as well. I am using Version: 2.1.0.GA of JBOSS Developer Studio.. if that helps. ...

How to upgrade Eclipse from 3.5 (Galileo) to 3.6 (Helios) the proper way?

I notice this question has been asked a few times but I don't really like the solution with two Eclipses in parallel. I just want my Galileo upgraded to Helios with preservation of all settings, plugins and workspaces, without the mumbo-jumbo like copying plugins manually and stuff. I've got the Android plugin, the C/C++ plugin, the PyDe...

Running Eclipse Scala Plugin with previous version of Scala

The scala plugin seems to automatically download version 2.8 of Scala. I'l like to try out the Gridgain 3.0-beta, which currently only works with Scala 2.7.7. Since Gridgain 3.0-beta already provides scala-compiler-2.7.7.jar and scala-library-2.7.7.jar, is it possible to get the Eclipse Scala Plugin to compile to Scala 2.7.7? I tried ...

How do you run multiple instances of JBoss 4.0 (running under Eclipse) on the same machine?

At my office we run JBoss 4.0 and use Eclipse to debug and run the JBoss server. We're deploying simple wars, nothing terribly complex. However, I haven't yet figured out how to get this version of JBoss to either allow me to run separate instances of the war (HEAD and the Branch, for example) or to run separate servers controlled by two...

How can I recursively find and run all Junit 4 tests within Eclipse?

I would like to run all junit 4 tests within my Eclipse project. The project is setup with /source and /test. Under /test are various packages, such as: com.yaddayadda.test.core.entity com.yaddayadda.test.core.framework If I right-click at the /test level in Package Explorer and choose Run As; Junit Test I receive the error: No te...

eclipse IDE help :search a function with given name

How to search a partifular function in a particular project in eclipse EG : If i want to search a function with name xyz how ro i do it? ...

Generating ANT build.xml automagically.

Hello everyone, I have an existing j2ee project which is very big and old. Therefore, my current building process is to open eclipse, file/export, and clic on War archive. While our company turn over is as fast as new build is needed, we have to create an automated process. However, I'm searching the fastest way to automate building. I...

How can i stop Eclipse's "Servers" tab from grabbing focus when start/stopping a server?

When using Eclipse IDE, anytime the the server (tomcat in my case) changes status (start, starting, stopping, stopped, etc...), the Servers tab becomes active. This is annoying because then I can't see Console. By default, I think Console has "Show Console when std out/err changes" which results in a minor skirmish between the two tabs....

How to configure Eclipse to skip Exceptions in debug mode ?

I am trying to debug huge system which has many caught exceptions. During debug process Eclipse stops on every exception, and I want to configure it to stop only on my breakpoint. Is it any way to switch stopping on exceptions off ? UPD. I use Helios Release. I already removed checkboxes from suspend on exception, and it did not help...

Maven / Eclipse / WTP - /src/main/resources not deployed

I have a Maven/Web/Eclipse project running. When I deploy in Eclipse, the contents of /src/main/resources are not deployed. Here's my org.eclipse.wst.common.component file: <?xml version="1.0" encoding="UTF-8"?> <project-modules id="moduleCoreId" project-version="1.5.0"> <wb-module deploy-name="Grapevine"> <wb-resource dep...

Php Eclipse on windows azure

Hello, After following all the steps: Getting started with PHP on Windows Azure Tools for Eclipse Easy Setup for PHP On Azure Development When I do "Run in developement fabric" nothing happens (the packaging must be failing)..... Help please Thanks a lot! ...

BIRT - Where should I put images so that it is available on preview and delpoyed into webapplication

I have BIRT integrated into web application. I can't seem to find a way to get images to show up during development/preview within Eclipse and deployment. I have tried different setting. It works in one or the other, not both. I do not want to put images in the same place as the reports or embed them. Please suggest what is the best pla...

Eclipse equals() template where null String == empty String

Question This question was originally to find out if anyone knows of a way to modify the Eclipse equals() and hashCode() templates to generate the following pattern for Strings (making null equivalent to ""). if ([value] == null || [value].length() == 0) { if (other.[value] != null && other.[value].length() > 0) { return fal...

Emacs C-x C-c overriding save-buffers-kill-terminal if within last open frame

I have setup emacs -daemon to run on login to Gnome and associated emacsclient with .cpp and .py files that I work with in Eclipse in order that emacs is used as my default editor for these files when selected within Eclipse. This way I can get a good work flow combining the editing capabilities of emacs and the project/build management...

How to create working menu's

Hi, I have managed to create a menu with four options. I want to create four sub menus of same style for each option. In my infinite nooby-ness I have created four classes for the sub menus but I cannot figure out how to move between the menus(Classes). For instance I have four options Prem, Champ, L1, L2, I have created the Prem sub...

Egit staged after commit?!

Hello, I'm using egit for eclipse since today but there is a problem. I commited a file(works perfectly), but after the commit the file is staged to commit again? and with "git status" the file is listed "Changes to be committed:" But without any changes "git diff" has no output. What's the matter? commiting in command line seems to ...

Group Java Development

Maybe it's a strange question but... A friend of mine and I used to code together on small projects. Everyone has their own expertise in coding things. This works quite well when coding in C on a remote location (over ssh on the same server). My Question: Is there a possibility of developing java with eclipse with 2 or more people. Sa...