You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ian Pilcher <i....@comcast.net> on 2006/01/24 19:28:51 UTC
Issue warning from task
I am writing my first Ant task, and I would like to issue a warning
message in certain circumstances. Does Ant provide a way to do this, or
should I just print it to System.err (System.out?).
Thanks!
--
========================================================================
Ian Pilcher i.pilcher@comcast.net
========================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Issue warning from task
Posted by Ian Pilcher <i....@comcast.net>.
Matt Benson wrote:
> Better yet, MSG_WARN. ;)
>
> --- Jeffrey E Care <ca...@us.ibm.com> wrote:
>
>
>>log ("your message here", Project.MSG_ERR);
>>
Thanks!
--
========================================================================
Ian Pilcher i.pilcher@comcast.net
========================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Issue warning from task
Posted by Jeffrey E Care <ca...@us.ibm.com>.
Yeah, whoops; sorry about that.
--
Jeffrey E. Care (carej@us.ibm.com)
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Matt Benson <gu...@yahoo.com> wrote on 01/24/2006 02:08:59 PM:
> Better yet, MSG_WARN. ;)
>
> --- Jeffrey E Care <ca...@us.ibm.com> wrote:
>
> > log ("your message here", Project.MSG_ERR);
> >
> > --
> > Jeffrey E. Care (carej@us.ibm.com)
> > WebSphere v7 Release Engineer
> > WebSphere Build Tooling Lead (Project Mantis)
> >
> >
> >
> >
> > Ian Pilcher <i....@comcast.net>
> > Sent by: news <ne...@sea.gmane.org>
> > 01/24/2006 01:28 PM
> > Please respond to
> > "Ant Users List" <us...@ant.apache.org>
> >
> >
> > To
> > user@ant.apache.org
> > cc
> >
> > Subject
> > Issue warning from task
> >
> >
> >
> >
> >
> >
> > I am writing my first Ant task, and I would like to
> > issue a warning
> > message in certain circumstances. Does Ant provide
> > a way to do this, or
> > should I just print it to System.err (System.out?).
> >
> > Thanks!
> >
> > --
> >
> ========================================================================
> > Ian Pilcher
> > i.pilcher@comcast.net
> >
> ========================================================================
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > user-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> > user-help@ant.apache.org
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
Re: Issue warning from task
Posted by Matt Benson <gu...@yahoo.com>.
Better yet, MSG_WARN. ;)
--- Jeffrey E Care <ca...@us.ibm.com> wrote:
> log ("your message here", Project.MSG_ERR);
>
> --
> Jeffrey E. Care (carej@us.ibm.com)
> WebSphere v7 Release Engineer
> WebSphere Build Tooling Lead (Project Mantis)
>
>
>
>
> Ian Pilcher <i....@comcast.net>
> Sent by: news <ne...@sea.gmane.org>
> 01/24/2006 01:28 PM
> Please respond to
> "Ant Users List" <us...@ant.apache.org>
>
>
> To
> user@ant.apache.org
> cc
>
> Subject
> Issue warning from task
>
>
>
>
>
>
> I am writing my first Ant task, and I would like to
> issue a warning
> message in certain circumstances. Does Ant provide
> a way to do this, or
> should I just print it to System.err (System.out?).
>
> Thanks!
>
> --
>
========================================================================
> Ian Pilcher
> i.pilcher@comcast.net
>
========================================================================
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Issue warning from task
Posted by Jeffrey E Care <ca...@us.ibm.com>.
log ("your message here", Project.MSG_ERR);
--
Jeffrey E. Care (carej@us.ibm.com)
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)
Ian Pilcher <i....@comcast.net>
Sent by: news <ne...@sea.gmane.org>
01/24/2006 01:28 PM
Please respond to
"Ant Users List" <us...@ant.apache.org>
To
user@ant.apache.org
cc
Subject
Issue warning from task
I am writing my first Ant task, and I would like to issue a warning
message in certain circumstances. Does Ant provide a way to do this, or
should I just print it to System.err (System.out?).
Thanks!
--
========================================================================
Ian Pilcher i.pilcher@comcast.net
========================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org