[jdom-interest] Re: jdom-interest digest, Vol 1 #498 - 12 msgs

Joseph Bowbeer jozart at csi.com
Mon Mar 5 16:23:15 PST 2001

Thanks, Joe.

But I think we're still better off using the current mechanism because I
believe there are some boundary conditions where your scheme fails and
because explicit imports are more rigorous.

----- original message -----

From: Walker Joe <joe.walker at barclaycard.co.uk>
Date: Mon, 5 Mar 2001 13:44:04 -0000
Subject: [jdom-interest] 1.1 Collections

I noticed some fancy footwork in the ant build script to fix the imports to
work with JDK 1.1 collections. The section starts:
  <target name="collections" if="coll.present" depends="prepare-src">

It occurred to me that by adding the attached file to the project, it would
be possible to add
  import com.sun.java.util.collections.*;
just after each
  import java.util.*;
And then get rid of a lot of ant trickery.

More information about the jdom-interest mailing list