[ImageJ-devel] [PATCH] Do not import com.apple.mrj.* in MacAdapter

Johannes Schindelin Johannes.Schindelin at gmx.de
Fri Oct 14 12:43:36 CDT 2011


It is not needed, and the AppleJavaExtensions.jar does not provide
that package anyway. So this is needed to build ImageJ1 with Maven
on non-MacOSX.

Signed-off-by: Johannes Schindelin <johannes.schindelin at gmx.de>
---

	Hi Wayne,

	For debugging purposes, we try to integrate the build process of 
	ij.jar into our ImageJ2 workflow. A side effect is that Fiji will 
	run with a standard ij.jar very soon now.

	But when I try to build ImageJ1's sources with Maven, it complains 
	about the package com.apple.mrj not being found in 
	AppleJavaExtensions.jar (which is provided by Apple to compile 
	stuff for MacOSX on other platforms, such as my Linux setup).

	Wayne, may I ask you to apply this patch? It should not change 
	things on your side, but it will fix build errors here.

	Thanks!
	Johannes

 plugins/MacAdapter.source |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/plugins/MacAdapter.source b/plugins/MacAdapter.source
index 8cfabed..9cbff58 100644
--- a/plugins/MacAdapter.source
+++ b/plugins/MacAdapter.source
@@ -1,7 +1,6 @@
 import ij.plugin.*;
 import ij.*;
 import ij.io.*;
-import com.apple.mrj.*;
 import com.apple.eawt.*;
 import java.util.Vector;
 
-- 
1.7.7.4535.g6ecb2





More information about the ImageJ-devel mailing list