ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/types Path.java
Date Tue, 26 Feb 2002 11:45:16 GMT
Stefan,

Just wonder whether this would be better as VERBOSE rather than WARN. It 
seems to be cropping up a lot. Check out
http://jakarta.apache.org/builds/gump/latest/xml-xerces.html

Annoyance value could be high :-)

Conor



bodewig@apache.org wrote:

> bodewig     02/02/15 07:19:18
> 
>   Modified:    .        build.xml
>                src/main/org/apache/tools/ant/types Path.java
>   Log:
>   Print a warning if we drop elements from a use supplied path.
>   
>   Avoid exactly that warning in Ant's own build file.
>   
   
>   
>   1.30      +5 -2      jakarta-ant/src/main/org/apache/tools/ant/types/Path.java
>   
>   Index: Path.java
>   ===================================================================
>   RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/types/Path.java,v
>   retrieving revision 1.29
>   retrieving revision 1.30
>   diff -u -r1.29 -r1.30
>   --- Path.java	10 Feb 2002 20:26:43 -0000	1.29
>   +++ Path.java	15 Feb 2002 15:19:18 -0000	1.30
>   @@ -1,7 +1,7 @@
>    /*
>     * The Apache Software License, Version 1.1
>     *
>   - * Copyright (c) 2000-2001 The Apache Software Foundation.  All rights
>   + * Copyright (c) 2000-2002 The Apache Software Foundation.  All rights
>     * reserved.
>     *
>     * Redistribution and use in source and binary forms, with or without
>   @@ -245,7 +245,10 @@
>    
>                if (f.exists()) {
>                    setLocation(f);
>   -            } 
>   +            } else {
>   +                log("dropping " + f + " from path as it doesn't exist", 
>   +                    Project.MSG_WARN);
>   +            }
>            }
>        }
>    
>   
>   
>   
> 
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
> 
> 
> 




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


Mime
View raw message