Hi, Jan

thanks  - works :)

Gilbert

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 11:51 AM
To: [EMAIL PROTECTED]
Subject: AW: Syntax error messagefile ?!


Manual sais "messagefile" is not a nested tag, it´s an attribute.
Therefore you have to write
   <mail messagefile="${temp.deploy}/infomail.txt" 
         mailhost="..."
         subject="..."
   ...


Jan

> -----Ursprüngliche Nachricht-----
> Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 10. Dezember 2004 11:49
> An: Ant Users List
> Betreff: RE: Syntax error messagefile ?!
> 
> Hi, Jan
> 
> didn't find an example in the Ant Manual.
> 
> do i have to write <messagefile file=" ..."/> ?
> 
> Gilbert
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 10, 2004 11:45 AM
> To: [EMAIL PROTECTED]
> Subject: AW: Syntax error messagefile ?!
> 
> 
> <messagefile = ".\${temp.deploy}/infomail.txt"/>
> 
> 
> Which attribute of that nested tag do you want to set?
> 
> 
> Jan
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED]
> > Gesendet am: Freitag, 10. Dezember 2004 11:44
> > An: ant_user (E-Mail)
> > Betreff: 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]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to