Re: Trying to compile QT_Movie_Opener

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/Trying-to-compile-QT-Movie-Opener-tp3682769p3682770.html

Hi Philip,

On Fri, 21 Oct 2011, Philip Ershler wrote:

> I have picked up the source code for the QT_Movie_Opener plugin. I
> am trying to make some minor changes so that I can call this plugin
> from another plugin to implement a batch mode plugin. However, when I
> try to compile and run the original QT_Movie_Opener.java file from
> ImageJ, I get a bunch of DEPRECATED errors like these
>
> /Volumes/Lion 10.7/Applications/ImageJ/plugins/Batcher/QT_Movie_Opener.java:18: warning: [deprecation] quicktime.std.image.GraphicsImporter in quicktime.std.image has been deprecated
> import quicktime.std.image.GraphicsImporter;
>                           ^

Those are not errors, but only warnings. It means that these classes have
been deprecated, my guess is because Quicktime4Java in general has been a
little bit neglected lately by Apple, and furthermore, they want to
discourage using Java.

> [...]
>
> So the compiler throws all these warnings (and more) and the whole
> process stops.

Now, the stopping of the process is an altogether different issue. Are you
sure that there are no output .class files in plugins/Batcher/?

Ciao,
Johannes