Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » File deletion (or resource replace action)
File deletion (or resource replace action) [message #1815680] Tue, 08 October 2019 10:24 Go to next message
Tony Hedoux is currently offline Tony HedouxFriend
Messages: 16
Registered: March 2014
Junior Member
Hello,

Is there a way to delete an existing file during an OOMPH project setup?

We have a file creation which is currently failing because the file is already existing. I would like to be able to delete or replace it.


ALL4TEC
Re: File deletion (or resource replace action) [message #1815699 is a reply to message #1815680] Tue, 08 October 2019 14:37 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31152
Registered: July 2009
Senior Member
There is a Text Modify task for modifying the contents of an existing file, but no, there is no Delete task. E.g., this task is in the Eclipse project catalog:
<?xml version="1.0" encoding="UTF-8"?>
<setup:TextModifyTask
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    url="configuration:/config.ini">
  <modification
      pattern="osgi\.instance\.area\.default=(@user\.home/workspace)">
    <substitution>${workspace.location|path}</substitution>
  </modification>
</setup:TextModifyTask>
Previous Topic:Ecplise intaller error
Next Topic:Installing updates
Goto Forum:
  


Current Time: Thu May 28 05:46:20 GMT 2020

Powered by FUDForum. Page generated in 0.01964 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top