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



[EMAIL PROTECTED] 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>







--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to