Copy Resource

Function:

This tool "Copy Resource" copies Eclipse resource(s) to the specified target path. It supports mass processing.

Tool Attribute:

Attribute Type Description
With UI Boolean Determines whether the Eclipse UI dialog box should be used.
Existing Resource Handling Selection Defines the handling of the scenario that the target resource already exists. Valid values include:
  • Replace: The target resource is replaced without a message issued.
  • Ignore: The target resource stays untouched.
  • Error: An error message is produced.
  • From Parameter: The handling is defined by an additional tool parameter.

Parameters:

Parameter # I/O Type Description
1 [M] I String/MassProcessing The Eclipse path to the source's resource.

If the tool attribute With UI is set to true, this is the only enabled parameter.

2 [M] I String The Eclipse path to the target folder.
3 I String Defines handling when the target resource already exists. Valid values include:
  • Replace
  • Ignore
  • Error (default). Only enabled if the tool attribute Existing Resource Handling is set to From Parameter.
4 [O] I String New name of the target resource. Only enabled if the first input parameter is of type “String”.