Re: ant.java.version set incorrectly

2010-11-11 Thread Stefan Bodewig
On 2010-11-10, Eric Smith wrote: > The problem I'm running into is that Xerces-J uses ant.java.version to > set which source level to build. Without patching its build.xml, I end > up with this: > compile: > [copy] Copying 23 files to > /var/tmp/paludis/build/dev-java-Xerces-J-2.10.0/work/xerces

Re: ant.java.version set incorrectly

2010-11-10 Thread Eric Smith
On Wed, Nov 10, 2010 at 05:09:39PM +0100, Stefan Bodewig wrote: > > Ant doesn't trust system properties and sets ant.java.version based on > the classes it can load. Ant thinks it is running on JDK 1.6 if it can > find java.util.ServiceLoader which shouldn't be present if gcj really > only suppor

Re: ant.java.version set incorrectly

2010-11-10 Thread Stefan Bodewig
On 2010-11-10, Eric Smith wrote: > I am using gcj as my only jdk, so I am limited to using java > 1.5. After installing ant-1.8.1, however, I am having problems > building packages with ant because ant.java.version is set to 1.6. I > have never had a jdk that supports java 1.6 on my system, so why