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: a package does not exist.

descriptor: the package descriptor is invalid.
installed: the module contained in the package to be installed is already installed as part of another package.
parse: an error occurred while parsing the package.
version: 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

10245 Berlin

 

Email bodo.wissemann@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