ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GE Energy, Non GE, GENE)" <Luis1.Cone...@ge.com>
Subject RE: sending email to multiple destination
Date Mon, 31 Jan 2005 19:13:20 GMT

>From Ant manual [1]
_______________________________
tolist  	Comma-separated list of recipients.  	
cclist 	Comma-separated list of recipients to carbon copy
bcclist 	Comma-separated list of recipients to carbon copy

At least one of these, or the equivalent elements.
_______________________________

[1] http://ant.apache.org/manual/CoreTasks/mail.html

-----Original Message-----
From: George Dibi [mailto:George.Dibi@intervoice.com]
Sent: Monday, January 31, 2005 1:03 PM
To: Ant Users List
Subject: sending email to multiple destination



Guys, I am trying to find a way to send the email to multiple addresses.
The to address="george@intervoice.com"/> will not let me use multiple
addresses.
Is there anyone that had to deal with this issue before?

Thanks
 

<target name="mymail">
<mail mailhost="mail-relay-dal.intervoice.int" mailport="25"
subject="isoft36 build notification">
  <from address="george.dibi@intervoice.com"/>
  <replyto address="george.dibi@intervoice.com"/>
  <to address="george.dibi@intervoice.com"/>
  <!--to address="gdibi_2000@yahoo.com"/-->
  <message>The build failed</message>
  <!--<fileset dir="d:/autobuild-report/appsupport1"
includes="*.report"/>-->
  <fileset dir="d:/intv/dat" includes="*.err"/>
</mail>
</target>



-----Original Message-----
From: Erskine, Chris [mailto:chris.erskine@eds.com] 
Sent: Tuesday, January 11, 2005 10:15 AM
To: Ant Users List
Subject: RE: passing parameters to ant

So, since you are on windows, change the parameters to be something like
-DDevBuild1=%1.  The $ is the Unix substitution while with MS, it is the
%
sign.

Chris Erskine
 
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO  80919
 
Phone: 719-265-5962


> -----Original Message-----
> From: Radha Sangal [mailto:Radha.Sangal@pega.com]
> Sent: Tuesday, January 11, 2005 9:01 AM
> To: Ant Users List
> Subject: RE: passing parameters to ant
> 
> Changed command line :
> cmd /c ant -buildfile
> D:\v04_E\Build_Scripts\CvsDiffReports\automated_cvsdiffs.xml
manualDiff
> -DDevBuild1=$1  -DDevBuild2=$2 -l D:\test2.txt
> 
> <property name="DevBuild1" value="${DevBuild1}"/>
> <property name="DevBuild2" value="${DevBuild2}"/>
> <echo message="Starting CVS Difference Report (${DevBuild1} to
> ${DevBuild2})"/>
> 
> Output :
> manualDiff:
>      [echo] Starting CVS Difference Report ($1 to $2)
> 
> -----Original Message-----
> From: Jeffrey E Care [mailto:carej@us.ibm.com]
> Sent: Tuesday, January 11, 2005 10:45 AM
> To: Ant Users List
> Subject: Re: passing parameters to ant
> 
> 1) IIRC there _must not_ be a space betwixt "-D" and the property:
i.e.
> your command line should look like this:
> 
>     cmd /c ant -buildfile
>     D:\v04_E\Build_Scripts\CvsDiffReports\automated_cvsdiffs.xml
> manualDiff
>     -DDevBuild1=$1 -DDevBuild2=$2 > D:\test2.txt
> 
> 2) You might consider using the "-l" option instead of redirecting the
> output.
> 
> 3) Your stanza <property name="DevBuild1"> value="$(DevBuild1)"/> is
> completely wrong & totally unnecessary if you pass in the parameters
> correctly.
> 
> --
> Jeffrey E. Care (carej@us.ibm.com)
> WebSphere Build SWAT Team Lead
> WebSphere Build Tooling Lead (Project Mantis)
> https://w3.opensource.ibm.com/projects/mantis
> 
> 
> "Radha Sangal" <Radha.Sangal@pega.com> wrote on 01/11/2005 10:30:50
AM:
> 
> > [snip]
> >
> > cmd /c ant -buildfile
> > D:\v04_E\Build_Scripts\CvsDiffReports\automated_cvsdiffs.xml
> manualDiff
> > -D DevBuild1=$1  -D DevBuild2=$2 > D:\test2.txt
> >
> >
> >
> > ($1 and $2 are passed from the client and are tested to have the
right
> > value at run time)
> >
> >
> >
> > Ant script "automated_cvsdiffs.xml" receiving these parameters:
> >
> > <target name="manualDiff">
> >
> >                         <!-- TO use manual diff, set the build names
> >
> below. This targets DEV build only -->
> >
> >                         <property name="DevBuild1"
> > value="$(DevBuild1)"/>
> >
> >                         <property name="DevBuild2"
> > value="$(DevBuild2)"/>
> >
> >                         <echo message="Starting CVS Difference
Report
> > (${DevBuild1} to ${DevBuild2})"/>
> >
> >
> >
> > Output as in test2.txt :
> >
> > manualDiff:
> >
> >      [echo] Starting CVS Difference Report ($(DevBuild1) to
> > $(DevBuild2))
> 
> ---------------------------------------------------------------------
> 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




---------------------------------------------------------------------
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
View raw message