Thank you Christian, i’ll try again!

 

 

But the documentation says:

 

Signatures

repo:delete($pkg as xs:string) as empty-sequence()

Summary

Deletes a package. The parameter $pkg indicates either the package name as specified in the package descriptor (which I don’t have) or the name, suffixed with a hyphen and the package version (which I also don’t have)

 

 

 

Maybe this documentation could be extended by the information you gave me here?

 

 

What do you think?

 

 

All the best, Bodo

 

--

Bodo Wissemann

adesso AG

Rotherstr. 19

10245 Berlin

 

Email bodo.wissemann@adesso.de

 

Von: Christian Grün <christian.gruen@gmail.com>
Datum: Donnerstag, 18. Januar 2018 um 12:12
An: "Wissemann, Bodo" <Bodo.Wissemann@adesso.de>
Cc: "basex-talk@mailman.uni-konstanz.de" <basex-talk@mailman.uni-konstanz.de>
Betreff: Re: [basex-talk] delete .jar without version using repo:delete()

 

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

ild vom Absender entfernt.