You can use the Eclipse publishing functionality to copy files from an AppServer project module in the Workspace environment to a local or remote server. This allows the server to find and use them as you test your application code.
The module definition specifies which objects must be published. For an AppServer project module, the objects come from the set of directories defined by the module. Therefore, a publish action might proceed differently depending on the location of the AppServer and its publish directory.
The following events require that you publish to the server:
When you initiate a publish to a local server, the system can activate a script to copy the code from the project's directory. The script publishes only the code that has changed since the last publish event.
You can publish your AppServer code to a remote server by using OpenEdge Explorer (or OpenEdge Management if you have a license). You must configure the remote machine to work with the local installation of OpenEdge Explorer.
When a file is removed from a module, the corresponding file must also be removed from the server. A file might have been removed from a module by either of the following actions:
In either case, when the module is next published to the server, the publish mechanism must make sure that the file is no longer present on the server. This applies to both source files and r-code.
You can set a preference to retain the removed module content in the server publish directory. (The default for this preference is to remove deleted files and folders.)
When a module is removed from the server, the publish mechanism must ensure that the module content is removed from the server. The removal of resources occurs on the next publish of the server (and could take some time if the module is large).
For additional information, see the details about publishing applications to the server in the Web Tools Platform User Guide.