ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Walker <r...@ascert.com>
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>
            <fileset dir="${dir.build}/ext">
                <include name="**/*.jar"/>
            </fileset>
        </path>
    ...
        <target name="vcomp" depends="init">
            <ant antfile="${dir.build}/build_vcomp.xml" inheritrefs="true"/>
        </target>

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
robw@ascert.com
+44 (0)20 7488 3470
www.ascert.com


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