Remote Synchronization Dialog Box

The Remote Synchronization dialog box enables you to specify the synchronization operations that the IDE performs when synchronizing the contents of a local folder with the contents of a folder on a remote server.

You open the dialog box by right-clicking the Source Files folder in the Projects window and choosing Synchronize in the popup menu.

Element Description

Show Planned Operations

Select the operations that you want the IDE to perform during the synchronization. The IDE can perform multiple operations when synchronizing files.

    Download

Download the remote version. Overwrite the local version if one exists.

    Upload

Upload the local version to the server. Overwrite the remote version if one exists.

    No Operation

Do not synchronize the file.

    Delete

Delete both local and remote versions of the file.

Show Problems

Select the synchronization problems that the IDE displays.

    Warning

Show warning icons. Warnings indicate problems that are not severe enough to prevent synchronization.

    Error

Show error icons. Errors are problems severe enough to prevent synchronization.

    File Conflict

File Conflict icons indicate that both the local and the remote version of the file changed since the last synchronization.

    File vs. Directory Collision

The path to a local file is the path to a directory on the server, or the reverse. For example, there's a local file called /my/file but on the server /my/file/ is a directory.

    Symbolic Link

File is only a symbolic link pointing to another file.

Check All

Click to show all planned operations.

Uncheck All

Click Uncheck All to show no planned operations.

Files Table

This table displays a list of operations that the IDE plans for files, on a per file basis. You can select individual files to modify the planned operation for that file. You can sort the list by clicking a column header.

Additional information appears at the bottom of the table for any rows you select. For example, if you select 4 rows, you see a summary of the operations and problems for those rows, such as "3 downloads, 0 uploads, 1 no-op, 0 deletions, 0 errors, 0 warnings." If you select a row and there is an error associated with the operation in that row, details about that error appear, such as "Error (FILE_NAME): Non-existing file cannot be updated."

The table contains the following columns.

    Problem icons

An icon appears if the planned operation has a problem of a type selected in the Show Problems section.

    Remote Path

The path to the remote copy of the file from the project's root directory.

    Planned Operations

The operation planned for the file, if the operation type is selected in the Show Planned Operations section.

    Local Path

The path to the local copy of the file from the project's root directory.

Operations

Use the following buttons to specify the operation that is performed on the selected file or files.

    Diff

Review differences between remote and local file. The results of the diff are displayed in a new dialog box.

    No operation

Change the planned operation to "no-op."

    Download

Change the planned operation to "Download remote version."

    Upload

Change the planned operation to "Upload local version."

    Delete

Change the planned operation to "Delete both local and remote versions.".

    Reset

Reset all changes to the operations.

Show Summary Before Start

Select this option to show a summary of synchronization operations before the synchronization starts.

Review the operations in the summary dialog. Click OK in the summary and the synchronization progress dialog opens.

Synchronize

Click to begin synchronization.

The button is disable if there are any unresolved errors. If Show Summary Before Start is selected, a summary of synchronization operations appears.



Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.