eclipse

No code completion in XML code within fully qualified tag

Why does code within a fully qualified tag lack auto-completion in Eclipse? For example, within the following code (where the comment is) nothing I type is provided auto completion for member names / tag names. <android.gesture.GestureOverlayView android:id="@+id/gesturePage01" android:layout_width="fill_parent" android:layout...

Javadoc on Android (Eclipse)

I am trying to generate Javadoc html pages for my Android project in Eclipse. I have tried using the -linkoffline argument, as suggested here, as well as using the -classpath argument pointing to my android.jar file. Neither of these worked, as I still get package android.app does not exist (and other) warnings. I have also tried running...

modify model istance

What is the best way to modify programmatically (add or delete information) a model conforming to a metamodel conforms to Ecore? ...

What regex to use for replacing lines in a xml file

I have a large number of records of the following type, which I have to modify I would like to remove the created_by="29" line without leaving a space. Note: A wild card inside the created_by value would be preferable I would like to remove the entire line creation_date="..." and the /> greater should move after state="1"/> Insert a ne...

how to know the path,where the errors and warnings are stored in eclipse

I have a doubt related to errors and warnings ........ For example i wrote a simple code in c (eclipse IDE) then i compiled. i got some errors and warnings in problem tab.This is the scenerio just think like this. My doubt is where is errors and warnings are stored (in my computer) file.I want to know location of the file (which inclu...

How can I share resources between the different Eclipse projects, so as to avoid duplication ?

I have 2 android applications that share 95% of their resources, layouts, strings etc. only a few jpg's are different. How can I share resources between the different Eclipse Android projects, so as to avoid resource duplication ? ...

How to create a local P2 respository and add it to eclipse?

I have a few OSGI bundles that I would like to store in a local P2 repository. I have followed this guide: https://docs.sonatype.org/display/TYCHO/How+to+make+existing+OSGi+bundles+consumable+by+Tycho to use eclipsec.exe to convert the folder with bundles into a P2 repository. The resulting structure is like this: c:\test\repo c:\tes...

Code Style in eclipse

Is there a way to enforce a code style programatically in eclipse e.g. using eclipse plugins. I have created a code template. I want to enforce it so that everytime a user selects save or saveas,the code template is checked against the one I created. If it matches the file is saved otherwise the user gets an error message. The problem ...

Eclipse - Setting .classpath file for existing project

I have a java project. The working folder from someone else's Eclipse project (It was a Repast Simphony project I think). In my eclipse I created a new Java project and told it to use the existing code. So it seems to have brought in all the code. However after loading the project I get this error: Project 'My Project' is missing re...

java: using external library

Hello, I would like to use an external library (e.g. google's guava) for my java program. I use eclipse IDE, so I downloaded guava's jar (and sourced) and followed http://www.vogella.de/articles/Eclipse/article.html#classpath_jar to add it to eclipse and to the builpath of my project. This works fine: I can run the program from eclipse ...

How to activate "go to definition" in Eclipse for inherited class property

I have a base class (lets call it A) and I have inheriting Class (lets call it AA). In a different abstract class I have: abstract class DifferentClass{ /** *@var A */ protected MyA; } In a more different class: class MoreDifferent extends DifferentClass{ public function __construct(){ $this->MyA = new AA; } } My prob...

Android Emulator Stuck Equals (=) Phantom Keypress

For some reason, and only on my Dell Vostro 1000 laptop, the Android emulator keeps thinking I have the = key pressed and continually emits a string of "=====" equal signs. This happens no matter what I'm doing in the emulator. It responds to my manual keypresses as well, interspersing them. It happens no matter which version of the A...

I get a timeout when i try to install Android app through Eclipse ADT

Whenever i try to install an Android app on my HTC device via the Eclipse ADT i get: [2010-07-27 15:33:20 - Touch] Failed to upload Touch.apk on device '' [2010-07-27 15:33:20 - Touch] java.io.IOException: Unable to upload file: timeout [2010-07-27 15:33:20 - Touch] Launch canceled! I am running on Ubuntu 8.04 in vmware (on a Vista sys...

question about eclipse usage

i have install GWT plugin in eclipse and how run following code?i am new and dont know can anybody show me graphicaly? http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsClient.html#hello ...

Help using MINA with Eclipse - Newbie question

Hello, Java newbie here. I've downloaded the JAVA Eclipse IDE and started learning Java. I have a good experience with PHP, C, C++ and AS3 programming languages so the concep of OOP is known to me, now I've decided to learn and use Java. I'd like to test some examples of Apache's MINA framework but I still can't figure out how to set u...

best way to configure Springsource Tool Suit (STS, eclipse) to work with grails

I am looking to the best way to configure eclipse or STS to work right with Grails. I am working with the 2.3.2 version. I have tried to set classpath the right way installing this plugin: http://grails.org/plugin/eclipse-scripts Also this awnser. But I am having several issues: Autocomplete doesn't work, it shows this message when ...

Eclipse org.eclipse.wst.common.component file re-written during 'mvn clean'

Hi I have manually configured my org.eclipse.wst.common.component to deploy my web-app via Eclipse WTP from my project's target directory (so my deployment includes the result of JSP pre-compilation). But now every time I run an "mvn clean" build (command-line or in M2Eclipse, the file reverts to a previous state. Anyone know why this...

Download GWT plugins for eclipse without using eclipse Instaqll new softeware

Is this possible to download GWT plugins for eclipse separately ( without downloading with eclipse directly ) ? because i need to install it on multiple eclipse on multiple pc and I want to archive it for future needs. I want to paste it in dropins folder in eclipse later. Regards ...

exporting installed plugins from eclipse to another

Dear all, How to export installed plugins from eclipse? I want to use some of my installed plugins in another eclipse machine. I don't want to download those again. Regards ...

Is there anything like Eclipse Perspective in Visual Studio?

Hello, I was wondering if there's anything like Eclipse Perspectives in Visual Studio (2008 or 2010). For those unfamiliar with Eclipse, here's a definition of Perspectives: A perspective is a visual container for a set of views and editors (parts). These parts exist wholly within the perspective and are not shared. A per...