eclipse

How to reset python interpreters in PyDev?

半腔热情 提交于 2021-02-11 12:33:34
问题 I saved two python interpreters in PyDev a year ago or so. Since then I've uninstalled those interpreters from my system (they were python 2.7) and installed a new one python 3.6. Every time I restarts eclipse, PyDev loads my old interpreters. Then I have to go into the settings, remove then, apply and save, then add the new interpreter. Adding a new interpreter takes around 10 minutes because it needs to update the PYTHONPATH and load all modules. During this 10 minutes, I'm unable to use

How to save a drawing made with java graphics as a independent object

别等时光非礼了梦想. 提交于 2021-02-11 12:20:25
问题 my problem is that I need to save the things that I draw with java graphics as independent objects, to later recolor them, erase them indepently... Here is my eclipse project for you to import. (The main class is the Paint class) This is the method I use to draw: protected void paintComponent(Graphics g) { if (imagen == null) { imagen = createImage(getSize().width, getSize().height); graficos = (Graphics2D) imagen.getGraphics(); graficos.setRenderingHint(RenderingHints.KEY_ANTIALIASING,

Ldap Apache Directory Studio can not open Root DSE in osx big sur

心已入冬 提交于 2021-02-11 12:19:31
问题 After upgrading my macOsx version to Big Sur(11.1) I am facing weird issue. When I connect the LDAP server I see all information except the DSE root tree not expanding and can not perform any operation for example search/filter. Here its looks like I got the following error message : java.lang.NullPointerException (Hexdump: 30 7E 02 01 06 65 07 0A 01 00 04 00 04 00 A0 70 30 6E 04 17 31 2E 33 2E 36 2E 31 2E 34 2E 31 2E 32 36 30 32 37 2E 31 2E 35 2E 34 01 01 FF 04 50 30 4E 04 4C 64 63 3D 70 6F

How to make a Eclipse plug-in deployable in many Eclipse versions?

别来无恙 提交于 2021-02-11 10:12:51
问题 I wrote my own Eclipse plug-in for Eclipse Oxygen 3a. It works perfectly in Eclipse Oxygen 3a. Now I'm being required to deploy the same plug-in in newer versions of Eclipse, but when the plug-in is being installed in, for instance, Eclipse Photon, the install window says: Cannot perform operation. Computing alternate solutions, may take a while: ... It indeed takes a long while and ends up saying that my plug-in will not be installed. What to do to make this plug-in workable to more than one

How to make a Eclipse plug-in deployable in many Eclipse versions?

左心房为你撑大大i 提交于 2021-02-11 10:10:52
问题 I wrote my own Eclipse plug-in for Eclipse Oxygen 3a. It works perfectly in Eclipse Oxygen 3a. Now I'm being required to deploy the same plug-in in newer versions of Eclipse, but when the plug-in is being installed in, for instance, Eclipse Photon, the install window says: Cannot perform operation. Computing alternate solutions, may take a while: ... It indeed takes a long while and ends up saying that my plug-in will not be installed. What to do to make this plug-in workable to more than one

How to make a Eclipse plug-in deployable in many Eclipse versions?

我们两清 提交于 2021-02-11 10:08:22
问题 I wrote my own Eclipse plug-in for Eclipse Oxygen 3a. It works perfectly in Eclipse Oxygen 3a. Now I'm being required to deploy the same plug-in in newer versions of Eclipse, but when the plug-in is being installed in, for instance, Eclipse Photon, the install window says: Cannot perform operation. Computing alternate solutions, may take a while: ... It indeed takes a long while and ends up saying that my plug-in will not be installed. What to do to make this plug-in workable to more than one

updating embedded jetty webapp in eclipse during run

半世苍凉 提交于 2021-02-11 08:54:54
问题 we have a maven generated webapp that runs in an embedded jetty server all stuffed into a fat jar. This seems to work fine but our UI developer is unhappy because when doing his UI stuff he wants to make changes to his code and not have to restart the webapp to have it show up. It was working like that before I did all the jar stuff. we have a resources section in the pom that looks like this: <resources> <resource> <directory>src/main/resources</directory> </resource> <resource> <directory

Windows-mqtt本机broker构建

北慕城南 提交于 2021-02-11 08:31:49
注:仅仅作为个人笔记所用。 一、下载 apache-apollo-1.7.1-windows-distro.zip 这个压缩包,官网的我没找着,这里有个:http://archive.apache.org/dist/activemq/activemq-apollo/1.7.1/?C=N;O=A 二、解压缩之后,Windows + cmd 一直 cd 到 apache-apollo-1.7.1 文件夹下的 bin 文件夹,输入命令 apollo.cmd create mybroker,回车,这里的 mybroker 是在这个 bin 目录下新建文件夹的文件名。 如上图,mybroker 一开始是没有的。 三、cd 到 mybroker 的 bin 目录下,输入命令 apollo-broker.cmd run,回车。 备注:这里我测试时用的是 mqtt-client 的 api 写的。主要的参考网址:https://www.cnblogs.com/chenrunlin/p/5109028.html。有一点需要特别注意的是,这个broker Java 的 10.0.2 的版本是运行不起来的,Java 1.8 版本是 OK 的。 下面是 copy 上述网址的代码。 client: package maven_test.mqtt_test; // import java.util

In Eclipse, Eclemma coverage view not being shown

送分小仙女□ 提交于 2021-02-10 21:30:23
问题 I have just installed Eclemma in my eclipse and created a JUnit test to be covered. I runned the test and it succeeded, green and red banners shown in my program, but I can't see any "coverage" view like the instruction shown ( nor in Window-Show View). How can I resolve this problem? Do I have to re-write my JUnit test or re-install EclEmma? Thanks! 回答1: Window -> Show View -> Other -> select coverage / type coverage. You will see the java code coverage. 来源: https://stackoverflow.com

pom.xml marks “Missing artifact com.sun:tools:jar:1.8.0”

一世执手 提交于 2021-02-10 21:21:25
问题 I am trying to develop with Eclipse 2020.6 and m2e using openJDK-11 on Win10 . The computer is maintained by IT department having jre-8 in its PATH and I dot have the rights to change that. I have installed JDK11 below my user folder. Changed eclipse.ini for Eclipse and toolchain.xml for commandline Maven . I also checked Module Dependencies in Java Build Path : com.sun.tools.jar is no longer there. Commandline Maven and Eclipse are using JDK11 instead of jre-8 , except the eclipse-editor for