[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Disruptive interaction between quilt and Ant.



Dear Java packagers,

I am trying to apply the attached patch to the imagej package (Squeeze
version), but strangely the build fails in presence of the .pc directory
created by quilt. Proabably the ant build system includes considers the backup
files in the .pc directory as part of the source, but I am not skilled enough
in Java building to correct the problem by myself.  Could somebody suggest me a
solution ?

Many thanks for your help,

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan
Description: Allows to close ImageJ after modifying an image.
Author: Frederic Mothe <mothe@nancy.inra.fr>
Bug: http://bugs.debian.org/600997
Forwarded: yes
diff --git a/ij/gui/YesNoCancelDialog.java b/ij/gui/YesNoCancelDialog.java
index 3a44f7c..fdb7c79 100644
--- a/ij/gui/YesNoCancelDialog.java
+++ b/ij/gui/YesNoCancelDialog.java
@@ -72,7 +72,7 @@ public class YesNoCancelDialog extends Dialog implements ActionListener, KeyList
 	}
 	
 	void closeDialog() {
-		setVisible(false);
+		// useless, and raises a bug with openjdk 6: setVisible(false);
 		dispose();
 	}
 

Reply to: