UiPath Documentation
studio
latest
false
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Guide de l'utilisateur de Studio

Gestion de projets à l'aide de SVN

Ouverture d'un projet à partir de SVN

  1. Dans l'onglet Équipe (Team), sélectionnez Ouvrir à partir de SVN (Open from SVN). La fenêtre Ouvrir à partir du référentiel SVN (Open from SVN Repository) s'ouvre.

  2. Type in the Repository URL or use the docs image button to open the repository browser. In the repository browser, you can browse to and select an existing folder or copy the Selected Path. Select OK to confirm the selection and close the window.

  3. Pick an empty Check out directory. Under Authentication, select None or select the User/Password and fill in your User and Password. Select Open. The project is now available in the check out directory.

  4. Lorsque vous ouvrez un fichier à partir de Studio, par exemple Main.xaml, une boîte de dialogue Question s’ouvre avec deux options pour extraire le fichier du référentiel :

    • Extraire la dernière version et modifier (Check out latest and edit) : ouvre la dernière version du fichier Main.xaml du référentiel, en mode édition. L'option Désactiver le verrou (Break Lock) permet d'extraire un projet d'un référentiel SVN précédemment extrait par un autre utilisateur.
    • Ouvrir localement en lecture seule (Open local as read only) : ouvre la version locale du fichier Main.xaml en lecture seule. Vous pouvez ouvrir le Gestionnaire de paquets (Package Manager), même si les fichiers sont en lecture seule. Mais, pour effectuer des modifications et installer des dépendances, le fichier project.json doit être extrait.

      Cocher cette case pour Toujours extraire la version la plus récente et ne plus afficher ce message (Always checkout latest and edit and don't show me this again), puis l'option Extraire la dernière version et modifier (Check out latest and edit) propage votre choix pour des occurrences futures. Quel que soit votre choix, le fichier project.json doit être encore extrait séparément pour que certaines modifications soient appliquées.

Résultat

The project is checked out from the SVN repository and available locally in Studio for editing.

Ajout d'un projet à SVN

Remarque :

Certaines opérations SVN ne peuvent pas être directement gérées via Studio. À cet effet et pour garantir la compatibilité optimale, utilisez une version récente d'un client SVN. Pour TortoiseSVN, les versions jusqu'à 1.9.7 sont prises en charge.

  1. Create or open a project in Studio from the Start tab in the Backstage view. Select Start > Team > Add to TFS button, or Add to Source Control > Add to SVN shortcut in the status bar. The Add to SVN window is displayed.

  2. Type in the Repository URL or use the docs image button to open the repository browser. In the repository browser, you can browse to and select an existing folder, or select Create Folder docs image above the left navigation pane to add a new folder. Select OK to confirm the selection and close the window.

  3. If applicable, under Authentication, select User/Password and type in the credentials. Select Add to upload the project to the SVN repository.

  4. Dans la fenêtre Archiver les modifications (Check In Changes), sélectionnez les fichiers à ajouter au référentiel et écrivez un Message de validation (Commit message).

  5. Select Check In. The files are now available in the repository, together with the Commit message. The project.json file returns to read-only mode in Studio.

Résultat

The project files are committed to the SVN repository. The project.json file returns to read-only mode in Studio.

Lorsqu'un projet est ajouté à SVN, le menu contextuel du panneau Projet inclut des options spécifiques à SVN. Pour plus d'informations, consultez Options du menu contextuel pour SVN et TFS.

Modification et archivage des modifications dans SVN

  1. Connectez l'un de vos projets au référentiel SVN.

  2. Open the context menu for the .xaml file and select Check Out for Edit. The latest version of the .xaml file is mapped locally and opened in the Project panel. It becomes locked for editing until it’s checked in. Perform any sort of changes to the files.

    Remarque :

    Une fois le fichier extrait du référentiel SVN, il n'est plus disponible pour l'extraction par d'autres utilisateurs avec les autorisations d'accès.

  3. Open the context menu for the .xaml file or project node, and select Check In, or select the image des documents icon in the Status bar, which also counts the number of uncommitted changes. The Check In Changes window is displayed.

  4. Examinez les modifications et cochez la case Afficher les fichiers sans version (Show Unversioned Files) pour ajouter les fichiers importés au référentiel. Écrivez un Message de validation (Commit Message) pour décrire les modifications.

  5. Select Check In. The latest version is now available in the repository, together with the Commit message. In Studio, the project.json file returns to the read-only mode.

  6. Select Start > Team > Disconnect to disconnect the current project from source control.

    Remarque :

    Si vous modifiez un fichier depuis un projet ajouté au contrôle de code source d’un éditeur externe, votre modification sera visible dans le panneau Projet et dans la barre d’état uniquement après avoir cliqué sur Actualiser image des documents dans le panneau Projet.

Résultat

The changes are committed to the SVN repository. The project.json file returns to read-only mode in Studio.

Modifier les identifiants

Si vous travaillez sur une machine partagée, vous devrez peut-être modifier les informations d’identification du référentiel SVN actuel avant de valider toute modification de votre projet.

Accédez à l'onglet Démarrer > Équipe et sélectionnez Modifier les informations d'identification dans la section SVN. Saisissez le nom d'utilisateur et le mot de passe de votre référentiel actuel et sélectionnez OK.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour