ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Walker <>
Subject <rant> inheritrefs just seems to plain not work </rant>
Date Fri, 22 Apr 2005 11:53:49 GMT
We've been an Ant user for several years, and overall think it's great.

But something we've never been able to get working properly is 
inheritrefs, either now in 1.6.2 or any previous versions.

Our top level build.xml looks like this:

    <project name="vt" default="usage" basedir=".." >
        <path id="vt.class.path">
            <pathelement path="${java.class.path}/"/>
            <pathelement path="${classpath}"/>
            <pathelement path="${dir.obj}"/>
            <fileset dir="${dir.proj}">
                <include name="**/lib/*.jar"/>
            <fileset dir="${}/ext">
                <include name="**/*.jar"/>
        <target name="vcomp" depends="init">
            <ant antfile="${}/build_vcomp.xml" inheritrefs="true"/>

Whatever we try, the build_vcomp.xml just won't inherit the 
"vt.class.path" reference. We get Ant errors saying the "vt.class.path" 
isn't defined.

Is this a know problem? Are we missing something stupidly obvious?

Any help greatly appreciated

-- Rob


Ascert - Taking systems to the Edge
+44 (0)20 7488 3470

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message