eclipse

can I control eclipse jsp validation?

Apologies if this is a rehash of an earlier question that I can't find, but is there any way to stop eclipse (ganymede irc) flagging unresolved java references as a problem? I have a web app that I want to deploy via eclipse in order to debug. However, it contains .jsp files including other .jsp files, which reference java objects define...

Best free Code Review tool for Eclipse/Java/Flex Development

I'm using Eclipse and I'm wondering what the best Eclipse/Java/Flexbuilder code review tool is. If it matters we're using SVN as our SCM. Here are the following I've come across: Jupiter - seems like it's been around for awhile it looks like there is only a single developer on the project and the documentation mentions rather old vers...

eclipse jetty:run differs to cli mvn jetty:run

I have managed to track a problem where within eclipse I see no error, but anywhere outside eclipse the error exists. The error I get when run outside eclipse is LazyInitializationException from hibernate - caused by a ${entity.service.id} reference in the jsp. Outside eclipse I have tried jetty standalone, mvn jetty:run from the comma...

java - Debug full screen app in eclipse

Hi, I'm developing a java full screen application. I would like to debug this application using eclipse debugger. However, if I put a breakpoint, my application stops, but my eclipse window doesn't popup, because the full screen application is on. Up till now, I commented out the lines which made it a full screen application, but I won...

XDebugging PHPUnit testcases in Eclipse PDT

Until now, I was debugging my PHP scripts and testcases using vim and the appropiate script with python backing it. However, me and my colleagues need to move forward and vim/gvim is not an option for them. So I've tried to integrate debugging PHPUnit in Eclipse on my setup as an external tool, which again, works with vim. However, it s...

maven - use generics in a eclipse's maven project

I have a maven website project generated by archtype plugin with eclipse IDE. The problem is when i need to use generics or any thing of java 5 or 6, i changed the project compiler to 1.6 and i got a error mark on the project icon in the package explorer but everything is fine. I think it is cause by maven but I dont know how to get rid ...

How can i define a custom action for "Open Declaration" (shortcut F3) in Eclipse

How do i register an additional handler/action/command for "Open Declaration" (aka F3) in a plugin? I want to use F3 on String literals in Java code to navigate to the files declaring resource bundle keys. I already have a context menu action ready that does the job. All that's missing is a way to bind it to the key that users are used ...

Rapid Java UI tools for backend server testing

We have a Java server application using a message based communication passing around strongly typed complex POJO messages. Our regular client is a rich-client Flex application that has a very heavy art and UI development process that doesn't lend itself to rapid prototyping. We are planning on building a Java UI to test server functiona...

Handle into eclipse's parsing of java code?

How does eclipse internally build its internal representation of java code in order to be able to detect things like unreferenced methods, or to find method references in a project? And is there any way to get a hook into that information to build tools based on eclipse's internal parsing, Whether as an eclipse plug-in or as a standalone...

eclipse and windows newlines

I had to move my eclipse workspace from Linux to windows when my desktop crashed. A week later I copy it back to Linux, code happily, commit to cvs. And alas, windows newlines have polluted many files, so cvs diff dumps the entrire file, even when I changed a line or two! I could cook up a script, but I am wondering if it will mess up ...

what names should I give as project name, package name, class name - (java - eclipse )

I have never understood what is the ideal way to name a project, package, class. I do it in a random way which doesn't look professional at all. I know the class name should start with a capital alphabet. But what I don't really have trouble with is finding the names that are suitable and look professional. lets consider this example. If...

Undefined symbols error in C++ / Eclipse

I have a function to display the values of a vector in a table, but I keep getting an "Undefined symbols" error when linking. Here is my function prototype: void displayVectors(vector<string> & nameVec, vector<double> & scoreVec, vector<char> & gradeVec); Here is the definition: void dipslayVectors(vector<string> & nameVec, vector<d...

eclipse keyboard

hi, i have encountered a really weirdest bug in eclipse, i would love if someone will help with it. after a while of coding eclipse simply starts to "mix up" with the letters that are being typed. meaning i press 's' and it displays a different letter 'o' and it happens for other keys as well d becomes an e...and so on. the weird thin...

Which dependency do I need for this import in Maven

I am trying to convert a Java project which uses Ant into a Maven project, but am having difficulties finding out which dependencies to include. How do I find out dependency settings for a particular import? ...

Eclipse Error: 'Setting build path' has encountered error

Hi, I am using an API called jtwitter. It has a single jar file jtwitter.jar I have been working with it and maintained it using git. I hosted the code in github. For somedays, i have not touched its code. Today, when i cloned my git repo (actually my system got a crash some days back so I had to clone ) and loaded the project into ecl...

How do I select a file within a .app in Mac OS X?

I'm trying to configure PyDev in eclipse, and as part of that I'm trying to add some source folders to the External Libraries section for PYTHONPATH. However, when I click "Add source folder" in eclipse, it's not letting me drill into any .app directories. Normally, in regular Finder, I would right click and choose "Show Package Contents...

Eclipse RCP app, find duplicate entries for some plugin after update, same plugins then fail

have an Eclipse Galileo RCP application with updates provided by an Eclipse Update Site Project put on a web server. after the update, the application fails (in particular, one of the update plugins fails). when looking at the informations about the application and clicking 'Installation Details', it can be noted that the plugin (the fai...

How can I point from an Eclipse target-platform.target file to my $HOME/.eclipse/org.eclipse.platform_$VERSION/plugins?

Bioclipse uses a custom target-platform.target which looks like: <?xml version="1.0" encoding="UTF-8"?> <?pde version="3.2"?> <target name="Spring-osgi-1.0.2"> <location useDefault="true"/> <content useAllPlugins="true"> <plugins> </plugins> <features> </features> <extraLocations> <locatio...

Conditional statements in Eclipse templates

Eclipse templates can automatically insert text and variables as you are coding. When variables are used with the ${variable} form, the value is inserted automatically. My question is whether you can add sections to these templates conditionally. Can you have a method definition template that will fill in multiple variables and add loca...

Learning Eclipse MDT-UML2 Sequence Diagrams

Are there any tutorials or documentation files for drawing Sequence Diagrams with Eclipse MDT-UML2? I can't put a Lifeline on the page. It took me 10 minutes to figure out that I first have to make a big Iteraction, and then I can put Lifelines into it. I can't figure out how to make the Participant box wider in the lifeline. Any nam...