eclipse

Prepared eclipse with famous plugins / known good configurations

Hi, ive just set up my machine from scratch and was wondering if there are any open available ready to use eclipse versions (3.5 preferred) which have already installed famous (most used) plugins like subversion support, maven, pmd, checkstyle findbugs etc. Would save me time setting it up myself. thx, kuku ...

Eclipse with JSR 250 (annotation) yields "Access Restriction" errors.

Hi, Hopefully someone has come across this before. I'm running Spring STS 2.3.0 and when attempting to use the @Resource annotation from javax.annotations.Resource I get "Access restriction: The type Resource is not accessible due to restriction on required library". I'm using the JDK 6u18. I've tried changing the JDK Compliance to 1.5...

How can I start an OSGI bundle at runtime?

I need to wait to start a bundle during the execution of another bundle, is this possible? ...

How to setup Eclipse PDT on a bare Windows box?

I have installed Eclipse PDT All-In-One and nothing works (I can edit PHP source but cannot execute any PHP Scripts). Do I also need to install my own PHP interpreter? Do I need XAMPP? WAMP? Cygwin? XDebug? Zend? I'm looking for the smallest amount of stuff that I need to install to get a working PHP IDE, starting with an empty install...

How to debug Java code when using ANT script in Eclipse

Hi, I have a java class and I need to debug it (put breakpoints and continue using F6). I am using ANT script to init, build, deploy and run the code. I am using: <javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true" debuglevel="lines,vars,source"> .......... </javac> But when I place the breakpoint in a line in my foo.j...

Can you publish a .war directly from eclipse to a web server

Can you publish a .war directly from eclipse to a web server. I know it's not a programming question, but I still think it's a relevant question. Thanks ...

Can I use XText for a DSL involving an XML file type?

I have defined a small DSL that is mostly written in the form of different types of XML files in conjuction with some property files. This works very well but I wish to create an Eclipse Editor to make editing these files easier for beginners (I already have a working parser). The main XML file can reference some items from the .propert...

Getting javadoc for Google Wave robot programming in Eclipse

Hey, Does anyone know how I can get the helpful Eclipse popups with javadoc when programming for the Google Wave Robots API? I have access to the JAR-file, the HTML Javadoc, as well as the source files from here How do I set up eclipse so I get javadoc integrated? I have tried adding the source files, but things just get "messy" ...

Eclipse UML2 Tools - Sequence diagram

Hi all, I have spent at least 2 weeks now trying to find out how to do something really simple on UML2Tools but i just cant figure it out. I even posted at the Eclipse newsgroups but for some reason not even one response so hopefully somebody here can help. I am using UML2Tools in eclipse and trying to create a sequence diagram. My pro...

Reformat code style in Eclipse

Hi, I'm looking for an automatic way in eclipse to reformat curly braces to K&R style, eliminating braces for single statements if, etc. Is there such a way? Thanks. ...

How do I programmatically run all the JUnit tests in my Java application?

From Eclipse I can easily run all the JUnit tests in my application. I would like to be able to run the tests on target systems from the application jar, without Eclipse (or Ant or Maven or any other development tool). I can see how to run a specific test or suite from the command line. I could manually create a suite listing all the ...

Undefined Reference Problem in Eclipse

Hello, I am using Eclipse Galileo 3.5 with CDT 6.0 I am having a problem in including the header files located in c:\cs106 ... I searched on google and found that I have to go to Project Properties > C/C++ General > Paths and Symbols and in GNU C++ I have added the path c:\cs106 And eclipse is able to find them now but the other probl...

Can't Install ADT. org.eclipse.wst.xml.ui is missing

I am having trouble getting the Android Development Tools to install. I overcame one error involving the GEF. I now have a new error. Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be...

Eclipse’s Ctrl+click does not work and indexer does not seem to update?

I am running Eclipse IDE for C/C++ Developers (Ganymede) and I have recently encountered a problem with it. I can no longer get Ctrl+click navigation to work! I went to my project and tried to rebuild the index, but the rebuild command of the indexer does not work either. I did not do anything to my knowledge that may have caused this...

Error during Tomcat startup in Eclipse

I am developing a small struts2 application. Suddenly I am getting the following error in eclipse during Tomcat startup. Mar 10, 2010 7:17:03 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter struts2 Class: java.net.PlainSocketImpl File: PlainSocketImpl.java Method: connect Line: 177 - java/net/Pl...

How to make a new eclipse project template?

I am using a kind of framework where every time I make a new java project, I have to arrange the files in the appropriate packages and reference the appropriate external jar libraries. So now I am asking on how to make a new project template like in the New Project dialog under a new folder. ...

In Windows, where should the eclipse folder be placed?

I'm running Windows 7 with UAC enabled. I've always found it weird that Eclipse doesn't use an installer and doesn't use the AppData folder to store its data in Windows, but lately I've had to reinstall it a couple times (hard drive problems) and I've been wondering if I am really putting it in the best place. I copy the eclipse folder ...

Getting a Class from another project programatically

hi, I want to access a class which is present in another project . For that i use java reflections,but first i need to get the class object which is in another project.I want to get it programatically.I can do that like right click on my project then go to build configure path and then to project tab and add project.I want to do it pr...

Windows 7 Seems to break SWT Control.print(GC)

A bug has been filed and fixed (super quickly) in SWT: https://bugs.eclipse.org/bugs/show_bug.cgi?id=305294 Just to preface this, my goal here is to print the two images into a canvas so that I can animate the canvas sliding across the screen (think iPhone), sliding the controls themselves was too CPU intensive, so this was a good alter...

Preview-effect in Eclipse plug-in

Hi! I'm trying to achieve a preview effect sort of in an Eclipse plug-in I am developing. I tried using a tooltip but there's no scrolling and the tooltip disappears after some seconds and I don't want that. Eclipse displays something like this when hovering above a method. How can I achieve a similar effect? Would it be a shell wit...