Couldn't you handle it with two separate filesets for <javac/>? Include JDK15Set.java in one and exclude it in the other one. No need for any source code level preprocessing hack.
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:hibernate-devel- > [EMAIL PROTECTED] On Behalf Of Gavin King > Sent: Thursday, February 12, 2004 8:15 AM > To: [EMAIL PROTECTED] > Subject: [Hibernate] Generics > > I'm considering implementing support for JDK1.5 generics > in the v22branch. This means that 2.2 would not be able to > be compiled in older JDKs until we got a new ant build > target that would do some source pre-processing. > > What do you guys think? > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > hibernate-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/hibernate-devel ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel
