jdeschamps / EMU

A Micro-Manager plugin that loads easily reconfigurable user interfaces.
https://jdeschamps.github.io/EMU-guide/
Other
11 stars 2 forks source link

FAIL in follow the EMU Building tutorial. #18

Closed yichun463 closed 3 years ago

yichun463 commented 3 years ago

Hi there, I could not find the EMU-1.0-SNAPSHOT.jar, which is mentioned in the tutorial , after compiling EMU into MicroManager 2.0 gamma by git bash.

jdeschamps commented 3 years ago

Hi!

I updated the EMU-guide and tutorial: EMU is distributed with Micro-Manager 2.0.0-gamma nightly builds, so you can just download a recent nightly build and use the EMU.jar file from the Micro-Manager installation folder (in mmplugins).

Regarding your question, what is the console output when you compile EMU?

The maven compilation creates something like EMU-1.1.jar in your local EMU git repository under "target". The compilation script just copies this file to the Micro-Manager installation folder. If the script fails but the compilation doesn't, then you can just copy the EMU jar to Micro-Manager.

jdeschamps commented 3 years ago

Any luck?

yichun463 commented 3 years ago

sorry that replied late and thanks for your update! this problems have been always encountered image after I follow the 7th step. image nothing is displayed when I switch to design tag. image image

I guess the errors above account for this. I will appreciate it if you can help me !

jdeschamps commented 3 years ago

From your screen shots it seems Eclipse has somewhat not updated your project. You clearly have the abstract methods implemented, and yet it pretends in the "Problems" tab that they are not.

The first thing I woud try is just to go to "Project" in the menu bar and click on "clean". Also make sure that "Build automatically" is selected (also in "Project"). You can also try right-clicking on your project in the package explorer and click on refresh.

For reference I tried with a recent Eclipse version and the latest nightly build and could not reproduce this, but I'd put my two cents on your Eclipse not refreshing your project's status.

jdeschamps commented 3 years ago

Alright, good that it's solved. I will then close this issue.

Let me know if there are other troubles, or if you liked the tutorial!