Using ldcget

Using ldcget#

Command-Line#

ldcget -track:<Project> [-version]:<Snapshot Version> [-url]:<Repository URL> [-repository]:<Repository Name> [-output]:<Output File Name> [-force]

   -repository:<Repository Name>
      Repository Name
   -url:<Repository URL>
      Repository URL
   -https
      Use HTTPS
   -host:<Server Host>
      Server Host
   -port:<Server Port>
      Server Port
   -user:<User>
      User
   -password:<Password>
      Password
   -app:<Web Application Name>
      Web Application Name
   -track:<Project>
      Project
   -version:<Snapshot Version>
      Snapshot Version
   -output:<Output File Name>
      Output File Name
   -force
      Force output file to be overwritten

Gets a snapshot (a Lattix project) from the repository.

Examples#

ldcget -url:http://serverName:port/LattixWeb -track:projName -user:your-name -password:your-password

Extracts the latest snapshot from the track projName.

ldcget -repository:TestRepository -track:projName -user:your-name -password:your-password

Extracts the latest snapshot from the track projName. Note that to use this command, you must have set up a TestRepository using Lattix Architect to point to the server, port and app.

ldcget -repository:TestRepository -track:projName -version:V1.0 -output:proj.ldz -user:your-name -password:your-password

Extracts the snapshot V1.0 from the track projName into the file proj.ldz.

Success or Failure#

Return success or failure to the calling script, where failure is the inability to complete its processing.