axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: cvs commit: xml-axis/java/tools/org/apache/axis/tools/ant/foreach ParamSet.java
Date Fri, 13 Sep 2002 12:02:26 GMT
Matt,

This should fix Gump failure...

Thanks,
dims

--- dims@apache.org wrote:
> dims        2002/09/13 05:01:06
> 
>   Modified:    java/tools/org/apache/axis/tools/ant/foreach ParamSet.java
>   Log:
>   Fully resolve the file path to avoid problems.
>   
>   Revision  Changes    Path
>   1.3       +4 -2      xml-axis/java/tools/org/apache/axis/tools/ant/foreach/ParamSet.java
>   
>   Index: ParamSet.java
>   ===================================================================
>   RCS file: /home/cvs/xml-axis/java/tools/org/apache/axis/tools/ant/foreach/ParamSet.java,v
>   retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- ParamSet.java	10 Sep 2002 20:49:32 -0000	1.2
>   +++ ParamSet.java	13 Sep 2002 12:01:06 -0000	1.3
>   @@ -129,13 +129,15 @@
>                if (TYPE_DIR != type) {
>                    String[] files = getFiles(base, scanner);
>                    for (int j = 0; j < files.length; j++) {
>   -                    values.addElement(files[j]);
>   +                    File f = new File(base, files[j]);
>   +                    values.addElement(f.getAbsolutePath());
>                    }
>                }
>                if (TYPE_FILE != type) {
>                    String[] dirs = getDirs(base, scanner);
>                    for (int j = 0; j < dirs.length; j++) {
>   -                    values.addElement(dirs[j]);
>   +                    File f = new File(base, dirs[j]);
>   +                    values.addElement(f.getAbsolutePath());
>                    }
>                }
>            }
>   
>   
>   


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

Mime
View raw message