Chapter 13 Using jagtool and jagant
Exports an entity to a J2EE format EAR, WAR, J2EE JAR, or RAR file, or to an EAServer format JAR file.
Command line:
export [-dir dirname] [-jagjar true|false] entity
Ant build file:
<jag_export [ dir="dirname"] [ jagjar="true|false"] entity="entity" />
Option | Description | Default | Required |
---|---|---|---|
dir
|
The directory where the file is created. The file is created in the current directory by default. | Current directory | No |
jagjar
|
Export to a Jaguar JAR file rather than a J2EE archive file. | true | No |
entity | Entity identifier for the entity being exported. | - | Yes |
This example exports the application named estore to a J2EE EAR file in the e:\temp directory:
jagtool export -dir e:\temp Application:estore
<jag_export dirname="e:\temp" entity="Application:estore" />
This example exports the SVU package to a JAR file in the current directory:
jagtool export -jagjar true Package:SVU
<jag_export jagjar="true" entity="Package:SVU" />
Chapter 10, "Importing and Exporting Application Components"
Copyright © 2002 Sybase, Inc. All rights reserved. |
![]() |