make fetchdeps error

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

make fetchdeps error

Matt Cottrell
On OS X (0.11.6) I’m getting the following error from ‘make fetchdeps’

Is this simply the result of broken url links?

Thanks,
Matt

[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: #ij3d-bin;
[ivy:resolve] ==== central: tried
[ivy:resolve]  http://repo1.maven.org/maven2//ij3d-bin//ij3d-bin-.pom
[ivy:resolve]  -- artifact #ij3d-bin;!ij3d-bin.jar:
[ivy:resolve]  http://repo1.maven.org/maven2//ij3d-bin//ij3d-bin-.jar
[ivy:resolve] ==== imagej-net: tried
[ivy:resolve]  http://maven.imagej.net/content/groups/public//ij3d-bin//ij3d-bin-.pom
[ivy:resolve]  -- artifact #ij3d-bin;!ij3d-bin.jar:
[ivy:resolve]  http://maven.imagej.net/content/groups/public//ij3d-bin//ij3d-bin-.jar
[ivy:resolve] ==== thirdpartypublic: tried
[ivy:resolve]  -- artifact #ij3d-bin;!ij3d-bin.jar:
[ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdpartypublic/classext/ij3d-bin.jar
[ivy:resolve] ==== thirdpartynonfree: tried
[ivy:resolve]  -- artifact #ij3d-bin;!ij3d-bin.jar:
[ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdparty/classext/ij3d-bin.jar
[ivy:resolve] module not found: #ima3d_;
[ivy:resolve] ==== central: tried
[ivy:resolve]  http://repo1.maven.org/maven2//ima3d_//ima3d_-.pom
[ivy:resolve]  -- artifact #ima3d_;!ima3d_.jar:
[ivy:resolve]  http://repo1.maven.org/maven2//ima3d_//ima3d_-.jar
[ivy:resolve] ==== imagej-net: tried
[ivy:resolve]  http://maven.imagej.net/content/groups/public//ima3d_//ima3d_-.pom
[ivy:resolve]  -- artifact #ima3d_;!ima3d_.jar:
[ivy:resolve]  http://maven.imagej.net/content/groups/public//ima3d_//ima3d_-.jar
[ivy:resolve] ==== thirdpartypublic: tried
[ivy:resolve]  -- artifact #ima3d_;!ima3d_.jar:
[ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdpartypublic/classext/ima3d_.jar
[ivy:resolve] ==== thirdpartynonfree: tried
[ivy:resolve]  -- artifact #ima3d_;!ima3d_.jar:
[ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdparty/classext/ima3d_.jar
[ivy:resolve] module not found: #DT1.2;
[ivy:resolve] ==== central: tried
[ivy:resolve]  http://repo1.maven.org/maven2//DT1.2//DT1.2-.pom
[ivy:resolve]  -- artifact #DT1.2;!DT1.2.jar:
[ivy:resolve]  http://repo1.maven.org/maven2//DT1.2//DT1.2-.jar
[ivy:resolve] ==== imagej-net: tried
[ivy:resolve]  http://maven.imagej.net/content/groups/public//DT1.2//DT1.2-.pom
[ivy:resolve]  -- artifact #DT1.2;!DT1.2.jar:
[ivy:resolve]  http://maven.imagej.net/content/groups/public//DT1.2//DT1.2-.jar
[ivy:resolve] ==== thirdpartypublic: tried
[ivy:resolve]  -- artifact #DT1.2;!DT1.2.jar:
[ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdpartypublic/classext/DT1.2.jar
[ivy:resolve] ==== thirdpartynonfree: tried
[ivy:resolve]  -- artifact #DT1.2;!DT1.2.jar:
[ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdparty/classext/DT1.2.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: #ij3d-bin;: not found
[ivy:resolve] :: #ima3d_;: not found
[ivy:resolve] :: #DT1.2;: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :::: ERRORS
[ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/ij3d-bin/ij3d-bin-.pom url=http://maven.imagej.net/content/groups/public/ij3d-bin/ij3d-bin-.pom
[ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/ij3d-bin/ij3d-bin-.jar url=http://maven.imagej.net/content/groups/public/ij3d-bin/ij3d-bin-.jar
[ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/ima3d_/ima3d_-.pom url=http://maven.imagej.net/content/groups/public/ima3d_/ima3d_-.pom
[ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/ima3d_/ima3d_-.jar url=http://maven.imagej.net/content/groups/public/ima3d_/ima3d_-.jar
[ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/DT1.2/DT1.2-.pom url=http://maven.imagej.net/content/groups/public/DT1.2/DT1.2-.pom
[ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/DT1.2/DT1.2-.jar url=http://maven.imagej.net/content/groups/public/DT1.2/DT1.2-.jar
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[ivy:retrieve] :: retrieving :: org.micromanager#micromanager [sync]
[ivy:retrieve] confs: [build, test, compile, optional, imagej, runtime]
[ivy:retrieve] 0 artifacts copied, 55 already retrieved (0kB/59ms)
    [mkdir] Created dir: /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/micromanager/dependencies/artifacts/optional

BUILD SUCCESSFUL
Total time: 44 seconds



--
Matthew Cottrell
Leesburg, VA 20175

https://www.linkedin.com/in/matthew-thomas-cottrell
http://www.mattcottrell.org
(302) 430-3489 mobile


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: make fetchdeps error

Matt Cottrell
I should mention that I had already successfully run ‘make fetchdeps’.  That gave me a 3rdpartypublic directory that includes a classext directory.  But files 3d-bin.jar and DT1.2.jar are missing.


> On Mar 27, 2017, at 9:07 PM, Matt Cottrell <[hidden email]> wrote:
>
> On OS X (0.11.6) I’m getting the following error from ‘make fetchdeps’
>
> Is this simply the result of broken url links?
>
> Thanks,
> Matt
>
> [ivy:resolve] :: problems summary ::
> [ivy:resolve] :::: WARNINGS
> [ivy:resolve] module not found: #ij3d-bin;
> [ivy:resolve] ==== central: tried
> [ivy:resolve]  http://repo1.maven.org/maven2//ij3d-bin//ij3d-bin-.pom
> [ivy:resolve]  -- artifact #ij3d-bin;!ij3d-bin.jar:
> [ivy:resolve]  http://repo1.maven.org/maven2//ij3d-bin//ij3d-bin-.jar
> [ivy:resolve] ==== imagej-net: tried
> [ivy:resolve]  http://maven.imagej.net/content/groups/public//ij3d-bin//ij3d-bin-.pom
> [ivy:resolve]  -- artifact #ij3d-bin;!ij3d-bin.jar:
> [ivy:resolve]  http://maven.imagej.net/content/groups/public//ij3d-bin//ij3d-bin-.jar
> [ivy:resolve] ==== thirdpartypublic: tried
> [ivy:resolve]  -- artifact #ij3d-bin;!ij3d-bin.jar:
> [ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdpartypublic/classext/ij3d-bin.jar
> [ivy:resolve] ==== thirdpartynonfree: tried
> [ivy:resolve]  -- artifact #ij3d-bin;!ij3d-bin.jar:
> [ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdparty/classext/ij3d-bin.jar
> [ivy:resolve] module not found: #ima3d_;
> [ivy:resolve] ==== central: tried
> [ivy:resolve]  http://repo1.maven.org/maven2//ima3d_//ima3d_-.pom
> [ivy:resolve]  -- artifact #ima3d_;!ima3d_.jar:
> [ivy:resolve]  http://repo1.maven.org/maven2//ima3d_//ima3d_-.jar
> [ivy:resolve] ==== imagej-net: tried
> [ivy:resolve]  http://maven.imagej.net/content/groups/public//ima3d_//ima3d_-.pom
> [ivy:resolve]  -- artifact #ima3d_;!ima3d_.jar:
> [ivy:resolve]  http://maven.imagej.net/content/groups/public//ima3d_//ima3d_-.jar
> [ivy:resolve] ==== thirdpartypublic: tried
> [ivy:resolve]  -- artifact #ima3d_;!ima3d_.jar:
> [ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdpartypublic/classext/ima3d_.jar
> [ivy:resolve] ==== thirdpartynonfree: tried
> [ivy:resolve]  -- artifact #ima3d_;!ima3d_.jar:
> [ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdparty/classext/ima3d_.jar
> [ivy:resolve] module not found: #DT1.2;
> [ivy:resolve] ==== central: tried
> [ivy:resolve]  http://repo1.maven.org/maven2//DT1.2//DT1.2-.pom
> [ivy:resolve]  -- artifact #DT1.2;!DT1.2.jar:
> [ivy:resolve]  http://repo1.maven.org/maven2//DT1.2//DT1.2-.jar
> [ivy:resolve] ==== imagej-net: tried
> [ivy:resolve]  http://maven.imagej.net/content/groups/public//DT1.2//DT1.2-.pom
> [ivy:resolve]  -- artifact #DT1.2;!DT1.2.jar:
> [ivy:resolve]  http://maven.imagej.net/content/groups/public//DT1.2//DT1.2-.jar
> [ivy:resolve] ==== thirdpartypublic: tried
> [ivy:resolve]  -- artifact #DT1.2;!DT1.2.jar:
> [ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdpartypublic/classext/DT1.2.jar
> [ivy:resolve] ==== thirdpartynonfree: tried
> [ivy:resolve]  -- artifact #DT1.2;!DT1.2.jar:
> [ivy:resolve]  /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/3rdparty/classext/DT1.2.jar
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] :: #ij3d-bin;: not found
> [ivy:resolve] :: #ima3d_;: not found
> [ivy:resolve] :: #DT1.2;: not found
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] :::: ERRORS
> [ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/ij3d-bin/ij3d-bin-.pom url=http://maven.imagej.net/content/groups/public/ij3d-bin/ij3d-bin-.pom
> [ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/ij3d-bin/ij3d-bin-.jar url=http://maven.imagej.net/content/groups/public/ij3d-bin/ij3d-bin-.jar
> [ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/ima3d_/ima3d_-.pom url=http://maven.imagej.net/content/groups/public/ima3d_/ima3d_-.pom
> [ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/ima3d_/ima3d_-.jar url=http://maven.imagej.net/content/groups/public/ima3d_/ima3d_-.jar
> [ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/DT1.2/DT1.2-.pom url=http://maven.imagej.net/content/groups/public/DT1.2/DT1.2-.pom
> [ivy:resolve] SERVER ERROR: Got java.io.EOFException (Server closed connection inside chunked stream): http://maven.imagej.net/content/groups/public/DT1.2/DT1.2-.jar url=http://maven.imagej.net/content/groups/public/DT1.2/DT1.2-.jar
> [ivy:resolve]
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> [ivy:retrieve] :: retrieving :: org.micromanager#micromanager [sync]
> [ivy:retrieve] confs: [build, test, compile, optional, imagej, runtime]
> [ivy:retrieve] 0 artifacts copied, 55 already retrieved (0kB/59ms)
>    [mkdir] Created dir: /Users/cottrell/Documents/Programming/YeastCounter/NetBeans/Projects/micromanager/dependencies/artifacts/optional
>
> BUILD SUCCESSFUL
> Total time: 44 seconds
>
>
>
> --
> Matthew Cottrell
> Leesburg, VA 20175
>
> https://www.linkedin.com/in/matthew-thomas-cottrell
> http://www.mattcottrell.org
> (302) 430-3489 mobile
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> micro-manager-general mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/micro-manager-general

--
Matthew Cottrell
Leesburg, VA 20175

https://www.linkedin.com/in/matthew-thomas-cottrell
http://www.mattcottrell.org
(302) 430-3489 mobile


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: make fetchdeps error

Mark Tsuchida-3
Hi Matt,

> On Mar 27, 2017, at 9:07 PM, Matt Cottrell <[hidden email]> wrote:
> On OS X (0.11.6) I’m getting the following error from ‘make fetchdeps’
> Is this simply the result of broken url links?
[...]
> [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]                 ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve]                 :: #ij3d-bin;: not found
> [ivy:resolve]                 :: #ima3d_;: not found
> [ivy:resolve]                 :: #DT1.2;: not found
> [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::

Those are optional dependencies only needed to build the Magellan plugin. They are not open source (though they are available free of charge). The build should work in the absence of these files.

Best,
Mark 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: make fetchdeps error

Matt Cottrell
Thanks Mark.  ‘make’ and ‘make install’ completed without errors.

But my overarching problem remains.  I used NetBeans to compile the HellowWorld example that’s supplied with the micromanager source.  It builds just fine.  But placing the resulting HelloWorldPlugin.jar file in the mmplugins folder causes the Micro-Manager 1.422 Plugins menu to freeze.  I click on it and it doesn’t drop down.  Remove my compiled jar file, restart Micro-Manager and the Plugins menu works again.

Why are the jar files I’m generating so toxic?

Matt

> On Mar 27, 2017, at 10:50 PM, Mark Tsuchida <[hidden email]> wrote:
>
> Hi Matt,
>
> > On Mar 27, 2017, at 9:07 PM, Matt Cottrell <[hidden email]> wrote:
> > On OS X (0.11.6) I’m getting the following error from ‘make fetchdeps’
> > Is this simply the result of broken url links?
> [...]
> > [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve]                 ::          UNRESOLVED DEPENDENCIES         ::
> > [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:resolve]                 :: #ij3d-bin;: not found
> > [ivy:resolve]                 :: #ima3d_;: not found
> > [ivy:resolve]                 :: #DT1.2;: not found
> > [ivy:resolve]                 ::::::::::::::::::::::::::::::::::::::::::::::
>
> Those are optional dependencies only needed to build the Magellan plugin. They are not open source (though they are available free of charge). The build should work in the absence of these files.
>
> Best,
> Mark
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
> micro-manager-general mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/micro-manager-general

--
Matthew Cottrell
Leesburg, VA 20175

https://www.linkedin.com/in/matthew-thomas-cottrell
http://www.mattcottrell.org
(302) 430-3489 mobile


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: make fetchdeps error

Nico Stuurman-2
Hi Matt,

On 3/27/2017 8:27 PM, Matt Cottrell wrote:
> But my overarching problem remains. I used NetBeans to compile the
> HellowWorld example that’s supplied with the micromanager source. It
> builds just fine. But placing the resulting HelloWorldPlugin.jar file
> in the mmplugins folder causes the Micro-Manager 1.422 Plugins menu to
> freeze. I click on it and it doesn’t drop down. Remove my compiled jar
> file, restart Micro-Manager and the Plugins menu works again.

Couple of ideas:
- Does your NetBeans project only contain the HelloWorld example? If it
contains mmstudio as well, it will include that in the jar it builds,
which likely will result in all kinds of problems when it is loaded from
the plugins folder.  Easiest way to check is to look at the jar (by
unzipping it, or as Mark showed me recently, by opening it in vim).
- Are your sources and runtime the exact same version?  A version
mismatch could cause bad behavior.
- Look at the output on the console (or log file) when starting
Micro-Manager with the "bad plugin" in place.  It may reveal the source
of the problem.

Hope you'll figure it out!

Best,

Nico




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: make fetchdeps error

Matt Cottrell
Thanks for the ideas, Nico.

FYI, I have been following the Using NetBeans instructions here: https://micro-manager.org/wiki/Using_Netbeans

I have now removed mmstudio from my NetBeans project.  But now the statements at the top of HelloWorldPlugin.java

import org.micromanager.api.MMPlugin;
and
import org.micromanager.api.ScriptInterface;

generate an error in NetBeans indicating that they do not exist.

I thought that by compiling micromanager myself and installing it in Micro-Manager1.4 folder I could point to ij.jar as a library where things like org.micromanager.api.MMPlugin could be found.  I am including Micro-Manager1.4/ij.jar as a compile-time library.

I used ./configure --enable-imagej-plugin=/Applications/Micro-Manager1.4/ImageJ64.app --with-ij-jar=/Applications/Micro-Manager1.4/ij.jar

I think I’m really close to success in compiling a hello world plugin that works, but I must be missing the elephant in the room.

Thanks,
Matt


> Hi Matt,
>
> On 3/27/2017 8:27 PM, Matt Cottrell wrote:
>> But my overarching problem remains. I used NetBeans to compile the
>> HellowWorld example that’s supplied with the micromanager source. It
>> builds just fine. But placing the resulting HelloWorldPlugin.jar file
>> in the mmplugins folder causes the Micro-Manager 1.422 Plugins menu to
>> freeze. I click on it and it doesn’t drop down. Remove my compiled jar
>> file, restart Micro-Manager and the Plugins menu works again.
>
> Couple of ideas:
> - Does your NetBeans project only contain the HelloWorld example? If it
> contains mmstudio as well, it will include that in the jar it builds,
> which likely will result in all kinds of problems when it is loaded from
> the plugins folder.  Easiest way to check is to look at the jar (by
> unzipping it, or as Mark showed me recently, by opening it in vim).
> - Are your sources and runtime the exact same version?  A version
> mismatch could cause bad behavior.
> - Look at the output on the console (or log file) when starting
> Micro-Manager with the "bad plugin" in place.  It may reveal the source
> of the problem.
>
> Hope you'll figure it out!
>
> Best,
>
> Nico
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> micro-manager-general mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/micro-manager-general

--
Matthew Cottrell
Leesburg, VA 20175

https://www.linkedin.com/in/matthew-thomas-cottrell
http://www.mattcottrell.org
(302) 430-3489 mobile


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: make fetchdeps error

Nico Stuurman-2
Hi Matt,


> FYI, I have been following the Using NetBeans instructions here: https://micro-manager.org/wiki/Using_Netbeans
>
> I have now removed mmstudio from my NetBeans project.  But now the statements at the top of HelloWorldPlugin.java
>
> import org.micromanager.api.MMPlugin;
> and
> import org.micromanager.api.ScriptInterface;
>
> generate an error in NetBeans indicating that they do not exist.
You will need to include MMJ_.jar which is in in the run-time
Micro-Manager/plugins/Micro-Manager directory.
> I thought that by compiling micromanager myself and installing it in Micro-Manager1.4 folder I could point to ij.jar as a library where things like org.micromanager.api.MMPlugin could be found.  I am including Micro-Manager1.4/ij.jar as a compile-time library.
Which OS do you use?  If on Windows or Mac, there is no need to build
Micro-Manager.  You can simply use the jars from a Micro-Manager that
you installed yourself (although it is preferable to use a fresh nightly
build that is from the same date as the source code that you are using).

ij.jar contains the Imagej code, not the Micro-Manager code.  You will
need to include it in your compile time libraries, together with all the
jars in plugins/Micro-Manager.

Best,

Nico


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: make fetchdeps error

Matt Cottrell
In reply to this post by Nico Stuurman-2
I got the HelloWorld example to work by changing the Java platform in NetBeans from 1.8 to 1.6.  Now the plugins menu works without freezing.

The revealing error in CoreLogs was:
2017-03-28T17:36:54.646674 tid0x7000022eb000 [IFO,App] java.lang.UnsupportedClassVersionError: org/micromanager/helloworld/HelloWorldPlugin : Unsupported major.minor version 52.0

Thanks folks.

> On Mar 28, 2017, at 11:47 AM, Nico Stuurman <[hidden email]> wrote:
>
> Hi Matt,
>
> On 3/27/2017 8:27 PM, Matt Cottrell wrote:
>> But my overarching problem remains. I used NetBeans to compile the
>> HellowWorld example that’s supplied with the micromanager source. It
>> builds just fine. But placing the resulting HelloWorldPlugin.jar file
>> in the mmplugins folder causes the Micro-Manager 1.422 Plugins menu to
>> freeze. I click on it and it doesn’t drop down. Remove my compiled jar
>> file, restart Micro-Manager and the Plugins menu works again.
>
> Couple of ideas:
> - Does your NetBeans project only contain the HelloWorld example? If it
> contains mmstudio as well, it will include that in the jar it builds,
> which likely will result in all kinds of problems when it is loaded from
> the plugins folder.  Easiest way to check is to look at the jar (by
> unzipping it, or as Mark showed me recently, by opening it in vim).
> - Are your sources and runtime the exact same version?  A version
> mismatch could cause bad behavior.
> - Look at the output on the console (or log file) when starting
> Micro-Manager with the "bad plugin" in place.  It may reveal the source
> of the problem.
>
> Hope you'll figure it out!
>
> Best,
>
> Nico
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> micro-manager-general mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/micro-manager-general

--
Matthew Cottrell
Leesburg, VA 20175

https://www.linkedin.com/in/matthew-thomas-cottrell
http://www.mattcottrell.org
(302) 430-3489 mobile


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Loading...