Currently the generator doesn't appear to query for the exist-db version during the build process. In my particular case I'm using exist-db 6.0.1, and was using the latest exist-db yeoman generator. This generated an incompatible XAR that failed silently on upload, although it did generate a log error.
023-12-28 14:15:56,505 [qtp1146222092-38] ERROR (Deploy.java [installAndDeployFromDb]:241) - Package requires eXist-db version > 6.2.0. Installed version is 6.0.1
org.expath.pkg.repo.PackageException: Package requires eXist-db version > 6.2.0. Installed version is 6.0.1
at org.exist.repo.Deployment.checkProcessorVersion(Deployment.java:293) ~[exist-core-6.0.1.jar:6.0.1]
This appears to be largely due to:
<?xml version="1.0" encoding="UTF-8"?>
<package
xmlns="http://expath.org/ns/pkg" name="http://cdcs.datapipeline.ed.ac.uk/dpipe"
abbrev="dpipe" version="1.0.0" spec="1.0">
<title>data pipelines for transcriptions</title>
<dependency processor="http://exist-db.org" semver-min="6.2.0"/>
<dependency package="http://exist-db.org/html-templating" semver-min="1.0.2"/>
</package>
In the generated expath-pkg.xml.
It would be great if the generator could ask for the (minimum) version of the target exist-db platform.
Currently the generator doesn't appear to query for the exist-db version during the build process. In my particular case I'm using exist-db 6.0.1, and was using the latest exist-db yeoman generator. This generated an incompatible XAR that failed silently on upload, although it did generate a log error.
This appears to be largely due to: