I have added a second Virtual Device to test a different screen resolution (QVGA), but now I wanna switch back to the first AVD (HVGA) again. How can I set the virtual device in Eclipse to be used by default or even specifically for my project? In the properties I can only set the API level.
I also couldn't find any information in the c...
When developing Maven web applications I usually resort the the jetty-maven-plugin to quickly launch my application for local testing and debugging. Using the launch with m2eclipse has the drawback of not properly including all sources for debugging, even though they are downloaded by Maven ( see Source lookup does not seem to work ).
W...
I wud like know the way to set the text that is typed in a Jtextfield to the table.Cud anyone help me in it.
...
I often use the Eclipse feature (Galileo) of suggested error corrections to automatically create code stubs or to refactor things. For example, I would write a method that calls other methods which don't exist yet, then move the mouse over the error message and click on "create method". Or, change this to the class name and choose "add s...
Me and my friend using flex builder (eclipse based) with subclipse for a project.
Before committing I always update but sometimes I could not commit because of conflicts. Then I use Team->Synchronize with Repository and it shows at the right side latest from repository and at the left side the my current working copy. It has a button...
What is the best way to start with spring framework, I've already got a book Spring in action 2nd edition august 2007, but here is the thing, I'm missing some general knowledge concerning this framework and java. I've started reading the book but its not very clear to me, its clear what the author is trying to accomplish but I can't seem...
I have a plugin that forces a restart of Eclipse by using:
Workbench.getInstance().restart();
However, I need this restart to include a new environment variable:
eclipse.refreshBundles=true
Is there any way to add such an environment variable for this next restart of Eclipse only?
...
I have a multiple user/location RCP application that currently utilizes several user configurable options. Some preferences are for specific to the station, some are specific to the user.
The options are from a preference store which saves the *.prefs files to "workspace.metadata.plugins\org.eclipse.core.runtime.settings".
This would ...
A fellow developer dislikes the Eclipse hovering Javadoc and would like to disable it (one option), or, better yet, only selectively enable it (other option). He's using Eclipse 3.3. Is this possible?
...
I am receiving the following message from my Eclipse compiler, and my project fails to compile....
Internal compiler error: java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.missingTypeInMethod(ProblemReporter.java:5075)
I've tried updating Eclipse, restarting eclipse, closing and opening the p...
I am building an Eclipse RCP application with the command-line version of PDE build in Eclipse 3.5.1. Then I use AdvancedInstaller to create the installer for the RCP product. I think the context would be similar with InstallShield and similar packagers instead of AdvancedInstaller.
If I incorporate p2 provisioning into my build, would ...
A Visual Studio user struggling w/ Eclipse...
I imported a set of servlets/JSPs into a project in Oracle Workshop for Weblogic. /page.jsp has the following import statement: import="com.foo.bar.*" Eclipse is displaying an error "The import com cannot be resolved". The class that implements the above import in /WEB-INF/src but I don...
How can I create a method that recieve two arrays as parameters and return an array filled with the items that were in both arrays?
Input (Array1 passed in method): ["Lisa", "George", "Mario"]
Input (Array2 passed in method): ["Luigi", "Susan", "Lisa"]
Method should return: ["Lisa"]
I cannot use any built in methods so I have to build...
I am looking out for an eclipse plug-in that could be used to detect unused methods or classes across a project. Does any one know a efficient good to use plug-in of that kind?
...
I just had an idea that I wonder whether is possible in java. Let's say when doing debugging using eclipse or netbeans, you could record an object and save it. Then when going through the second round of debugging, save the object again. Now you could compare the first object recorded with the second object for all properties and find ou...
In my Eclipse Preferences -> Java -> Editor -> Content Assist -> Advanced settings, I see the following:
Java Non-Type Proposals
Java Proposals
Java Proposals (Task-focused)
Java Type Proposals
JPA Proposals (is always empty for me)
PDE API Tools Proposals (gets skipped when checked in the Content-Assist Cycling settings)
SWT Template ...
Most of our projects are built with Maven, and some of them use classes in the com.sun package. That's a bad practice, but there's not much I can do about it.
For a while this didn't seem to be a big problem. Then, at some point, builds started failing for me with errors such as the following:
java.lang.Error: Unresolved compilation pr...
I installed Flex Builder plug in (3.2) into Eclipse 3.4. The installation had no errors, but I get this error when trying to start a new Flex Project.
The selected wizard could not be started.
Plug-in com.adobe.flexbuilder.apollo.ui was unable to load class com.adobe.flexbuilder.apollo.ui.wizards.flex.FlexApolloProjectWizard.
com/adobe/...
1. Regarding PMD:
1.1 How do I set the PMD checks, to ignore some of them, like "Variable name is too short, or too long", "Remove empty constructor, etc" - and if I do that, another warning appears that says the class must have some static methods. Basically, the class was empty, for later development, and I like to leave it that way f...
Has anyone gotten watchpoints to work when debugging PHP with xDebug and Eclipse? The way I understand it, I'm supposed to be able to select a watched variable in the expressions view or select a variable in the Variables view during debugging, and then select Run->Toggle Watchpoint. But Toggle Watchpoint is constantly greyed out. All my...