configure  create

Chapter 12: Using jagtool and jagant

copy

Description

Copies an entity in the repository.

Syntax

Local mode support: Yes.

Command line:

copy [ connect-args | local-args ] source target

Ant build file:

<jag_copy source=”source” target=”target” />

Option

Description

Required

connect-args | local-args

Arguments to specify a connection to the server or to run in local mode. See “Local versus connected mode”.

Yes

source

Entity identifier for the entity being copied.

Yes

target

Entity identifier for the new copy.

Yes

Returns

Return value

Indicates

0

The command ran successfully; the result is true/success.

2

The command did not run successfully; an exception was thrown.

Examples

Example 1

This example creates a copy of the entity Package:SVU and places it in the entity Package:SVU_2.





Copyright © 2005. Sybase Inc. All rights reserved. create