Specifies the location to which Uniface compiles objects, and from which objects are read by the Uniface test environment.

$RESOURCES_OUTPUT { = } {Path\}Directory


Path\Directory—directory path and name; if a path is omitted, the Directory is placed in the working directory.


Assignment file: ide.asn
Section: [SETTINGS]
Default value: none


If $RESOURCES_OUTPUT is specified , the compiled objects are written to the specified path as separate files in the standardized directory structure. This is usually a directory, but it can also be an archive file (.uar).

Note: Specifying a UAR file can carry a performance penalty. In an environment where multiple users write to a shared location, it can cause locking problems. It is usually only useful when preparing an application for deployment.

Redirecting Files

The $RSO path setting can be used to redirect non-standard resource files listed in the [FILES] section. For example:

myfile.txt = $RSO:TXT/*.txt

This assignment resolves the path of myfile.txt via the path specified by $RESOURCES_OUTPUT.


; ide.asn
$RESOURCES_OUTPUT = usys:project\RSO		

When preparing application files for deployment, it can be useful to compile objects directly to a UAR file. For example:

; ide.asn
$RESOURCES_OUTPUT = usys:project\myapp.uar		

Example: Directing Output to a Remote UAR

If you want to compile to a remote UAR, you need to edit both the ide.asn and userver.asn. For example:

; ide.asn
$TCP TCP:|remote_host|user|password

$RESOURCES_OUTPUT = $TCP:myapp.uar		
myapp.uar path\to\the\myapp.uar

Related Topics