File.renameTo(File)
Thanks,
I'm running 1.5 version of java and I'm simply attempting to move a file from a
source directory to a target directory.
It seems the renameTo works fewer times than it does.
I print the absolute path to ensure they're correct and they are.
Someone mentioned there's a renameTo bug. Is there a workaround?
I'm thinking of exec'ing a process and running a dos move.
Thank again.
Sly
.
Relevant Pages
- Re: Importing javax.faces.context.FacesContext for Glassfish
... correct?), you still have to copy the JSPs and HTMLs to web/, the JARs to web/WEB-INF/lib, then drop to web/ and jar the whole thing into a WAR file for deployment to your app server. ... I usually use web/ as the source directory for web artifacts, src/ as the top of the source tree, build/ as the target of the build, and dist/ as the target directory to build the WAR file. ... (comp.lang.java.help) - Replacement problem
... well its a real puzzle for a fresher like me. ... source directory and creating it in the target directory during run ... (comp.lang.perl.misc) - Re: Replacement problem
... prasanna bhat mavinkuli wrote: ... > source directory and creating it in the target directory during run ... (comp.lang.perl.misc) - Re: Java problem....
... I was using Java 1.3.1 and that has nothing ... Any reason why its a limitation? ... (comp.lang.java) - Re: help me! how can i copy all files from one directory to another in java
... >can any body help me, how i can copy all files from one directory to ... suppose i have a source directory called abc/def in ... http://mindprod.com Java custom programming, consulting and coaching. ... (comp.lang.java.help) |
|