Questions tagged "eclipse" (page No.1)

How do you point an eclipse project to a specific AVD?

I've looked at the android documentation, there is nothing about changing which virtual device any one project uses. ...

Writing an XSD schema to validate any XML file as valid

I'm often getting the warning in Eclipse: No grammar constraints (DTD or XML schema) detected for the document: logback.xml Because of Logback's configuration file "flexibility" no validation schema is possible. Thus, as a way of getting around the issue altogether, is there an XSD available on the internet that validates any ...

How to automatically generate UML sequence diagrams from Eclipse PHP code?

Is there a way / tool to automatically generate sequence diagrams from Eclipse PHP code? I have added the UMLet plugin, but I now think it is a drawing tool which will not automatically generate the diagrams. ...

Eclipse for android: Issues with R

I am trying to do a location app and am in the trouble shooting phase right now. I am down to my last two problems and they both relate to R. blah blah. It says main is either not a field or cannot be resolved and the same ...

Error: type parameters of <T>T cannot be determined during Maven Install

I have this function throwing weird error when I try to do a "mvn install" public <T> T get(final AN_ENUM key) { return some_map.get(key); } This is the line where I get the error final int value = get(AN_ENUM.A_FIELD); And this is the error in maven: XXX.java:[25,41] type parameters of <T>T cannot be ...

Ternary statement breaking out of contructor

I am writing a vertices class for an android project within Eclipse and within the constructor I am having a run-time bug. Here is the constructor... public Vertices(GLGraphics glGraphics, int maxVertices, int maxIndices, boolean hasColor, boolean hasTexCoords) { this.glGraphics = glGraphics; this.hasColor = hasColor; ...

Eclipse gets NullPointerException when selecting an Android Build as a Build Target for Android Test Project

I'm trying to create a new Android Test Project, and when I get to the point where you select a Build Target, I pick Android 2.2 (but this goes for any Android version I pick). I get a NPE, and then the project won't work. I check the build path ...

Eclipse P2 - touchpoint for the collect action is not included

I keep getting this error in my RCP application any time I try to install the Eclipse Platform Launchers feature in my rcp app. Feature id I'm installing: org.eclipse.equinox.executable.feature.group 3.5.1.v20111216-1653-7P7NFUIFIbaUcU77s0KQWHw5HZTZ !ENTRY org.eclipse.equinox.p2.engine 4 4 2012-07-31 14:59:58.501 !MESSAGE An error occurred while collecting items to be installed !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2012-07-31 14:59:58.501 !MESSAGE session ...

Add custom column to Eclipse Problems View

I am creating an Eclipse Plugin. I want to add a column to the Eclipse Problem view that allows me to select from a drop down menu of preset selections. How would I go about adding this functionality? I would like to add it to the current Eclipse Problems View ...

Struts Development in Eclipse IDE

friends So for i'm using Netbeans IDE for Developing Java Applications.. i'm very much familiar to latest verson 7.1... Now i want use Eclipse IDE, i downloaded Eclipse IDE for Java-EE Developer.. But i want add struts and Hibernate Plugins for Eclipse IDE..i want to get support from Eclipse auto generated code like ...

UnsupportedClassVersionError java

I have been using Eclipse with jre 1.7.x and jdk 1.7.x before and I had to downgrade to 1.6x. The way that I downgraded was to uninstall all the 1.7 related from my computer and install 1.6 again. Now, when I try to debug, I am getting `java.lang.UnsupportedClassVersionError: MyClass: Unsupported major.minor version ...

jpa/eclipselink getting data error

I want to do get data from sql server database so I use to jdbc driver and eclipselink orm framework.I have some problem.This is my example, public static void main(String[] args) { EntityManager entityManager = ...

Eclipse can't see Java SE 7 directory structure (and neither can I) after install on OSX 10.7.4

I recently installed Java SE Development Kit 7u5 on my Mac running Lion version 10.7.4. At install the I take the only installation option available which is to install for all users on this computer. I've tried following several guides in order to get it set up properly with Eclipse but ...

Using Eclipse With VirtualEnv On Existing Project

Here's my situation: I want to use Eclipse + PyDev to develop Python. The code was not original developed using PyDev. The code contains nested packages. The code uses virtualenv to simulate the work environment. All of the dependencies were installed using pip within the virtual environment. Eclipse needs to use the virtual environment's interpreter, pep8 ...

How to run method in object - beginner

I'm attempting to learn Scala coming from a Java background. Should the below program run ? When I right click on the file Functional an option to run the file is not displayed. What do I need to change to run the method Timer.run? I'm using the Eclipse3.7 & Scala plugin ...

System.out.println repeating itself

Would anyone point me in the right direction, of why when i use a for loop the println function comes up two times in the output. Thanks public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("Enter the number of employees to calculate:"); ...

release android test project in eclipse

Hi I'm working on an android app in eclipse. I create the android project with the test project. I worked on the android test. Now the main project folder haven't classes and files. There is only the manifest. How can release and convert the test project into the main project? ...

Application only works correctly on first run

A few days ago, I began working on my first Android game. I opted to use OpenGL ES 2.0 since it was the most familiar alternative. However, I am currently unable to test the game on a real device, so I decided to use AVD instead, using a 4.0.3 virtual ...

« Previous12345678910 ... 15231524Next »Show All