Kbase P120661: How does the Build Destination option work?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/10/2008 |
|
Status: Verified
GOAL:
How does the Build Destination option work?
GOAL:
What is the Build Destination Option?
GOAL:
How to control where r-code is saved when using OpenEdge Architect?
FACT(s) (Environment):
Windows
OpenEdge 10.1B
FIX:
When working with a project in the OpenEdge Architect it is possible to define a default output destination for all R-Code which is compiled from with the OpenEdge Architect.
This option is configurable using the following steps:
1) Open OpenEdge Architect
2) In the Resource pane, right mouse click the project that is to be modified
3) Select OpenEdge in the left pane of the window
4) Select the Build Tab in the right pane of the window
5) In the fill-in field for Build Destination enter the location where R-Code for the project is to be written to.
6) Click on Apply or OK
From this point forward (until it is modified), when this project is compiled all R-Code will be written to the output directory defined.
The tree structure of the source code directory will be duplicated under the Build Destination directory defined, based on the following rule:
"rcode file location" = "Build Destination" + "source directory relative path" - "file extension" + ".r".
Example:
Going by the following assumptions:
- The project has it's project directory as source code directory (=default behavior), so this will be "c:\Workspace\ProjectName":
- The Build Destination has been defined as "c:\BuildDir"
This results in a source file tree that looks like:
c:\Workspace\ProjectName ------subdir1\mycode1.p
|
----subdir2\mycode2.p
|
----mycode3.p
Following the rule to determine the rcode file location, the Build Destination file tree will look like:
c:\BuildDir ------subdir1\mycode1.r
|
----subdir2\mycode2.r
|
----mycode3.r
Note that the project name is not duplicated under the build destination directory. If this is desired, make sure it is added to the Build Destination path.