Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
build/
out/
target/

# Micro-Manager java layer, supplied locally per how-to-build.md
lib/*.jar
8 changes: 8 additions & 0 deletions how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ LightSheetManager can be built with maven

To do so, `MMJ_.jar`, which contains the code for the Micro-Manager java layer, must be copied into `LightSheetManager/lib/MMJ_.jar`

Copy it from your Micro-Manager 2.0 installation, where it ships as part of the application:

```
C:\Program Files\Micro-Manager-2.0\plugins\Micro-Manager\MMJ_.jar
```

The jar is not tracked by this repository, so it is not updated for you. Copy it again after upgrading Micro-Manager, or the plugin will be built against an older java layer than the one it runs in. A Micro-Manager 1.4 installation also contains an `MMJ_.jar`; it is a different artifact and will not work here.

To build, run `mvn clean package` from the `LightSheetManager`. The resultant jar will be available in the `LightSheetManager/target` folder, and then must be manually copied into the `Micro-manager/mmplugins`. Currently, the automated tests are throwing an error. In the case the tests can be skipped adnt the plugin built with `mvn clean package -Dmaven.test.skip`.

Doing this requires having Maven installed. Most IDEs have a Maven plugin that can accomplish the same thing as the manual way above.
Binary file removed lib/MMJ_.jar
Binary file not shown.
Loading