Building cli ure remotely

From Apache OpenOffice Wiki
Revision as of 16:39, 15 January 2007 by Jl (Talk | contribs)

Jump to: navigation, search

Building cli_ure remotely

When building cli_ure on a remote machine, that is, the projects is accessed through a mapped harddrive (Windows), then one may encounter a messages such as this:

..\wntmsci10.pro\bin\climaker.exe \
--out ..\wntmsci10.pro\bin\cli_types.dll \
--keyfile ..\wntmsci10.pro\bin\cliuno.snk \
--assembly-version 1.1.7.0 \
--assembly-description "This assembly contains metadata for the StarOffice/OpenOffice.org API." \
--assembly-company "OpenOffice.org" \
x:\SRC680\wntmsci10.pro\bin.m198\types_doc.rdb

Unhandled Exception: System.Security.Policy.PolicyException: Unverifiable assembly 'X:\SRC680\src.m198\cli_ure\wntmsci10.pro\bin\climaker.exe' failed policy check. 

The reason is that build tools, such as the climaker.exe, which is a .NET application, reside on a different machine but require access to the local .NET Framework. Therefore the security settings must be adapted to allow the program access to the local machine. To do this follow these instructions. It is necessary to add the machine where the executable is located to the trusted sites: From the Start menu open Control Panel -> Internet options -> Security -> Trusted Sites -> Sites

Uncheck "Require server verification ... " Add the machine where the executable is located, for example \\so-cwsserv11, \\jumbo, etc. Then open

Control Panel -> Administrative Tools -> Microsoft .NET Framework 1.1 Configuration In the tree view on the left side select " Runtime Security Policies ". Then select "Adjust Zone Security" on the right side. In the dialog that appears select "Make changes to this computer" and press the "Next" button. In the following dialog select the zone "Trusted Sites" and choose the level of trust to "Full Trust" and press the "Next" button. In the following dialog press "Finish".

Personal tools