www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Desruisseaux <martin.desruisse...@geomatys.fr>
Subject Environment variable for "javac -bootclasspath" on Jenkins job?
Date Fri, 26 Sep 2014 22:59:47 GMT
Hello all

I would like to compile a project targeting JDK6, but using a more
recent JDK in order to workaround a javadoc bug in JDK6. I would need to
set the compiler bootclasspath argument in a profile of the Maven
project, for example:

        <compilerArguments>
            <bootclasspath>${env.JAVA6_HOME}/jre/lib/rt.jar</bootclasspath>
        </compilerArguments>

Do the Jenkins server on https://builds.apache.org/ have environment
variables pointing to the installation directory of various JDK
versions? Alternatively, since bootclasspath only need the "rt.jar" file
of major versions (no need to distinguish between the minor versions) a
directory containing only the "rt.jar" files of major versions would be
sufficient.

No problem if such facility doesn't exist - I just ask in case it exists.

Thanks,

    Martin



Mime
View raw message