ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephenson, Martin" <martin.stephen...@daon.com>
Subject Problem with basedir
Date Mon, 19 Aug 2002 13:09:05 GMT
Hi all - I have the following at the start of an ant XML file:

<project name="DaonSignRelease" default="BuildAll"
basedir="F:\Build\DaonSign\">

	<target name="Init">
		<!-- set global properties for this build -->
		<property name="baseDirectory" value="${basedir}"/>
		<property name="cvs.root"
value=":ntserver:daon-config-a:E:/cvs"/>
		<property name="baseDirectoryEngine"
value="F:\Build\DaonEngine\"/>
	</target>

But I want to specify basedir and baseDirectoryEngine on the cmd file that
kicks off ant.
I change the above to 

<project name="DaonSignRelease" default="BuildAll">

	<target name="Init">
		<!-- set global properties for this build -->
		<property name="baseDirectory" value="${basedir}"/>
		<property name="cvs.root"
value=":ntserver:daon-config-a:E:/cvs"/>
	</target>

and in my Command file I have

ant test.xml -Dbasedir=D:\Build -DbaseDirectoryEngine=F:\Build\Engine

But when I run my script now I always get:

BUILD FAILED
file:F:/Build/DaonSign/2.0.0.8/build/scripts/build.DaonSign-Release.xml:153:
Problems creating a recorder entry

The line at 153 is:
	        <record name="${reportLocation}\ReleaseLog.txt"
action="start" />

and reportLocation does exist

Any ideas / help would be great !!


> ________________
> Martin Stephenson
> Senior Java Engineer
> DAON
> 
> Direct Tel No: +353 1 8181668
> Daon Tel No: +353 1 6117660
> Email:  martin.stephenson@daon.com 
> Web:    www.daon.com
> 
> 
***********************************************************************************************************
"The email and any files transmitted with it are confidential and privileged and intended
solely for the use of the individual or entity to whom they are addressed. Any unauthorised
direct or indirect dissemination, distribution or copying of this message and any attachments
is strictly prohibited."
************************************************************************************************************
		<<This E-mail has been scanned for malicious code>>

--
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