export

Description

Packages export configuration ZIP files for the specified entities.

Syntax

export [-exportDir path] [-exportGenFiles] [-server host:port] entities

Option

Description

-exportDir path

Creates archives in the specified directory. If not specified, the default is the html/download directory of the EAServer installation. If you are exporting from a remote server, the path must be valid in the file system of that server.

If not specified, the default is html/download in the EAServer installation, which allows you to download the export ZIP file using a Web browser or other HTTP client.

-exportGenFiles

If you specify this option, the export configuration includes generated files such as stubs and skeletons for EJBs and compiled servlet classes for JSPs.

-server host:port

Remotely exports the archive from the server running on the specified host and listening on the specified HTTP port. If you do not specify a server, the archive exports locally from the same installation where you run the command.

You must have an active wlogin session with the server, using an account that has Administrator role privileges on that server.

NoteInstead of using the host:port syntax, you can pass the server name, if it is defined in the local repository.

entities

The names of the entities to be packaged as ZIP files, in the format described under “Entity references”. export creates a ZIP file containing an export configuration for each entity.

See also

Chapter 7, “Exporting Server Modules”