Custom build of MMStudio plugin

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Custom build of MMStudio plugin

KrisJanssen
Hi guys,

A rather urgent request on my part:

For an internal project, I would like to add a custom field to the MultiD
dialog.

To do so, I followed the basic 'building MM' instructions in NetBeans:

https://micro-manager.org/wiki/Using_Netbeans

Debugging, my modifications work flawlessly: ImageJ and the MMStudio Plugin
launch perfectly.

However, when I attempt to drop my custom MMJ_.jar into an installation
folder (regular users should not need to launch through the debugger), the
plugin shows up in the ImageJ Menu but does not launch the MMStudio UI.

Why is that? What is missing in the instructions to enable this?



--
Sent from: http://micro-manager.3463995.n2.nabble.com/


_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|

Re: Custom build of MMStudio plugin

Stuurman, Nico
Hi Kris,

> For an internal project, I would like to add a custom field to the MultiD
> dialog.
>
> To do so, I followed the basic 'building MM' instructions in NetBeans:
>
> https://micro-manager.org/wiki/Using_Netbeans
>
> Debugging, my modifications work flawlessly: ImageJ and the MMStudio Plugin
> launch perfectly.
>
> However, when I attempt to drop my custom MMJ_.jar into an installation
> folder (regular users should not need to launch through the debugger), the
> plugin shows up in the ImageJ Menu but does not launch the MMStudio UI.
>
> Why is that? What is missing in the instructions to enable this?

There are many possible reasons, so it would be goo to look at output of
the application. B.t.w., those instructions do not say anything about
deployment, it only mentions debugging from the IDE.
Does it create a Corelog file and does that contain information about
the problem?

Is this for MM 1.4, 2.0 beta or 2.0 gamma?  If 1.4 or 2.0-beta, is all
the code contained in MMJ_.jar compiled for Java 6 (rather than Java 8)?

Does your code use other 3rdparty jars and are those all accessible to
the running code?

How do you build the MMJ_.jar (I am not sure if the version that
Netbeans builds is useful, as it seems to include not only the
Micro-Manager source, but also the plugins).  On Windows you can build
using ant, on Unix use make.

Best,

Nico


_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general