File deletion (or resource replace action) [message #1815680] |
Tue, 08 October 2019 10:24 |
|
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 |
Ed Merks 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/
|
|
|
Powered by
FUDForum. Page generated in 0.03299 seconds