Kristian,

Here is the output of "ant -DprintCompilerProperties=true buildsource" after removing all of my properties files (ant.properties, local.properties).


setCompilerProperties:

printCompilerProperties:
     [echo] Before setting properties:  compilerPropsAlreadySet = ${compilerPropsAlreadySet}
     [echo] Before setting properties:  compilerLevel16 = 1.6
     [echo] Before setting properties:  jsr169compile.classpath = ${jsr169compile.classpath}
     [echo] Before setting properties:  j14lib = ${j14lib}
     [echo] Before setting properties:  java14compile.classpath = ${java14compile.classpath}
     [echo] Before setting properties:  j15lib = ${j15lib}
     [echo] Before setting properties:  java15compile.classpath = ${java15compile.classpath}
     [echo] Before setting properties:  j16lib = ${j16lib}
     [echo] Before setting properties:  java16compile.classpath = ${java16compile.classpath}
[setJdkProperties] 
[setJdkProperties] PropertySetter environment =
[setJdkProperties] 
[setJdkProperties] java.vendor = Apple Inc.
[setJdkProperties] java.home = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
[setJdkProperties] java.version = 1.6.0_20
[setJdkProperties] os.name = Mac OS X
[setJdkProperties] j14lib = null
[setJdkProperties] j15lib = null
[setJdkProperties] j16lib = null
[setJdkProperties] jdkSearchPath = /System/Library/Frameworks/JavaVM.framework/Versions
[setJdkProperties] 
[setJdkProperties] 
[setJdkProperties] 
[setJdkProperties] Setting property java14compile.classpath to /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/alt-rt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/ui.jar
[setJdkProperties] Setting property java15compile.classpath to /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/alt-rt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/ui.jar
[setJdkProperties] Setting property java16compile.classpath to /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/alt-rt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/ui.jar

printCompilerProperties:
     [echo] After setting properties:  compilerPropsAlreadySet = true
     [echo] After setting properties:  compilerLevel16 = 1.6
     [echo] After setting properties:  jsr169compile.classpath = /Users/brettw/Documents/dev/derby/10.6/classes/stubs/jsr169:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/alt-rt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/ui.jar
     [echo] After setting properties:  j14lib = ${j14lib}
     [echo] After setting properties:  java14compile.classpath = /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/alt-rt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Classes/ui.jar
     [echo] After setting properties:  j15lib = ${j15lib}
     [echo] After setting properties:  java15compile.classpath = /System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/alt-rt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Classes/ui.jar
     [echo] After setting properties:  j16lib = ${jdk16}/jre/lib
     [echo] After setting properties:  java16compile.classpath = /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/alt-rt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Classes/ui.jar

jsr169stubs:

jdbc3stubs:

jdbc4stubs:

felixStubs:


Followed later by:

compile_iapi_error_jsr169:

compile_reference:

compile_util:

compile_types:
    [javac] Compiling 1 source file to /Users/brettw/Documents/dev/derby/10.6/classes
    [javac] /Users/brettw/Documents/dev/derby/10.6/java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java:60: package org.apache.xpath does not exist
    [javac] import org.apache.xpath.XPath;
    [javac]                        ^