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: 33142
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>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Ecplise intaller error
Next Topic:Installing updates
Goto Forum:
  


Current Time: Sat Apr 27 00:54:24 GMT 2024

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

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

Back to the top