From: Steve L. <st...@us...> - 2004-05-13 14:48:51
|
Update of /cvsroot/smartfrog/core/extras/ant/src/org/smartfrog/tools/ant In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22281/extras/ant/src/org/smartfrog/tools/ant Modified Files: ToUrlTask.java Log Message: fixing subdir support Index: ToUrlTask.java =================================================================== RCS file: /cvsroot/smartfrog/core/extras/ant/src/org/smartfrog/tools/ant/ToUrlTask.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ToUrlTask.java 29 Apr 2004 14:37:31 -0000 1.4 --- ToUrlTask.java 13 May 2004 14:48:41 -0000 1.5 *************** *** 115,119 **** String[] files=scanner.getIncludedFiles(); for(int i=0;i<files.length;i++) { ! urls.append(toURL(files[i])); urls.append(separator); count++; --- 115,120 ---- String[] files=scanner.getIncludedFiles(); for(int i=0;i<files.length;i++) { ! File f=new File(scanner.getBasedir(), files[i]); ! urls.append(toURL(f)); urls.append(separator); count++; |