[
https://issues.jboss.org/browse/JBIDE-10402?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen commented on JBIDE-10402:
---------------------------------------------
tmpfile.delete() does not delete recursively afaik. so content will not be deleted. Need
to use something like what is described here:
http://stackoverflow.com/questions/779519/delete-files-recursively-in-java or find
something in eclipse that might do it.
You also have the delete of the temp file before actually copying contents so obviously
this must have been failing as otherwise import would not work.
Enable OpenShift for existing project always clones the OpenShift app
to the very same location. Repos that exist at the very same location are overwritten.
------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-10402
URL:
https://issues.jboss.org/browse/JBIDE-10402
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 3.3.0.M5
Reporter: Andre Dietisheim
Assignee: Max Rydahl Andersen
Fix For: 3.3.0.M5, 3.3.0.Beta1
Attachments: clone-destination.png, clone-to-tmp.patch
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira