Afficher : Delphi C++
Préférences d'affichage

paclient.exe, l'application client Platform Assistant

De RAD Studio

Remonter à Utilitaires de ligne de commande - Index


paclient.exe est un client de ligne de commande pour le serveur Platform Assistant. Vous devez installer et exécuter le serveur Platform Assistant sur la machine cible pour exécuter ou déboguer une application pour Windows 64 bits (depuis un système de développement Windows 32 bits), OS X ou iOS, pour exécuter ou déboguer une application Windows à distance, ou pour déployer une application pour Windows, OS X ou iOS. Vous devez explicitement installer paserver sur votre machine cible. La machine cible est OS X lorsque la plate-forme cible est iOS.

paclient, d'autre part, fait partie de l'installation du produit sur le PC de développement. Le rôle de paclient est de mettre à jour le cache des fichiers locaux avec les fichiers et les informations symboliques de l'hôte distant, et de copier les fichiers du PC de développement vers l'hôte distant. Le PC de développement est l'hôte distant lorsque la plate-forme cible est Android. Si vous utilisez l'EDI au lieu des utilitaires de ligne de commande, vous n'avez pas besoin d'utiliser paclient.

L'application se trouve dans C:\Program Files (x86)\Embarcadero\Studio\19.0\bin.

Exemple

La commande suivante supprime les fichiers de l'installation du serveur sur une plate-forme cible distante OS X ayant l'adresse IP 10.20.10.206. Tous les fichiers associés à MyOldRemoteProfile sont supprimés. Le point-barre oblique ./ signifie que la liste des répertoires est relative au répertoire dans lequel paserver est installé sur la plate-forme cible, et ** signifie que la recherche s'effectue dans tous les sous-répertoires :

> paclient --host=10.20.10.206 --Remove=./**/* MyOldRemoteProfile

Aide de la ligne de commande

Voici l'aide de la ligne de commande de paclient.exe :

> paclient.exe -?
Platform Assistant Client  
Copyright (c) 2010-2013 Embarcadero Technologies, Inc.

Usage: paclient [<options>] ProfileName

where <options> include:
 -h<name> or --host=<name>
     Specify the name or IP address of the remote/host machine running the
     Platform Assistant Server
 -p<number> or --port=<number>
     Specify the port the Platform Assistant Server is configured for. Default
     to 64211
 -m<platform> or --platform=<platform>
     Specify the target platform. Possible values are "Win32", "OSX32",
     "Win64"
 -a<file/dir> or --add=<file/dir>
     Add file/dir to the list of items to be cached. You may specify multiple
     file/dir separated with ';'. You may also use this option more than once.
     File/dir can include wildcard characters (e.g. --add=c:\abc\**\*.* where
     ** indicates to include all sub-directories of abc)
 -ai<file/dir> or --addinclude=<file/dir>
     Add include file/dir to the list of items to be cached. You may specify
     multiple file/dir separated with ';'. You may also use this option
     more than once.
     File/dir can include wildcard characters (e.g. --addinclude=c:\abc\**\*.*
     where ** indicates to include all sub-directories of abc)
 -al<file/dir> or --addlibrary=<file/dir>
     Add library file/dir to the list of items to be cached. You may specify
     multiple file/dir separated with ';'. You may also use this option more
     than once.
     File/dir can include wildcard characters (e.g. --addlibrary=c:\abc\**\*.*
     where ** indicates to include all sub-directories of abc)
 -af<dir>[,*] or --addframework=<dir>[,*]
     Add framework files to the list of items to be cached. You may specify
     multiple dir separated with ';'. You may also use this option more than
     once
 -g<file/dir>[,<destdir>] or --get=<file/dir>[,<destdir>]
     Copy file/dir from the remote/host machine running the Platform Assistant
     Server. You may specify multiple file/dir,destdir separated with ';'.
     You may also use this option more than once.
     File/dir can include wildcard characters (e.g. --add=c:\abc\**\*.* where
     ** indicates to include all sub-directories of abc)
 -u<file/dir>[,<destdir>][,<flags>][,<destname>] or
 --put=<file/dir>[,<destdir>][,<flags>][,<destname>]
     Copy file/dir to the remote/host machine running the Platform Assistant
     Server. You may specify multiple file/dir,destdir,flag,destname separated
     with ';'. You may also use this option more than once. Possible flags
     values are "0", "1", "2", "3", "5" where 0 for normal file, 1 for
     runnable file, 2 for archive file, 3 for executable file, and 5 for
     script file.
     File/dir can include wildcard characters (e.g. --put=c:\abc\**\*.* where
     ** indicates to include all sub-directories of abc)
 -r<file/dir> or --remove=<file/dir>
     Remove file/dir from the list of items to be cached locally. You may
     specify multiple file/dir separated with ';'. You may also use this
     option more than once.
     File/dir can include wildcard characters (e.g. --remove=c:\abc\**\*.*
     where ** indicates to include all sub-directories of abc)
 -R<file/dir> or --Remove=<file/dir>
     Remove file/dir from the remote/host machine running the Platform
     Assistant Server. You may specify multiple file/dir separated with ';'.
     You may also use this option more than once.
     File/dir can include wildcard characters (e.g. --Remove=c:\abc\**\*.*
     where ** indicates to include all sub-directories of abc)
 -l or --local
     Update and display information about the specified Profile without
     initiating a connection to the Platform Assistant Server
 -s<dir> or --sysroot=<dir>
     Indicate the local directory where the remote files will be cached.
     Default to C:\Utilisateurs\<utilisateur>\Documents\Embarcadero\Studio\Profiles\<ProfileName>
 -t<number> or --timeout=<number>
     Specify the timeout in seconds when connecting to the Platform Assistant
     Server. Default to 0 second
 -e<number> or --error=<number>
     Stop copy after n errors. Default to 20 errors
 -k or --keep
     Keep files whose source time is different than the destination time
 -pw<text> or --password=<text>
     Specify the login password for the Platform Assistant Server
 -pk<text> or --passkey=<text>
     Specify the login password (encrypted) for the Platform Assistant Server
 -pf<file> or --passfile=<file>
     Specify the login passfile for the Platform Assistant Server
 -c<path,certificate[,entitlement]> or
 --codesign=<path,certificate[,entitlement]>
     CodeSign the application with certificate on the remote machine running
     the Platform Assistant Server
 -i<path,outpath,certificate,profile> or
 --ipa=<path,outpath,certificate,profile>
     Create application .ipa file with certificate and provisioning profile
     on the remote machine running the Platform Assistant Server
 -pb<path,installpath,outpath,certificate> or
 --productbuild=<path,installpath,outpath,certificate>
     Create application .pkg file with certificate on the remote machine
     running the Platform Assistant Server
 -v or --verbose
     Print out the files processed
 -? or --help
     Print this help screen

Liste des messages d'erreur du client Platform Assistant

Voir aussi

Outils personnels
Autres langues
Versions précédentes