eclipse

run gwt in server mode

hi, I'm trying to use eclipse 3.6 with Google Web Toolkit and I don't see there an option to run the app on the server. When I click on Run, there is automatically the hosted mode, when I click the Run as... there is option 1. Run as application , 2. Run as applet - which is useless, 3. Run as Web application - which leads to running in ...

Eclipse PDE: Package does not exist in this plug-in

We are developing an Eclipse plugin that is split into several Eclipse Projects. We want to export some of the classes that are defined in these external projects (via Export-Package in MANIFEST.MF). The problem is that Eclipse gives an error "Package xxx does not exist in this plug-in". To give an example, let's assume that the plug-i...

Eclipse: create preference page programmatically

I'm trying to create a preference page programmatically, I need to work with preference pages without define preferencePage extension point in plugin.xml I'm very close to solution, I'm able to load page and save the value the first time application loads, the core of my code is PreferenceManager pmngr= PlatformUI.getWorkbench().getPr...

Eclipse's Dead Code warning when it is reachable?

Why Eclipse gives me a dead code warning in the fourth line of the following method? How can it not be reachable? private void writeToSequenceFile() { try { CustomFileWriter nBatchWriter = new CustomFileWriter(sequeneceFileName, CONFIG_RESOURCE_NAME, "outputFile"); // The line below is a dead code? lineBuilder.setString("Li...

Eclipse navigate to next/previous marked occurrence

Eclipse has the Mark Occurrences feature where it highlights all occurrences of a selected variable/method. Is there a way to navigate to next or previous marked occurrence? ...

How to set run configuration in eclipse so that an application is run as an ant application

Hi, How to set run configuration in eclipse so that an application is run as an ant application. Thanks.. ...

Navigating from struts.xml to occurrence of action in Eclipse

I have some code within struts.xml like: <action name="viewApplicationPDF" class="com.xxx.abc.web.action.XApplicationPDFAction"> <result name="success">/WEB-INF/templates/xApplication.jsp</result> </action> I want to be able to quickly jump to the occurrences of the action "viewApplicationPDF" within jsp files...

Is there an easy way to start a static function of a class in a few clicks in Eclipse?

Is there an easy way to start a static function (not main) of a class in a few clicks in Eclipse? Can do it in main function, but is there another way? E.g. right click on a needed function in the Outline view and select [run with arguments..] ...

running ant application in eclipse

I am able to build the ant file in eclipse. How to run the ant application through eclipse. Thanks. ...

xdebug won't stop at breakpoint

Hello, I spend some hours to set up my IDE to debug PHP with eclipse and xdebug.. Everything is ok except the breakpoint I set on eclipse. If I double-click on a line to add a breakpoint, the debugger want not to stop.. If a add the line xdebug_break() the debugger stops well at the line... It's maybe a problem with the configuration. ...

What is the Eclipse equivalent of IntelliJ "Live templates"?

I mean stuff like typing "iter" and getting a "for" loop with a choice of what variable to iterate on , typing "soutv" to generate a "System.out.println" with the "variable=" already in ... Thanks ! ...

How to set "build" dependencies between Maven projects in Eclipse?

Hello, I'm rather new to Maven and I couldn't find a solution to this little (IMHO) problem. In my Eclipse workspace I have a Maven project for an OSGi bundle (a regular one, not an Eclipse plugin). It depends upon several artifacts (JAR libraries); I need one of them to be built from another Maven project in the workspace. When I rebui...

How to run Java USB API for Windows using Eclipse

I understand that there is no complete support for USB for Java in Windows. But jUSB provides a Java USB API for windows which does not provide support for the complete functionality though. I am trying to install the Java USB API and try it, and the steps provided say he following, jUSB DLL Copy the jusb.dll from the folder \Installa...

Autocomplete in Jdeveloper 10.1.3

Hey, I am moving from Eclipse to JDev 10.1.3 I cannot do how to use auto-complete for classes that are not imported. (In eclipse, the auto-completion where on the entire classes in the CLASSPATH)... How to accomplish that? Thanks! ...

Generating JUnit stubs for new methods in existing class in Eclipse

This question is tangentially related to How can I create JUnit stub methods in eclipse? but it doesn't answer my specific question. Assuming you have an existing JUnit test case class, if you add a method to the target class (or choose to test a previously untested method), is there a way to tell Eclipse to generate the stub for the "n...

eclipse javascript editor '10

Hi, I am going to ask the same as http://stackoverflow.com/questions/24678/eclipse-javascript-editor because it is 2010 and answers from 2008 are not true any more. So, "I'm looking for opinions on the best JavaScript editor available as an Eclipse plugin". Many thanks. ...

eclipse plugins you cannot live without

Possible Duplicate: Do you have any recommended plugins for Eclipse? What is the eclipse plugin you consider most useful / cannot live without (except the obvious ones like m2eclipse, svn, egit) ? :-) For me: PathTool - this plugin let me open terminal and explorer for projects files ...

Error (in GTK?) when trying to install EclipseXul plugin

When installing EclipseXul plugin on EclipsePHP, it says: Cannot complete the install because one or more required items could not be found. Software currently installed: Shared profile 1.0.0.1288098146566 (SharedProfile_epp.package.php 1.0.0.1288098146566) Missing requirement: Shared profile 1.0.0.1288098146566 (Shar...

Using Eclipse SWT Image, JAVA and SQLite to insert, store and retrieve Images.

Hi all, Any help would be greatly appreciated. I'm writing a basic Java application that allows a user to insert details about individuals into an SQLite database. I'm using Eclipse SWT for the GUI. Eclipse SWT defines a type Image (org.eclipse.swt.graphics.Image) for displaying Images in a GUI. I am trying to allow a user to browse...

android geocoder---nothing is displayed on screen whenn the i run the application

i have written the code for geocoding..but unfortunately it does not work ie nothing is displayed on screen...i am attaching the code...can someone please tell me what is the fault in the code..thanks public class geocoder extends Activity { // private TextView output; private LocationManager mgr; /** Called when the activity is ...