ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Coast <nathan.co...@levelseas.com>
Subject VSS & inheritall="false"
Date Thu, 13 Dec 2001 12:13:42 GMT
Hi,

I had a problem a few days ago caused by not explicitly stating
inheritall=false when calling other build files.  That fixed the origingal
problem but has created another.

file1.xml calls build-generic.xml

        <ant antfile="build-generic.xml" target="get.version">
            <property name="component.name" value="lsx-ejb"/>
            <property name="project.branch" value="Branch_4_0"/>
            <property name="component.version" value="0_0_6"/>
         </ant>

build-generic.xml contains:

    <target name="get.version" if="specified.version" depends="init">    

        <property name="get.version.args" value="get
\$/${project.branch}/components/${component.name} -R -GF -GCK -I- -Y
-VL${component.version}"/>
        <echo message="args: ${get.version.args}"/>
        <exec executable="${vss.home}\ss.exe" os="${os.name}">
            <env key="ssdir" value="\\victory\code"/>
            <arg line="${get.version.args}"/>
        </exec>

	</target>

when file1.xml has inheritall="false" the message in get.version displays
correctly but nothing else happens!  When file1.xml has inheritall="true"
(or is omitted) files are retrieved from VSS but errors occur due to
properties not being updated. (during some builds, there are numerous calls
to get.version for different components).  Anyone got any ideas as to why
the exec target does nothing (not even any error messages).  Or anything I
should try to identify the problem.

Thanks Nathan



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper at LevelSeas for the presence of computer viruses.

**********************************************************************

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message