Giter VIP home page Giter VIP logo

expath-pkg-java's Introduction

EXPath Packaging for Java

Implementation of the EXPath Packaging System for Java, Saxon and Calabash.

Installation

Download the latest expath-repo-installer-x.y.z.jar file from the download area and execute it by double-clicking on it (or from the command-line: java -jar expath-repo-installer-x.y.z.jar). Follow the instructions, that's it!

If you don't want a graphical installer, use the latest expath-repo-x.y.z.zip file instead. Unzip it and set it up.

Setup

Add the script xrepo to your PATH. To create an EXPath package repository, simply use: xrepo create <repo-dir>. You can set the environment variable EXPATH_REPO if you don't want to provide the repository directory everytime you use xrepo.

For more information on the repository manager: xrepo help.

The install directory contains also a script saxon and a script calabash, that launch resp. Saxon and Calabash, by configuring them with the repository, and adding useful options from the command line. For more information: saxon --help and calabash ++help, or see the README file in the sub-directory bin/ in the source repository.

expath-pkg-java's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

duncdrum

expath-pkg-java's Issues

Update to IzPack 5

It seems IzPack 5, the current "stable" version, is not supported on some platforms. Namely, on Ubuntu... Investigate further.

Problem with DepSemverMinMax.isCompatible check for dependency with min and max

I am trying to debug a package installation failure in eXist in which the compatibility failure is thrown by https://github.com/fgeorges/expath-pkg-java/blob/master/pkg-java/src/org/expath/pkg/repo/deps/DepSemverMinMax.java#L34. In this code there are 3 criteria for whether a given version satisfies a min and a max version:

return myMin.matchesMin(rhs) && myMax.matchesMax(rhs) && !myMax.matches(rhs);

If I have package that requires semver-min="4.1.0" and semver-max="4.5.0" for eXist, and I am trying to install this package in eXist 4.5.0, this code would work as follows, right?

The values of the variables would be:

  • myMin = 4.1.0
  • myMax = 4.5.0
  • rhs = 4.5.0

The three checks would need to return true for the dependency check to pass:

  • myMin.matchesMin(rhs) = true
  • myMax.matchesMax(rhs) = true
  • !myMax.matches(rhs) = false

Isn't this 3rd check totally extraneous and the cause of the checkProcessorVersion throwing a PackageException here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.