ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nau, Michael" <>
Subject RE: <mail>
Date Mon, 20 Jan 2003 23:22:17 GMT
That doesn't seem to do the trick.

Here is the xml:
    <path id="classpath">  
      <pathelement location="${mail.jar.dest}/${}"/>
      from           = ""
      tolist          = ""
      message    = "The exception component is ready to be published"
      files           = "release-notes.txt"
      failonerror      = "false"
      mailhost         = "my smtp host"

Here is the output:
     [mail] Failed to initialise MIME mail
     [mail] Failed to initialise UU mail
     [mail] Sending email: The exception component is ready to be
     [mail] Sent email with 1 attachment

any other ideas?

-----Original Message-----
From: Frot [] 
Sent: Monday, January 20, 2003 3:10 PM
To: Ant Users List
Subject: Re: <mail>

Does this do the trick ??

  <path id="classpath">  
      <include name="**/*.jar"/>


*********** REPLY SEPARATOR  ***********

On 20/01/2003 at 14:26 Nau, Michael wrote:

>I don't see a classpath parameter for the mail task - is there a way 
>for me to add activation.jar and mail.jar to a classpath so I can use 
>the mail task without having to copy the files to my ant/lib dir?
>In our build environment we have everything we might need in a central 
>repository that our component ant scripts use to run. So for example, 
>all our custom tasks are packaged into a custom-tasks.jar file. Then if

>a component's ant scripts needs any of these tasks it specifies that it

>depends on custom-tasks.jar and it is pulled down whenever those tasks 
>are used. The idea being that any component can be built/manipulated 
>without having to install anything special (other than ant and the jdk
>I would like to do something similar for the ant task, but without it 
>supporting a separate classpath - I'm not sure how?
>Any ideas?
>To unsubscribe, e-mail:
>For additional commands, e-mail: 

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message