eclipse-luna

Android Support Library v17

☆樱花仙子☆ 提交于 2019-12-04 07:57:20
I just downloaded Eclipse 4.4 Luna and installed the latest ADT 20 on it. Now, new templates for new Android Project are included. One of them is "Android TV Activity". The existing code uses Android Support Library v17!! import android.content.Context; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.support.v17.leanback.widget.ImageCardView; import android.support.v17.leanback.widget.Presenter; import android.util.Log; import android.view.View; import android.view.ViewGroup; But I cannot find the new

Eclipse gives: “An API baseline has not been set for the current work space.” error

一曲冷凌霜 提交于 2019-12-04 00:26:34
问题 I am using Eclipse Luna. After updating my sandbox, I started getting the following error message in multiple modules. Should I add an API baseline or just have the Eclipse ignore it? 回答1: My issue was resolved. Turns out I did not need the API baseline after all. For the ones who might be curious how to disable this error message (Eclipse Luna): Windows -> Preferences -> Plug-in Development -> API Baselines Under Options find Missing API baseline -> If Error is selected change it to Warning

Cannot install Cobertura plugin for Eclipse

非 Y 不嫁゛ 提交于 2019-12-03 22:13:33
I am getting following error message when I tried to install cobertura plugin in eclipse kepler (java/j2ee version) through eclipse market place. Cannot complete the install because one or more required items could not be found. Software being installed: eCobertura 0.9.8.201007202152 (ecobertura.feature.group 0.9.8.201007202152) Missing requirement: eCobertura 0.9.8.201007202152 (ecobertura.feature.group 0.9.8.201007202152) requires 'org.junit4 0.0.0' but it could not be found I was able to get eCobertura to install by copying over the junit plugin subdirectories from a previous version of

Lombok and STS issue - Method undefined

末鹿安然 提交于 2019-12-03 12:41:26
I have STS versioned 3.6.3.SR1 that's based on Eclipse Luna 4.4.1. I have did the following steps: 1) Donwload and run the lombak runnable jar and gave the path of my STS. 2) I verified the entries of vmargs, but was missing Xbootclasspath and added it to have like, -vmargs -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Dorg.eclipse.swt.browser.IEVersion=10001 -Xms512m -Xmx1024m -javaagent:C:\tools\Lombok\lombok.jar -Xbootclasspath/a:C:\tools\Lombok\lombok.jar 3) I have exit and opened the STS both from shortcut as well as the absoulte location of the STS.exe 4) I verified the outline of

How to profile a Java web application servlet call in Eclipse EE Luna

杀马特。学长 韩版系。学妹 提交于 2019-12-03 11:16:50
问题 In my web application a servlet needs multiple seconds even before it starts to write the response. I would like to find out, which methods are called during servlet execution and what time each method takes. Is there a profiler already included in the Luna release of Eclipse IDE for Java EE Developers ? How do I activate it? There is a lot information available on the web, but it seams names change all the time so I have difficulties to filter the relevant. 回答1: JVM Monitor 3.8 works fine

Getting “Project facet Java version 1.8 is not supported.” in Eclipse Luna

北城以北 提交于 2019-12-03 06:36:49
问题 I am using up-to-date Eclipse Luna which should be ready for Java 8. However when I choose to create a new server with Tomcat 7 and click Next, in the Add and Remove screen I can't move my project because "Project facet Java version 1.8 is not supported." What is the problem and how can I fix this? 回答1: I solved the problem. Go to Project Properties -> Project Facets -> Runtime -> New -> Add a tomcat server and in JRE select JRE1.8.0_XX. Did the work for me 回答2: In eclipse you can change the

How to profile a Java web application servlet call in Eclipse EE Luna

时光总嘲笑我的痴心妄想 提交于 2019-12-03 02:49:38
In my web application a servlet needs multiple seconds even before it starts to write the response. I would like to find out, which methods are called during servlet execution and what time each method takes. Is there a profiler already included in the Luna release of Eclipse IDE for Java EE Developers ? How do I activate it? There is a lot information available on the web, but it seams names change all the time so I have difficulties to filter the relevant. JanM JVM Monitor 3.8 works fine with Eclipse Luna and it is also quite simple to use. download and install from eclipse marketplace

Getting “Project facet Java version 1.8 is not supported.” in Eclipse Luna

别说谁变了你拦得住时间么 提交于 2019-12-02 20:14:20
I am using up-to-date Eclipse Luna which should be ready for Java 8. However when I choose to create a new server with Tomcat 7 and click Next, in the Add and Remove screen I can't move my project because "Project facet Java version 1.8 is not supported." What is the problem and how can I fix this? I solved the problem. Go to Project Properties -> Project Facets -> Runtime -> New -> Add a tomcat server and in JRE select JRE1.8.0_XX. Did the work for me In eclipse you can change the java version from your tomcat, see picture: vincent zhang That is because you just changed your JRE location in

Eclipse Luna: Handlers' @CanExecute methods not called due to wrong context

点点圈 提交于 2019-12-02 15:23:30
问题 I upgraded my eclipse RCP application from Juno to Luna. This caused my application toolbar to be permenantly disabled. I found a solution in this thread: Eclipse Luna: Handlers' @CanExecute methods not called (Solution: generate event manually). But alas, the cure didn't work :-(. I drilled down with the debugger to find the root cause of failure. I found that in HandlerServiceHandler.class the method setEnabled(Object evaluationContext) fails. This is due to the extraction of the wrong

Type Inference Compiler Error In Eclipse with Java8 but not with Java7 [duplicate]

喜欢而已 提交于 2019-12-01 20:40:10
This question already has an answer here: Java 8 - converting an Integer to a long compilation issue 2 answers Differences in type inference JDK8 javac/Eclipse Luna? 2 answers The below piece of code doesn't compile in Eclipse Luna with jdk 1.8.0_05. Eclipse compiler says : Type mismatch: cannot convert from Integer to long It though compiles in Luna with jdk 1.7 and also compiles using jdk 1.8 when invoked from command line. Can anyone help me identify what could be wrong? Eclipse JDK? The code works in : http://www.tryjava8.com/ public class TestJava8Issue { public static final int CORE_POOL