Redigera

Dela via


ICE48

ICE48 checks for directories that are hard-coded to local paths in the Property table.

Do not hard-code directory paths to local drives because computers differ in the setup of the local drive. This practice may be acceptable if deploying an application to a large number of computers on which the relevant portions of the drives are all the same.

Result

ICE48 posts an error message if there is a directory that is hard-coded to a local path in the Property table.

Example

ICE48 would report the following warning for the example shown.

Directory 'Dir1' appears to be hardcoded in the property 
    table to a local drive.

Directory Table (partial)

Directory Directory_Parent DefaultDir
Dir1 SourceDir

 

Property Table (partial)

Property Value
Dir1 d:\source

 

ICE Reference