Hi Bodo, Right now, versioning is only suppoted by the EXPath packaging mechanism. With BaseX packaging, there will always be a single module instance in your repository. In line with this, when deleting such modules, there is no need to specify a version number. Hope this helps, Christian On Thu, Jan 18, 2018 at 11:58 AM, Wissemann, Bodo <Bodo.Wissemann@adesso.de> wrote:
Hello everybody,
I’m trying to uninstall a jar which has no version using the repo-module.
The jar is the „BaseX-EMail-module" which I didn’t modify. When it is installed, there is none of the described errors raised:
"*not-found <http://docs.basex.org/wiki/Repository_Module#Errors>*: a package does not exist.
*descriptor <http://docs.basex.org/wiki/Repository_Module#Errors>*: the package descriptor is invalid. *installed <http://docs.basex.org/wiki/Repository_Module#Errors>*: the module contained in the package to be installed is already installed as part of another package. *parse <http://docs.basex.org/wiki/Repository_Module#Errors>*: an error occurred while parsing the package. *version <http://docs.basex.org/wiki/Repository_Module#Errors>*: the package version is not supported.“
When I check repo:list() it shows this entry:
"<package name="org.basex.modules.email.EMail" *version="-"* type=" Internal“/>“
As you can see, no Version is found. I’ve tried to include a "Version=1.0“ in the MANIFEST.MF, but that didn’t change anything.
How is the Version set if there’s no package-descriptor? Or is that not possible and I have to use a package-descriptor?
Can I delete packages without versions?
Thx a lot
Bodo Wissemann
--
Bodo Wissemann
adesso AG
Rotherstr. 19 <https://maps.google.com/?q=Rotherstr.+19%0D+10245+Berlin&entry=gmail&source=g>
10245 Berlin <https://maps.google.com/?q=Rotherstr.+19%0D+10245+Berlin&entry=gmail&source=g>
Email bodo.wissemann@adesso.de <Sumit.Kapoor@adesso.de>
------------------------------------------------------- >>> business. people. technology. <<< -------------------------------------------------------
adesso AG mit Sitz in Dortmund Vorstand: Michael Kenfenheuer (Vors.), Christoph Junge, Andreas Prenneis Vorsitzender des Aufsichtsrates: Prof. Dr. Volker Gruhn Amtsgericht Dortmund HRB 20663