Developing on Eclipse 3.4, running on Eclipse 3.3

I'm developing an Eclipse plug-in, based on a bunch of core Eclipse plug-ins like SWT, JDT, GEF and others. I need my plug-in to be compatible with Eclipse 3.3, since many potential customers are still using it. However, personally I like the new features in Eclipse 3.4 and would like to use it for my development. This means I need PDE to reference 3.3 code and, when debug, execute a 3.3 instance. Any tips on how this can be achieved? Thanks.

Running a single JUnit test in Eclipse

If I have a test suite with multiple tests, when I try to run a single unit test, either from the context menu of the code editor, or from the JUnit view, it seems to insist on always running the entire suite, rather than the single test. Is there a way to disable to change this behavior so that I can ask to to run that, and only that, test.

Eclipse Java EE plugin

I want an Eclipse Java EE plugin which I can install directly from Eclipse. I searched about it on Google and found some ones but couldn't figure out how to download them directly from Eclipse. One plugin I found was WTP but couldn't find the location of the WTP repository that I can enter in the Eclipse's Software Update tool. I am using Eclipse 3.4.2 (Ganymede)

Many tooltips after upgrade to Eclipse 3.5

I've upgraded to Eclipse 3.5 and now tooltips are displayed for everything - for any field, for any method, for anything. The worst thing is that they are displaying immediately after i've moved the mouse (no delay!) So almost always I do see some tooltip, this is very inconvenient. How can I either increase the delay or disable tooltips?

Eclipse Environment variable expansion in persistence.xml (JPA)

I am developing a Eclipse RCP plugin which uses JPA. I tried to specify the database path via a variable give to the JVM on runtime. The property is set correctly but the database is created in a folder named after the variable name (here: ${DBHOME}). <property name="javax.persistence.jdbc.url" value="jdbc:derby:${DBHOME};create=true"/> Is there a possibility to fix this? Thx

How to see static or global variables in Eclipse CDT?

I have been trying to figure out how to display static variables in the eclipse variable window for the CDT and can't figure out how. The menu button for the CDT doesn't seem to have the java->globals menu. How do I display static/global variables in eclipse CDT debugger?

how to see docs for jsf/facelets elements in eclipse

I am using helios 3.6.2. I have an .xhtml opened with Web Page Editor <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns="" xmlns:f="" xmlns:h="" xmlns:ui="" > <f:view> <h:head> ... </h:head> when ever I hover over an element,e.g. f:

Eclipse "Unknown extension point" in plugin.xml problem

In "Contributing to Eclipse" book it is written that to introduce an extension point you should type the next section in plugin.xml <extension point="org.eclipse.contribution.junit.listeners"> <listener class="org.eclipse.contribution.junit.RunTestAction$Listener"> </listener> </extension> But this code gives me the "Unknown extension point" error".

Problem in setting workspace on eclipse 3.4.1 ganymede

I don't have totroise SVN installed at this moment on my desktop. But i have .svn folders in my projects. After importing the projects into the workspace on eclipse, there is one project for which i get the following error... The project was not built due to "Could not delete '/systemcommon/build/classes/.svn'.". Fix the problem, then try refreshing this project and building it since it may be inconsistent I am not able to delete the .svn folder from '/systemcommon/build/classes/ as it says "C

Maven project not being treated as Java in Eclipse

I'm working on a project that has lots of different Maven projects. I've been doing a bunch of JUnit testing on these projects, and usually this goes well. I open up Eclipse, right click in package explorer->Import... Existing Maven Projects and I'm able to import the project fine. I can build, drill down to src/test/java... Right click on the file and do a Run As JUnit test. Every now and then though, I can't get this to work. If I right click to do a Run As, all I get is AspectJ/Java appl

Maven-Tycho Eclipse: Error installing plug-in built by Maven

I am newbie to automating your build using Maven-Tycho. I followed the instructions on this site and did the following I downloaded the zip file with poms,extracted it and did a mvn clean install. It said "BUILD SUCCESS". I went into the -> achievements\update-site\target folder and then zipped the site folder and tried to install it as a plugin, this is giving me a error saying no software site found at jar file

build folder doesn't update in Eclipse

I have a git hub repository for a Eclipse project.When I cloned that repo to my machine, build folder dose not have any classes. So I have clean the project and rebuild it. Then the classes are appear in project folder, but Eclipse doesn't show. That project was a web service project, when I try to create that web service, following exception comes, Exception occurred while reading or writing file D:\Eclipse\Workspace\Travel_Ceylon_Web_Service\build\classes (The system cannot find the path spe

Where is the Eclipse's preferences stored locally?

I have an old Eclipse stored under '/Applications', and today I download the latest Juno and open in the Desktop, I found the Juno is able to read my current config, e.g. code formatter settings, color theme. Are these settings stored in a globally readable place? (I am using Mac OSX, and not import/export of preferences were performed.)

How can I access which files the user currently has open from an eclipse plugin?

I'm very new to eclipse plugin development, and frankly to eclipse itself. I am trying to find a way to access a list of which files are currently being worked on by the user, and possibly even more specifically, what part of these files (which class, method, block of code, etc.). I am thinking that I would like to have the plugin grab information on which files are currently open in the tabs, and then go from there, but I can't even figure out how to do this. I've been searching the eclipse do

Importing existing JSP project to Eclipse or Net Beans

I am trying to import project from some server on my localhost. I would prefer to import it in NetBeans, but Eclipse is also fine. I set up Tomcat server in NetBeans for now. Then I tried to create new Java Web project with existing source and then I go through the wizard, and when I should select Web pages folder, Web-inf content it says: "Web Pages folder overlaps Project folder." But I am not sure what kind of setup should I have there. If you maybe have some advice or video tutorial, tha

Use Eclipse JDT parser in a Java project

I have a problem integrating Eclipse JDT in a project. I added the following dependency to sbt libraryDependencies += "org.eclipse.jdt" % "core" % "3.3.0-v_771" but I get the following missing dependencies: [warn] :: org.eclipse.equinox#app;[1.0.0,2.0.0): not found [warn] :: org.eclipse.equinox#common;[3.3.0,4.0.0): not found Is there any repository or any sbt configuration I am missing?

Not able to connect to Clear case server from eclipse SCM plugin

I tried installing SCM Adapter version and version 7.0.2 with eclipse Version: 3.5.0, Version: 3.4.2 and Version: Juno Service Release 2 but no luck at all. it is getting installed successfully but while connecting getting below error Select Details>> for more information. Could not connect to Rational Clearcase. Please ensure that the proper version of ClearCase is installed with the proper patches. Consult the ClearCase SCM Adapter documentation for futher details. Provi

Eclipse understand complex ant build files

I have a quite complex ant build system comprised of many build.xml files in different folders. I want to crack on it. Is there any IDE support (in Eclipse or Intellij) for me to jump to target definitions, taskdefs' definitions, macrodefs' etc.? Besides "ant -v", any other way to ease the understanding of the flow of target execution? Thank you.

Eclipse STS Grails path issue

Sorry Grails noob here. I am using Eclipse STS for my Grails project. I get: The container 'Grails Dependencies' references non existing library '/Users/me/.grails/2.2.1/projects/myproject/plugin-classes' I check in finder and the dir /Users/me/.grails/2.2.1/projects/myproject exists, but the plugin-classes folder does not. Any ideas?

Eclipse doesn't run my project

In Eclipse I tried to run my project with Ctrl + F11 (Button Run in menu I also checked). Then coming Android Device Chooser, I choose my phone and wait my app running. But nothing happens. I checked with another project, and it works good, application was running in my phone. Why does it happen? Thanks.

How to debug Node.js programs in eclipse (using node-eclipse)?

I am very newbie to eclipse as well as the node.js is concerned. I have tried several basic programs in node.js. Now my question is there are many articles explaining how to debug the node program in eclipse. I dnt get it working. I am on windows 7 32-bit machine and installed eclipse Indigo with node-eclipse plugin installed.. Please can any body help me how to start debugging with programs. Disclaimer: I am very new to eclipse IDE, Node & this stackover flow as well, please help..

Eclipse eGit checkout conflict - can't reset

I have 2 branches: master & develop. I have been developing in "develop" and committed everything I need. What was left (application generated file: .out) I didn't care for! So when I went to switch branch, I got prompted following: I clicked "Reset" however instead of switching to the branch I got prompted the same "Checkout Conflicts" windows with exactly the same choices. I clicked "Reset" again, however above process just repeated. I clicked a while -- no help the same happens again

Eclipse Name imported modules after <name> in the pom

I am using m2e to import an existing maven project. The problem I am having has to do with the Name Template. It gives examples of different combinations of the groupId, artifactId, and version but not the <name> tag from the pom. Is m2e not able to pick up that tag?

Add icon to "About Eclipse Platform" dialog in Eclipse

If you bring up the Help -> "About Eclipse Platform" dialog in Eclipse, it displays a dialog showing the Eclipse version as well as a bunch of icons at the bottom for major features such as Eclipse itself, m2e, GWT, etc. Clicking one of those icons brings up a dialog showing the components of that feature with version information. How do I add my own icon to that row that behaves the same way as the existing icons?

Developing two related Projects in Eclipse for Tomcat

I have two projects in Eclipse. One Project is a dynamic web project which is deployed on the integrated tomcat server everytime i make changes to it (which works great). The second project is a library project which currently needs to be build with ant. The resulting .jar file needs to be copied manually to the first project's WEB-INF/lib directory and the whole project needs to be refreshed, rebuilt and the tomcat needs to be restarted. Is there a way to connect the library project to the we

JavaPOS - Epson TM-T88IV - UnsatisfiedLinkError in Eclipse

I bought an Epson TM-T88IV Thermal printer. I installed the Epson JavaPOS ADK by using the install manual. Then I added the Jar-Files from the lib Folder of the Epson JavaPOS in Eclipse and wrote a simple Program which connects to the Printer. public class MainClass { public static void main(String[] args) { //System.out.println("Ausgabe aus der main()-Methode"); POSPrinterControl113 ptr = (POSPrinterControl113)new POSPrinter(); try { //Open the

Arquillian Integration test cannot run with maven only run with eclipse IDE

I created some integration tests for testing my facade layer. I run my application on Jboss 7 server. The integration test run via eclipse IDE but when I tried to run on console with mvn clean install the following exception was shown: java.lang.RuntimeException: Could not create new instance of class org.jboss.arquillian.test.impl.EventTestRunnerAdaptor Everything works fine with IDE. I use junit. And this is my external dependency section : <dependencyManagement> <depende

Eclipse not recognising express/node

I have been using Linux for less than 24 hours, so please, if there is anymore information I should provide, do be quite specific about how to get that information. I've been trying to install Node.js, express.js and eclipse. As you can see, ubuntu does recognise both node.js and express as installed on my system (I think!) and I got the Nodeclipse-extension for eclipse, but still Eclipse doesn't seem to recognise either node.js or express (see my image below). I also want to add that the time

Searching in eclipse using Regular expression

I'm trying to search for occurrences of something in my workspace which consist s of a string, a newline character and a string again For example : INSERT( a newline here Trev P.S. : Trev is in the next line I tried using File search in eclipse with Search with Regular expression ticked on I tried INSERT( \r \n Trev But seems this isn't coz working as I'm not getting any result. Hope I'm clear with my question. Could anyone please help

Eclipse JFace TreeViewer with expansion markers "+" and "-"

I am trying to run an example on eclipse JFace to populate directory structure which involves treeview. By executing the code, I get something like this : Which is fine, directory structure is populated properly. However, as you can notice there is no way to differentiate if the current selection is a "File" or a "Directory" until I move my cursor, the TreeView then displays a ">" sort of sign to tell me if this is directory. Where as I want something more intuitive like a "+" sign to specify

Retrieving arbitrary Eclipse preferences programmatically

I am writing a plugin for Pig files. I would like to retrieve the Eclipse "file associations" preference - the one under General -> Editors -> File Associations -> File Types / Associated Editors. Once I have this preference, my plugin can know which file types are being used, and act accordingly when iterating over the workspace files (in searches and the like). I couldn't find a "directory" of preferences anywhere, nor an API that I could iterate over until I found it. Searching the file sys

How to set shortcut to a line of code in Eclipse IDE editor

I'm after a feature in eclipse that allows me to allocate a shortcut to a line (say line number 55) then go somewhere else in the same file and hit the shortcut then IDE shows me the line 55. I have used this feature in Delphi IDE. Using CNTL + number keys[1,2,...,0] a shortcut to line where the curser is will be created. This shortcut only has effect within the editor and each opened file would have its own shortcuts. Is there such a feature in eclipse? Is there any plugins out there which adds

Eclipse Running junit tests in maven ignores programmatic log4j2 setup

I have a particular JUnit test which processes a big data file and when the logging level is left on TRACE, it kills Eclipse - something to do with the console handling, which is not relevant to this question. I often switch between running all my tests using m2e, in which case I don't need any debugging log output, and running individual tests, where I want often want to see the TRACE output. To avoid the necessity of editing my log4j2.xml config every time, I coded the log4j config to incr

how to integrate .jrxml files to a project in eclipse

I have approximately 5 jrxml files and many jsp files in a project.Now i have to integrate jrxml files to a project present in eclipse. Now, how to integrate jrxml files to eclipse so that it should be directory independant (it should not be like this eg:-D:/dev/tools/jasper files/report11.jrxml)? The second question is we have to include both .jrxml and .jasper files? The third question is "if we open the project which is present in eclipse in another person PC by pasting this url (http://1

Eclipse OSGi (Kura) Plugin and Maven

I have a simple basic question. If I develop plugin for Kura in eclipse with maven, can I use dependency feature of Maven? I mean, when I use Maven for my Spring projects, I simple add dependency to pom.xml file and I can use in my project. Since I run Spring project on my local machine, dependent .jar files can be used runtime. This time, I will deploy my plugin to another device (Raspberry) , I have to put everything in the bundle .jar package. Can Maven do this or should I add dependent .jar

Can't install MobileFirst 7.1.0 studio on Eclipse Luna 4.4.2

I'm trying to install Mobile First 7.1.0 platform studio on Luna Service Release 2 (4.4.2) - 64bit as written in Mobile First requirements. My java is as following: java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) I'm trying to install from Eclipse Marketplace and after few minutes of installation I get the following error: Cannot complete the install because one or more required items could not be f

Errors when updating Eclipse IDE for Java Developers (Luna 4.4.2)

I am getting the following errors when updating Eclipse IDE for Java Developers, Version: Luna Service Release 2 (4.4.2): An error occurred while collecting items to be installed session context was:(, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). No repository found containing: osgi.bundle,javax.mail.glassfish,1.4.1.v201005082020 No repository found containing: osgi.bundle,org.aspectj.runtime.source, No repository f

Eclipse Why do I get MouseDown events from a position outside of the control's boundary?

I have a Composite containing a number of Text controls. I have attached MouseListeners to each control. What surprises me is that sometimes, when I click on a control, I get a MouseDown event from its neighbour. The Event position is outside of the control's boundary and I get no event from the other control which I thought I had clicked on. What can cause this to happen? SNIPPET Run. Press Esc to close the MessageBox. Click in field BBBB. Press Esc to close MessageBox. Click in field AAAA.

Spock script not compiling automatically in Spring MVC project which is using Eclipse IDE

I am working on a Spring based web project (Eclipse as IDE), in which we want to introduce integration testing framework using Spock. This project is based on Maven. For this purpose I have installed Greclipse plugin and converted the existing project to groovy nature. Also configured Maven to run the test classes in src/test/groovy folder, and everything working fine and all the spock tests are running fine with run "Maven test" phase. Configured the build path to compile the groovy test fi

eclipse can not debug, but run is ok

suddenly, my eclipse does not work in debug model. when click debug button, i got these error messages, and debug failed. FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) ERROR: transport error 202: gethostbyname: unknown host ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750] could anyone help, or gives some help.

Eclipse m2e does not import dependency from profile

I have come up with this simplified test case of the problem I am experiencing with the very big project I am working on. The important bit is to have some code and its dependency activated only in a specific profile. Here is the POM file to demonstrate it: <project xmlns="" xmlns:xsi="" xsi:schemaLocation=""> <modelVersion>4.0.0&l

Eclipse No such file error in System Workbench for STM32

I get an error saying fatal error: stm32l0xx_hw_conf.h: No such file or directory even though I have included stm32l0xx_hw_conf.h in the same project. How do I solve this error? Edit: The console output for this error is: Invoking: MCU GCC Compiler /home/dinesh/fmlr_bitbucket/lorawan/Projects/Multi/Applications/LoRa/MultiSensorHub/SW4STM32/Miromico-FMLR/Debug arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -mfloat-abi=soft -DHAL_OK -DSTM32L0 -DSTM32L071xx -DUSE_MIROMICO_FMLR -DUSE_HA

Eclipse How to add raido button and implementation to BasicNewFileResourceWizard

I have a file wizard that cretes css file programatically. I would like to add aditional component at the bottom like raio button or checkbox. Is there a way to add it here and its basic implementation. Or should I go with custom wizard creation? public class MyNewFileWizard extends BasicNewFileResourceWizard { WizardNewFileCreationPage mainPage; public static final String WIZARD_ID = "ui.wizard.MyNewFileWizard"; public MyNewFileWizard() { super(); } @Override public void a

  1    2   3   4   5   6  ... 下一页 最后一页 共 151 页