From: Bruce H. <bh...@bh...> - 2007-12-04 14:18:53
|
oh wait, never mind. Bruce On Dec 4, 2007 9:17 AM, Bruce Herr <bh...@bh...> wrote: > You should also update org.cishell.templates.standalone.executable w/ the > change. These need to be kept in sync (at some point we need to make it so > we only have one version of this). > > Bruce > > > On Dec 3, 2007 5:23 PM, <fu...@us...> wrote: > > > Revision: 550 > > http://cishell.svn.sourceforge.net/cishell/?rev=550&view=rev > > Author: fugu13 > > Date: 2007-12-03 14:23:19 -0800 (Mon, 03 Dec 2007) > > > > Log Message: > > ----------- > > Fix bug that occurs when copying multiple directories. Neighboring > > directories had been copied as nesting directories, because the variable > > holding the directory to copy to was overwritten each time a subdirectory to > > copy was encountered. > > > > Modified Paths: > > -------------- > > > > trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableAlgorithmFactory.java > > > > Modified: > > trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableAlgorithmFactory.java > > > > =================================================================== > > --- > > trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableAlgorithmFactory.java > > 2007-11-14 17:23:59 UTC (rev 549) > > +++ > > trunk/templates/org.cishell.templates/src/org/cishell/templates/staticexecutable/StaticExecutableAlgorithmFactory.java > > 2007-12-03 22:23:19 UTC (rev 550) > > @@ -168,9 +168,9 @@ > > if (path.endsWith ("/")) { > > String dirName = getName(path); > > > > - dir = new File(dir.getPath() + File.separator + > > dirName); > > - dir.mkdirs(); > > - copyDir(dir, path); > > + File subDirectory = new File(dir.getPath() + > > File.separator + dirName); > > + subDirectory.mkdirs(); > > + copyDir(subDirectory, path); > > } else { > > copyFile(dir, path); > > } > > > > > > This was sent by the SourceForge.net collaborative development platform, > > the world's largest Open Source development site. > > > > ------------------------------------------------------------------------- > > > > SF.Net email is sponsored by: The Future of Linux Business White Paper > > from Novell. From the desktop to the data center, Linux is going > > mainstream. Let it simplify your IT future. > > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > > _______________________________________________ > > Cishell-svn mailing list > > Cis...@li... > > https://lists.sourceforge.net/lists/listinfo/cishell-svn > > > > > > -- > Bruce Herr > > Senior Software Developer > Cyberinfrastructure for Network Science Center > School of Library and Information Science > Indiana University > > 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 > Main Library 022 E-mail: bh...@bh... > Bloomington, IN 47405, USA -- Bruce Herr Senior Software Developer Cyberinfrastructure for Network Science Center School of Library and Information Science Indiana University 10th Street & Jordan Avenue Phone: (812) 856-7034 Fax: -6166 Main Library 022 E-mail: bh...@bh... Bloomington, IN 47405, USA |