Skip to content

developing the java component #123

@bryantChhun

Description

@bryantChhun

Simple question that might be useful for others:

Because pycro-manager and micro-manager are separate repositories, how does one develop and test pycro-manager on the java side?

The Java component appears to have modules (remote and internal.zmq) that are added to the Studio. So I assume that running micro-manager from IDE (IntelliJ) in debug mode needs to include files from both repos during compilation of the Studio.

I can add both sources to the project, but run into the following error:

java.io.FileNotFoundException: /Applications/Micro-Manager-2.0.0-gamma1-20200914/plugins (Is a directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at java.io.FileInputStream.<init>(FileInputStream.java:93)
	at org.micromanager.internal.zmq.ZMQUtil.getPackagesFromJars(ZMQUtil.java:399)
	at org.micromanager.internal.zmq.ZMQServer.<init>(ZMQServer.java:75)
	at org.micromanager.internal.MMStudio.runZMQServer(MMStudio.java:941)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions