eclipse

Log file viewer for Eclipse

I'm looking for a log file viewer plugin for Eclipse possibly having the following features: custom highlighting of lines custom line filters, possibly with regEx tail following The discontinued Eclipse Logfile Viewer has nice highlighting but no line filters. There seem to be good standalone programs like TraceTool which misses the...

make Eclipse equals() / hashCode() use getters

Is it possible to make the default Eclipse "Generate hashCode() and equals()" use getters instead of field references? - ie. can I get at the template that it uses? I'm using Hibernate, and Proxied Objects are only LazyLoaded when getters are used and not from field references. It's an annoyance to be constantly changing it. The obviou...

alternatives to XCode for iPhone development? (OR: how to make XCode suck less?)

I've been a Java developer for 10+ years now, and have come to love the power that modern IDEs provide for things like refactoring, finding dead code, finding "usages of", etc. I'm starting to do some iPhone dev on the side, and am utterly frustrated by the lack of such features in XCode. There is no "find usages of this method/class" ...

Selenium typeKeys strips out dot from the String being typed

The following instruction Selenium.typeKeys("location", "gmail.com"); types the string gmailcom instead of gmail.com. What's happening there? From the comments: I am trying to simulate autofill and the only way to do it currently on selenium is to combine type and typeKeys. eg: selenium.type("assigned_to", split[0]+"@"); selenium.t...

Looking for a single package for JSF SUN-RI with JSTL

For those of you using JSF + JSTL, is there any provider that provides both these jars in a single package (zip etc.)? (I'm looking for one package due to limitations of a particular framework that I'm using to write an Eclipse plugin) Any pointers are welcome. ...

eclipse indentation on emacs

I'm an emacs user who just started working for a new company where eclipse is the standard. I've tried eclipse, but I want to also experiment with JDEE (I'm coming back to Java after a long hiatus). The major stumbling block so far is getting the indentation to match. Is there an easy way to do this, or am I going to need to dig deepl...

Mark exported classes in Eclipse to not modify

Hi all, in my workpsace i do have SVN checkout classes and SVN export classes. I seperate the classes into two working sets. The exported classes are members of another feature based project and i am not allowed to change this classes inside my workspace. When i want to fix a bug or implement new features i want to be sure, that the ex...

How can I stop using a mouse while programming in my IDE?

I love using an IDE, because I get some great productivity gains. However, I have a couple reasons to stop using a mouse with an IDE: To code faster - It definitely slows down my coding when my typing is interrupted with all of the constant point and clicking. To relieve pain - I've never had pain from the keyboard, but I get tendinit...

workaround for GWT+Jetty JSP compiler issue? (Java 1.5 source level not recognized)

As this thread shows, there seems to be an issue getting JSPs to compile in GWT hosted mode with the new Jetty server: 2. ERROR in /tmp/Jetty_0_0_0_0_8080_war____ut4fm1/jsp/org/apache/jsp/ test_jsp.java (at line 53) new java.util.ArrayList<String>(); ^^^^^^ Syntax error, parameterized types ar...

How to specify an fileset exclude statement pointing to a file in Ant?

Is there a way to have an Ant Fileset->IncludesFile attribute take a property file OR any other file that contains a list of Java class files to exclude? Eg: File A.properties OR A.java contains listing abc.class mno.class xyz.class Is there a way to say to point excludesFile to file A.properties. <fileset dir="..."> <exclu...

"static checking" for SQL calls in Java/Eclipse?

Writing Java in Eclipse, I've recently been bitten by a few trivial bugs where my SQL syntax has been off (e.g., not properly quoting a constant). Are there any tools I could use to help myself catch these as I write them? ...

setting ANT_OPTS in eclipse

Does anyone know how to set ANT_OPTS in eclipse's ant runner and have it picked up? I've tried setting it via the Environment tab in the External Tools setup, but that doesn't appear to be picked up. I'm trying to set the following: -Djava.util.logging.config.file=logging.properties so that I can turn on debug logging in some Oracle ...

Putting bat file inside a jar file

I have a java class that uses a bat file to execute commands. However I developed it in Eclipse IDE. It works fine in there. But as I export it in a jar file, it fails to find the bat file that was included.(gives me an IOException) The file structure in eclipse is as follows : Project1 ---->src ------>com.myproj -------->BatFileRead....

Problem with imports in java?

I'm having a problem with imports in one of my java applications. I've Taken a working JSP out of one Eclipse project, Jar'd up all the classes from that project and put it into a new project. In the new Project I've imported the jar file generated from the original, and pasted the jsp code into a new JSP document. I'm getting "The im...

compare Filecontent Eclipse

Apache Commons IO FileUtils.contentEquals() compares 2 files. Is this also possible using code from eclipse.org ? ...

How do I use MiG Layout with Eclipse?

I've been Googling and checking on Stack Overflow and nothing has helped... hopefully someone can. I usually just write my code by hand, but I'm working on a Java project that has a GUI aspect and I like what MiG Layout has to offer so I want to use it. I've downloaded the .jar file from the website, but I can't seem to be able to acces...

avoiding eclipse "changed on file system" dialog?

Is there a preference or tweak that will stop Eclipse from putting up a dialog "This file has been changed on the file system." when I switch to Eclipse from another editor? Steps: open eclipse project edit some file and save it (page is now 'clean' but has been touched previously) switch to other editor edit same file switch back t...

What non-free tools are popular amongst Java developers

The vast majority of developers I interact with are using Eclipse (I prefer NetBeans) and will leverage many of the free plugins that are available. However, many of them are using few if any tools that require monetary payment. Have developers ever considered that this may be unwise and that they are compromising their own productivity...

How can I obtain the version number of a custom Eclipse feature at runtime?

I would like to display the version number of a custom Eclipse feature I am developing in the title bar of its perspective. Is there a way to obtain the version number from the runtime plugin and/or workbench? ...

Eclipse and Classpath.

I swear I'm going insane. JDeveloper runs my project with not a single complaint. If I do "java -cp /usr/share/java/mysql.jar:. MAIN.java", it works like a charm. But Eclipse says "[censored] you" and ignores my classpath settings. I open the Run > Run... menu, and add the mysql jar in the classpath tab, but time and time again, I ke...