itechpros/Servoy WAR Builder

A GitHub Action used to build Servoy WAR files.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Mar 14, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: itechpros/servoy-war-builder@c6eda3beb9d0268080c05c715ce311130bd0383b # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
servoy-versionThe full Servoy version to use for the build (ex. '2023.03.2.3844')yes
api-keyAPI key obtained from the ServoyComponents website from either the commercial license (https://servoycomponents.com/components/plugins) or the All Products Pack (https://servoycomponents.com/all-products-pack)yes
solution-nameName of the primary solution to export to the WAR fileyes
default-admin-userDefault admin username to include in the WAR fileyes
default-admin-passwordDefault admin password to include in the WAR fileyes
properties-filePath and name of the properties file used to start the exporteryes
ignore-build-errorsIgnores build errors (warning: use of this flag is discouraged; it can cause invalid solutions to be exported)false
skip-buildNo build markers will be generated. This can greatly decrease export time (warning: use of this flag is discouraged; it can cause invalid solutions to be exported)false
dbiExport based on DBI files (even if database servers are available)false
properties-file-warPath and name of the properties file to be included in the WAR
beansSpace separated list of (smart/web client) beans to export (default: all beans are exported)
exclude-beansSpace separated list of beans to be excluded from the export
lafsSpace separated list of look-and-feels (smart client) to export (default: all lafs are exported)
exclude-lafsSpace separated list of look-and-feels to be excluded from the export
driversSpace separated list of JDBC (database) drivers to export (default: all drivers are exported)
exclude-driversSpace separated list of drivers to be excluded from the export
pluginsSpace separated list of plugins to export (default: all plugins are exported)
exclude-pluginsSpace separated list of plugins to be excluded from the export
additional-solutionsSpace separated list of solutions that must be exported, but are not in the current solution's modules (for example, solutions for batch processors)
componentsSpace separated list of components to export (default: all components are exported)all
exclude-componentsSpace separated list of components to be excluded from the export
servicesSpace separated list of services to export (default: all services are exported)all
exclude-servicesSpace separated list of services to be excluded from the export
export-metadataExport metadata tablesfalse
check-metadataCheck that metadata for metadata tables is the same for each table, both in the according workspace file and in the actual table in the database before exportingfalse
sample-dataExport sample datafalse
sample-data-row-countNumber of rows of sample data to export per table
i18nExport i18n datafalse
usersExports usersfalse
tablesExport all table information about tables from referenced serversfalse
war-file-nameThe name of the WAR file
overwrite-groupsOverwrites groupsfalse
allow-sql-keywordsAllows SQL keywordsfalse
stop-on-data-model-changesStops import if the data model changesfalse
allow-data-model-changesA space separated list of server names that allow data model changes. If the list is missing, then data model changes are allowed on all servers
skip-database-views-updateSkips database views updatefalse
override-sequence-typesOverrides sequence typesfalse
override-default-valuesOverrides default valuesfalse
insert-new-i18n-keys-onlyInserts new i18n keys onlyfalse
import-user-policy0 = don't, 1 = create users & update groups, 2 = overwrite completely
add-users-to-admin-groupAdds users to admin groupfalse
update-sequencesUpdates sequencesfalse
upgrade-repositoryAutomatically upgrade repository if neededfalse
context-file-namePath to a Tomcat context.xml that should be included into the WAR/META-INF/context.xml
use-as-real-admin-userThe default user login will be available as a normal admin user in the solutions as wellfalse
do-not-overwrite-db-server-propertiesSKIP overwrite of old DB server propertiesfalse
overwrite-all-propertiesOverwrite all (potentially changed via admin page) properties of a previously deployed WAR application with the values from the servoy.properties of this WAR exportfalse
log4j-configuration-fileA path to a Log4J configuration file that should be included instead of the default one
web-xml-file-nameA path to a web.xml that should be included instead of the default one
ng2Export Titanium NG2 binaries. If 'sourcemaps' is given, sourcemaps will be generated for .ts files - useful for debugging
ng1Export NG1 client resourcesfalse
licensesSpace delimited licenses to include in the WAR file. Format should be '<company_name> <code> <licenses>'. If you have multiple licenses, use multiple lines.
extras-folderPath to the extras folder that contains additional plugins, drivers, etc. that should be included in the Servoy install.
timeoutTimeout in milliseconds for the Servoy build process (default 30 minutes)1800000
post-war-extras-folderPath to the extras folder that contains files that should be inserted into the WAR after it is built.
build-max-memoryMaximum amount of memory that can be consumed by the build process.2048m
errors-line-delimiterDelimiter between entries in the error output.\n
errors-no-escape-quotesDon't escape quotes in error output.false
warnings-line-delimiterDelimiter between entries in the warning output.\n
warnings-no-escape-quotesDon't escape quotes in warning output.false
extras-folder-ignorePath to a newline-delimited list of glob file paths to exclude while copying files from the extras folder.
post-war-extras-folder-ignorePath to a newline-delimited list of glob file paths to exclude while copying files from the post WAR extras folder.

no outputs