Re: Trying to compile QT_Movie_Opener

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

On Oct 21, 2011, at 8:45 PM, Johannes Schindelin wrote:

> 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

Thanks for the thought but here's what's in the directory.

Administrators-MacBook-Pro:~ ershler$ cd /Volumes/Lion\ 10.7/Applications/ImageJ/plugins/Batcher
Administrators-MacBook-Pro:Batcher ershler$ ls -la
total 16
drwxr-xr-x   3 ershler  2000   102 Oct 21 19:51 .
drwxr-xr-x@ 25 ershler  2000   850 Oct 21 19:44 ..
-rw-r--r--@  1 ershler  2000  7639 Oct 21 19:51 QT_Movie_Opener.java
Administrators-MacBook-Pro:Batcher ershler$


Philip R. Ershler Ph.D.
University of Utah
Cardiovascular Research and Training Institute
95 South 2000 East
Salt Lake City, UT 84112-5000

phone: (801) 230-8771
alt ph: (801) 587-9528
fax: (801) 581-3128
e-mail: [hidden email]