ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Pavlenko <>
Subject Incomprehensible warning from new Ant
Date Thu, 14 Feb 2008 08:09:28 GMT
After upgrading from Ant 1.6.5 to Ant 1.7 my build script displays strange 

Warning: Reference classpath-xjc has not been set at runtime, but was 
found during
build file parsing, attempting to resolve. Future versions of Ant may 
 referencing ids defined in non-executed targets.

Could you please explain what it means exactly?

This warning gets displayed in this target

    <target name="xjc" depends="make-gen-src-dir" if="
        <taskdef name="xjc" classname="" 
        <xjc target="${unit.generated.src.dir}" extension="true" readonly
="yes" removeOldOutput="yes" catalog="${project.xmlcatalog.file}">
            <schema dir="${unit.jaxb.dir}" includes="*.xsd"/>
            <binding dir="${unit.jaxb.dir}" includes="*.xjb"/>
            <depends dir="${project.xmlcatalog.dir}"/>
            <produces dir="${unit.generated.src.dir}"/>

The reference "classpath-xjc" is defined as following in some other target

        <path id="classpath-xjc">
            <filelist dir="${global.p4root.dir}" files="


This e-mail may contain confidential and/or privileged information. If you are not the intended
recipient (or have received this e-mail in error) please notify the sender immediately and
delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in
this e-mail is strictly forbidden.

Please refer to for additional EU corporate
and regulatory disclosures.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message