ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Syntax error messagefile ?!
Date Fri, 10 Dec 2004 10:51:12 GMT
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:Gilbert.Rebhan@huk-coburg.de]
> 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: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: Friday, December 10, 2004 11:45 AM
> To: user@ant.apache.org
> 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:Gilbert.Rebhan@huk-coburg.de]
> > 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: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

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