Gilbert
the right way of handling is to use pathconvert for the OS you are using
<pathconvert targetos="unix" property="temp.home.converted">
<path path="${temp.home}"/>
</pathconvert>
<echo>temp.home.converted is ${temp.home.converted}</echo>
(and then later on refer to temp.home.converted)
OR
you could just substitute \\ so your parser doesnt think you are trying to
use a single escape \ character
Martin-
----- Original Message -----
From: "Rebhan, Gilbert" <[EMAIL PROTECTED]>
To: "ant_user (E-Mail)" <[EMAIL PROTECTED]>
Sent: Friday, December 10, 2004 5:43 AM
Subject: Syntax error messagefile ?!
Hi, what's wrong about :
<mail mailhost="bla" subject="Deploy project -> ${projekt} !"
failonerror="false">
<from address = "${user.name}"/>
<to address = "${user.name}"/>
<messagefile = ".\${temp.deploy}/infomail.txt"/>
</mail>
gives me :
Element type "messagefile" must be followed by either attribute
specifications, ">" or "/>".
What's wrong here ??
Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]