Chaves XML
O gerador de aplicações 4D armazena seus parâmetros como chaves XML no arquivo buildApp.4DSettings. Chaves adicionais também oferecem opções além das disponíveis na caixa de diálogo Criar aplicação.
Para usar um arquivo de configurações personalizado, passe seu caminho para o comando BUILD APPLICATION.
Estrutura
Todas as chaves estão localizadas sob a raiz <Preferences4D><BuildApp>:
<Preferences4D>
<BuildApp>
<!-- Chaves gerais -->
<RuntimeVL/> <!-- aplicação usuário único -->
<CS/> <!-- aplicação cliente/servidor -->
<SourcesFiles>
<RuntimeVL/>
<CS/>
</SourcesFiles>
<Versioning>
<Common/>
<RuntimeVL/>
<Client/>
<Server/>
</Versioning>
<AutoUpdate>
<RuntimeVL/>
<CS/>
</AutoUpdate>
<Licenses/>
<SignApplication/>
</BuildApp>
</Preferences4D>
| Página | Nós XML |
|---|---|
| Geral | BuildApp |
| RuntimeVL | RuntimeVL |
| Cliente/Servidor | CS |
| Arquivos fonte | SourcesFiles/RuntimeVL, SourcesFiles/CS |
| Versionamento | Versioning/Common, Versioning/RuntimeVL, Versioning/Client, Versioning/Server |
| AutoUpdate | AutoUpdate/RuntimeVL, AutoUpdate/CS |
| Licenças e assinatura | Licenses, SignApplication |
As chaves de tipo array (como ArrayLicenseWin ou ArrayExcludedPluginName) contêm um elemento ItemsCount seguido dos elementos Item1, Item2...:
<ArrayExcludedComponentName>
<ItemsCount>2</ItemsCount>
<Item1>MyComponent</Item1>
<Item2>MyOtherComponent</Item2>
</ArrayExcludedComponentName>
Índice das chaves
| Chave | Nó | Página |
|---|---|---|
| AdHocSign | SignApplication | Licenças e assinatura |
| ArrayExcludedComponentName | BuildApp | Geral |
| ArrayExcludedModuleName | BuildApp | Geral |
| ArrayExcludedPluginID | BuildApp | Geral |
| ArrayExcludedPluginName | BuildApp | Geral |
| ArrayLicenseMac | Licenses | Licenças e assinatura |
| ArrayLicenseWin | Licenses | Licenças e assinatura |
| AutomaticLicenseIntegration | Licenses | Licenças e assinatura |
| BuildApplicationName | BuildApp | Geral |
| BuildApplicationSerialized | BuildApp | Geral |
| BuildCompiled | BuildApp | Geral |
| BuildComponent | BuildApp | Geral |
| BuildCSUpgradeable | CS | Cliente/Servidor |
| BuildMacDestFolder | BuildApp | Geral |
| BuildServerApplication | CS | Cliente/Servidor |
| BuildWinDestFolder | BuildApp | Geral |
| CertificateAuthoritiesCertificates | CS | Cliente/Servidor |
| CertificateDomainName | CS | Cliente/Servidor |
| ClientComment | Versioning/Client | Versionamento |
| ClientCompanyName | Versioning/Client | Versionamento |
| ClientCopyright | Versioning/Client | Versionamento |
| ClientCreator | Versioning/Client | Versionamento |
| ClientFileDescription | Versioning/Client | Versionamento |
| ClientInternalName | Versioning/Client | Versionamento |
| ClientLegalTrademark | Versioning/Client | Versionamento |
| ClientMacFolderToMac | SourcesFiles/CS | Arquivos fonte |
| ClientMacFolderToWin | SourcesFiles/CS | Arquivos fonte |
| ClientMacIconForMacPath | SourcesFiles/CS | Arquivos fonte |
| ClientMacIconForWinPath | SourcesFiles/CS | Arquivos fonte |
| ClientMacIncludeIt | SourcesFiles/CS | Arquivos fonte |
| ClientPrivateBuild | Versioning/Client | Versionamento |
| ClientServerSystemFolderName | CS | Cliente/Servidor |
| ClientSpecialBuild | Versioning/Client | Versionamento |
| ClientUserPreferencesFolderByPath | CS | Cliente/Servidor |
| ClientVersion | Versioning/Client | Versionamento |
| ClientWinFolderToMac | SourcesFiles/CS | Arquivos fonte |
| ClientWinFolderToWin | SourcesFiles/CS | Arquivos fonte |
| ClientWinIconForMacPath | SourcesFiles/CS | Arquivos fonte |
| ClientWinIconForWinPath | SourcesFiles/CS | Arquivos fonte |
| ClientWinIncludeIt | SourcesFiles/CS | Arquivos fonte |
| ClientWinSingleInstance | CS | Cliente/Servidor |
| CommonComment | Versioning/Common | Versionamento |
| CommonCompanyName | Versioning/Common | Versionamento |
| CommonCopyright | Versioning/Common | Versionamento |
| CommonCreator | Versioning/Common | Versionamento |
| CommonFileDescription | Versioning/Common | Versionamento |
| CommonInternalName | Versioning/Common | Versionamento |
| CommonLegalTrademark | Versioning/Common | Versionamento |
| CommonPrivateBuild | Versioning/Common | Versionamento |
| CommonSpecialBuild | Versioning/Common | Versionamento |
| CommonVersion | Versioning/Common | Versionamento |
| CurrentVers | CS | Cliente/Servidor |
| DatabaseToEmbedInClientMacFolder | SourcesFiles/CS | Arquivos fonte |
| DatabaseToEmbedInClientWinFolder | SourcesFiles/CS | Arquivos fonte |
| DataFilePath | BuildApp | Geral |
| EvaluationMode | Licenses | Licenças e assinatura |
| HardLink | CS | Cliente/Servidor |
| HideAdministrationMenuItem | CS | Cliente/Servidor |
| HideDataExplorerMenuItem | CS | Cliente/Servidor |
| HideRuntimeExplorerMenuItem | CS | Cliente/Servidor |
| IncludeAssociatedFolders | BuildApp | Geral |
| IPAddress | CS | Cliente/Servidor |
| IsOEM | SourcesFiles/CS | Arquivos fonte |
| IsOEM | SourcesFiles/RuntimeVL | Arquivos fonte |
| LastDataPathLookup | CS | Cliente/Servidor |
| LastDataPathLookup | RuntimeVL | RuntimeVL |
| MacCertificate | SignApplication | Licenças e assinatura |
| MacCompiledDatabaseToWin | CS | Cliente/Servidor |
| MacCompiledDatabaseToWinIncludeIt | CS | Cliente/Servidor |
| MacSignature | SignApplication | Licenças e assinatura |
| PackProject | BuildApp | Geral |
| PortNumber | CS | Cliente/Servidor |
| RangeVersMax | CS | Cliente/Servidor |
| RangeVersMin | CS | Cliente/Servidor |
| RuntimeVLComment | Versioning/RuntimeVL | Versionamento |
| RuntimeVLCompanyName | Versioning/RuntimeVL | Versionamento |
| RuntimeVLCopyright | Versioning/RuntimeVL | Versionamento |
| RuntimeVLCreator | Versioning/RuntimeVL | Versionamento |
| RuntimeVLFileDescription | Versioning/RuntimeVL | Versionamento |
| RuntimeVLIconMacPath | SourcesFiles/RuntimeVL | Arquivos fonte |
| RuntimeVLIconWinPath | SourcesFiles/RuntimeVL | Arquivos fonte |
| RuntimeVLIncludeIt | SourcesFiles/RuntimeVL | Arquivos fonte |
| RuntimeVLInternalName | Versioning/RuntimeVL | Versionamento |
| RuntimeVLLegalTrademark | Versioning/RuntimeVL | Versionamento |
| RuntimeVLMacFolder | SourcesFiles/RuntimeVL | Arquivos fonte |
| RuntimeVLPrivateBuild | Versioning/RuntimeVL | Versionamento |
| RuntimeVLSpecialBuild | Versioning/RuntimeVL | Versionamento |
| RuntimeVLVersion | Versioning/RuntimeVL | Versionamento |
| RuntimeVLWinFolder | SourcesFiles/RuntimeVL | Arquivos fonte |
| ServerComment | Versioning/Server | Versionamento |
| ServerCompanyName | Versioning/Server | Versionamento |
| ServerCopyright | Versioning/Server | Versionamento |
| ServerCreator | Versioning/Server | Versionamento |
| ServerDataCollection | CS | Cliente/Servidor |
| ServerEmbedsProjectDirectoryFile | CS | Cliente/Servidor |
| ServerFileDescription | Versioning/Server | Versionamento |
| ServerIconMacPath | SourcesFiles/CS | Arquivos fonte |
| ServerIconWinPath | SourcesFiles/CS | Arquivos fonte |
| ServerIncludeIt | SourcesFiles/CS | Arquivos fonte |
| ServerInternalName | Versioning/Server | Versionamento |
| ServerLegalTrademark | Versioning/Server | Versionamento |
| ServerMacFolder | SourcesFiles/CS | Arquivos fonte |
| ServerPrivateBuild | Versioning/Server | Versionamento |
| ServerSelectionAllowed | CS | Cliente/Servidor |
| ServerSpecialBuild | Versioning/Server | Versionamento |
| ServerStructureFolderName | CS | Cliente/Servidor |
| ServerVersion | Versioning/Server | Versionamento |
| ServerWinFolder | SourcesFiles/CS | Arquivos fonte |
| ShareLocalResourcesOnWindowsClient | CS | Cliente/Servidor |
| StartElevated | AutoUpdate/CS/ClientUpdateWin | AutoUpdate |
| StartElevated | AutoUpdate/CS/Client | AutoUpdate |
| StartElevated | AutoUpdate/CS/Server | AutoUpdate |
| StartElevated | AutoUpdate/RuntimeVL | AutoUpdate |
| UseStandardZipFormat | BuildApp | Geral |