ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nau, Michael" <Michael....@pyxis.com>
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="${activation.jar.dest}/${activation.jar.name}"/>
      <pathelement location="${mail.jar.dest}/${mail.jar.name}"/>
    </path>    
    
    <mail 
      from           = "ant@pyxis.com"
      tolist          = "mnau@pyxis.com"
      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
published
     [mail] Sent email with 1 attachment

any other ideas?

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


Does this do the trick ??

  <path id="classpath">  
    <fileset dir="MY_VERY_SPECIAL_NON_CLASSPATH_PATH_HERE/lib">
      <include name="**/*.jar"/>
    </fileset>
  </path>

Fred

*********** 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?
>
>Thanks,
>Mike
>
>
>
>--
>To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:ant-user-help@jakarta.apache.org>





--
To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message