In my project, I have a resources directory (src/main/resources) that contains properties and XML files.
I want to filter only the properties files, but not any others kind of files (XML for example). Thus, I've set this in my pom.xml:
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
...
I'm trying to update the input of JFace TreeViwer periodically using setInput() method. Also I use the
viewer.setExpandedElements(expandedElements);
viewer.setExpandedTreePaths(expandedTreePaths);
methods to save the state of the tree. But after each setInput() call the TreeViewer flickers. How can avoid from flickering ?
...
I'm working on a project that uses JSObject from the jre's plugin.jar, which isn't included in the build path normally. I can get things to compile fine by adding the jar to the classpath. Currently I'm doing this in eclipse via Project->Configure Build Path->Libraries->Add External JARs... -> find the jar in jdk/jre/lib/plugin.jar. T...
I'm having trouble installing the Checkstyle plugin on Eclipse platform 3.5, Java EE IDE 1.2. I've pasted the error message below when I try to install Checkstyle. Thanks in advance for your help.
ERROR MESSAGE
Cannot complete the install because one or more required items could not be found.
Software currently installed: m2eclipse ...
I am coding in Eclipse (on the Mac) and need to run OS shell commands from time to time.
I have a lot of bash terminal windows open and it takes time and is distracting to find the right one for the programming session.
The commands are not always the same, and I need to see the output, so something like an External Builder will not do...
I'm using the Eclipse DTP to do my SQL development. When I create a database connection I'm promoted to enter the name of the database (schema), and I cannot continue until I enter it. However, I have several databases on each server, and I want to see them all under the database connection (like most the database tools let you).
Can I ...
How does the IDEA Community Edition compare with Eclipse?
...
Hi,
Normally Eclipse 'File Compare' compares files in vertical panels like:
Is there a way I can compare them horizontally like:
Its too tiring to scroll everytime to see what was changed!!
Thx
...
I'm running Eclipse with the run-jetty-run plugin to launch my J2EE web apps. My project uses Spring, and the spring configuration uses things like HttpInvokerProxy and properties placeholder.
When the spring jars are on the classpath (I mean configured in the "classpath" tab of the "run configuration") and external (not in WEB-INF/lib...
When I reformat code with Eclipse, it turns method headers like this:
public void myMethod(String param) {
into method headers like this:
public void myMethod(
String param) {
When I was brought on here I'd never used Eclipse before, and I imported project settings provided by someone else. I have seen that on...
I've downloaded and started to use Drools on a pilot project via it's "default" platform Eclipse. However, I would like to use it in Netbeans just the way plug-in works in Eclipse.
Any ideas/shot-cuts to do that?
...
I currntly use M2Eclipse for the majority of my Java development and Pydev for Python/Jython development within Eclipse. I would like to use Jython to prototype and test classes within my Java projects. The M2Eclipse plugin manages all the dependencies defined in the Maven pom.xml file automatically.
Is there anyway for Pydev to utilis...
It's a minor thing, but it drives me nuts that when I type List in Eclipse, it always asks me if I mean java.util.List or java.awt.List when I never ever use java.awt.List. There are other similar cases with name collisions in my own project and more esoteric standard libraries. Is there a way to configure Eclipse to assume that I mean j...
For my project, due to the long build and regression times, it is extremely common for me to have up to 4 different sandboxes at different NFS locations. Moreover, people can't share eclipse project definitions between each other. I'd like to be able to check in project definitions into the repository so that when I check out a new san...
Our lead programmer likes to install tools on a shared network drive to minimize effort when updating. He recently installed Eclipse to the network drive, but when I run it, I get a window that says Workspace in use or cannot be created, choose a different one. After clicking OK, I get a window that gives me a drop down menu with only ...
I am using Eclipse and SVN as a source repository. Whenever the user checks in the code I want to add the SVN version and userid of who made the changes and comments given by the user before checking the code into the file.
Is there any code template available for this?
...
I am using eclipse Galileo. The "New Server Runtime Environment" dialog box contains three fields:
Name
Tomcat installation directory
JRE
I would like to set the tomcat installation directory relative to an environment variable I have set in my OS (win xp).
Can this be possibly done?
...
I am a beginner. I am using Aptana Studio for PHP. Today, I also downloaded Eclipse. I notice most of the features and workings are similar. It seems that one is built on the code-base of the other.
If so, what was the need for two similar Open Source IDEs on Java?
...
Hello All,
I am building an OSGi application and need to create an Eclipse-like OSGi application launcher.
For those who do not know, when an OSGi application is run through Eclipse's OSGi framework, Equinox launches and automatically manages the order of bundles being started and stopped. From what I have experienced so far, it seems ...
Keep getting this error when compiling using Maven:
type parameters of <X>X cannot be determined; no unique maximal instance exists for type variable X with upper bounds int,java.lang.Object
Generics type interference cannot be applied to primitive types. But I thought since Java5, boxing/unboxing mechanism works seamlessly between pr...