Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Proper way to programmatically copy files inside of eclipse
Proper way to programmatically copy files inside of eclipse [message #762771] Thu, 08 December 2011 10:50 Go to previous message
drew frantz is currently offline drew frantz
Messages: 331
Registered: July 2009
Senior Member
I am trying to programmatically copy files from a location on the file
system to an project location. This works fine in the development
environment, but when I deploy this as an RCP the file copy fails. The copy
code using javaIO to copy the files and the following (new LocalFile(new
File(source)).copy(new LocalFile(new File(destination)), EFS.NONE,
monitor);), both of which fail in an RCP application , but work in my
development environment.

What is the proper way to copy files programmatically in eclipse?
 
Read Message
Read Message
Previous Topic:Actions are disabled if editor loses focus. Why?
Next Topic:Removing EObject from EMF Resource with RemoveCommand
Goto Forum:
  


Current Time: Thu May 23 05:31:12 EDT 2013

Powered by FUDForum. Page generated in 0.08223 seconds