Hi list,
I am trying to build and run the current git master version of BaseX.
Unfortunately I could not find proper documentation on that process, just a
bunch of docs saying how to use git etc. I should add that I did not use maven
before.
So I just went ahead, cloned both the basex and the basex-api repos, and
called "mvn compile" in both of them (after an sudo apt-get install maven2, I
am using Debian testing). That was guesswork, after noticing that "maven
build" does not work and asking google ;-)
In the basex folder, this compiled a lot of stuff, but all I could find is a
bunch of class files - I had expected to find the jar file with all the data I
need somewhere. By pure accident I then found a remark in the "integration"
wiki page saying mvn has a "package" target, which at least gave me the jar
file I looked for (maybe that could be added to the readme file, and the
development section could clarify that "integrate into IDE" also contains the
"how to build basex on command-line" doc). Now I wonder, can I re-use the etc
and lib folder from 6.7.1, or do I need different versions?
In basex-api, all I got was an error that maven could not find the artefact
"org.basex:basex:jar:6.8-SNAPSHOT" - whatever that exactly means, I assume I
have to tell it somehow where it can find the basex core jar file?
I am quite a loss here, maybe someone can shed some light on the build
process.
Kind regards,
Ralf