The property -D${propName} needs to be specified on the command line
For instance: @{example}
For options try: js-ant @{type}-help-@{edition}
Invalid value for edition: @{edition}
Error: Directory ${importExportConfig} was not found
Try running "js-ant assemble-export-files-@{edition}"
Make sure you have compiled the jasperserver source code.
Property values (in install.xml):
archiveArg = ${archiveArg}
dbType = ${dbType}
jdbcJar = ${jdbcJar}
currentConf = ${currentConf}
importExportConfig = ${importExportConfig}
NOTE: try running target "import-help-pro" or "import-help-ce"
NOTE: try running target "export-help-pro" or "export-help-ce"
Buildomatic Import-Export Usage:
To run using buildomatic, options must be specified as Java command line options:
General Example:
js-ant import -DimportFile=my-reports.zip
Windows Example:
js-ant import -DimportFile=my-reports-and-users.zip -DimportArgs="--update"
js-ant import -DimportFile=my-reports-and-users.zip -DimportArgs="--update --skip-user-update"
Linux Example:
./js-ant import -DimportFile=my-reports-and-users.zip -DimportArgs="--update"
./js-ant import -DimportFile=my-reports-and-users.zip -DimportArgs="--update --skip-user-update"
Buildomatic Import-Export Usage:
To run using buildomatic, options must be specified as Java command line options:
General Example:
js-ant import-ce -DimportFile=my-reports.zip
Windows Example:
js-ant import-ce -DimportFile=my-reports-and-users.zip -DimportArgs="--update"
js-ant import-ce -DimportFile=my-reports-and-users.zip -DimportArgs="--update --skip-user-update"
Linux Example:
./js-ant import-ce -DimportFile=my-reports-and-users.zip -DimportArgs="--update"
./js-ant import-ce -DimportFile=my-reports-and-users.zip -DimportArgs="--update --skip-user-update"
Buildomatic Import-Export Usage:
To run using buildomatic, options must be specified as Java command line options:
General Example:
js-ant export-everything -DexportFile=js-export-all.zip
Windows Example:
js-ant export -DexportFile=my-reports-and-users.zip
-DexportArgs="--uris /organizations/organization_1/reports
--users jasperadmin|organization_1,joeuser|organization_1"
js-ant export -DexportFile=js-organization-1.zip -DexportArgs="--everything
--organization organization_1"
Linux Example:
./js-ant export -DexportFile=my-reports-and-users.zip
-DexportArgs="--uris /organizations/organization_1/reports
--users 'jasperadmin\|organization_1,joeuser\|organization_1'"
./js-ant export -DexportFile=my-reports-and-users.zip
-DexportArgs=\"--uris /organizations/organization_1/reports
--users 'jasperadmin\|organization_1,joeuser\|organization_1'\"
./js-ant export -DexportFile=js-organization-1.zip -DexportArgs=\"--everything
--organization organization_1\"
(linux: note escape backslash on | and " characters and use of ' character)
Buildomatic Import-Export Usage:
To run using buildomatic, options must be specified as Java command line options:
General Example:
js-ant export-everything-ce -DexportFile=js-export-all.zip
Windows Example:
js-ant export-ce -DexportFile=my-reports-and-users.zip
-DexportArgs="--uris /reports
--users jasperadmin,joeuser"
Linux Example:
./js-ant export-ce -DexportFile=my-reports-and-users.zip
-DexportArgs="--uris /reports
--users 'jasperadmin,joeuser'"
(linux: note use of the ' character)