Skip to content
Snippets Groups Projects
Select Git revision
  • 79af7156928623d561fa7ef656caef2fc7b98194
  • master default protected
  • ia2
  • adql2.1-ia2
  • private_rows
5 results

buildADQL.xml

  • Mark Taylor's avatar
    7a618199
    fix ADQL build file to permit cross-compilation · 7a618199
    Mark Taylor authored
    You can now set the adql.bootclasspath system property to use
    an alternative bootclasspath, for instance that for a different
    JRE than that used by the compiler.
    
    For instance, this cross-compiles to java 1.5:
    
       ant -Dant.build.javac.target=1.5
           -Dadql.bootclasspath=/usr/java/jdk1.5.0_22/jre/lib/rt.jar
           -f buildADQL.xml
           buildLib
    
    Note the java used by ant has to be at least java 6 because of the
    @Override source constructs on methods inherited from interfaces
    (only methods from abstract or non-abstract classes can be annotated
    with @Override in java 5).
    7a618199
    History
    fix ADQL build file to permit cross-compilation
    Mark Taylor authored
    You can now set the adql.bootclasspath system property to use
    an alternative bootclasspath, for instance that for a different
    JRE than that used by the compiler.
    
    For instance, this cross-compiles to java 1.5:
    
       ant -Dant.build.javac.target=1.5
           -Dadql.bootclasspath=/usr/java/jdk1.5.0_22/jre/lib/rt.jar
           -f buildADQL.xml
           buildLib
    
    Note the java used by ant has to be at least java 6 because of the
    @Override source constructs on methods inherited from interfaces
    (only methods from abstract or non-abstract classes can be annotated
    with @Override in java 5).