BaseXdb/basex-dist — pull request #2 by micheee (2014-04-04 07:22:27+00:00)
Title: Osx bundle

Creates `BaseX.app` using Oracles Application Bundler.
This is necessary for versions of Java not maintained by Apple (JDK > 6).

The ant build does the following:

* Uses http://maven.apache.org/ant-tasks/index.html to fetch version information from BaseX Core's POM
* Checks if basex-core has been built, i.e. the corresponding basex-$version.jar is available
* Bundles basex-$version.jar and ../basex-core/lib/*.jar
* Adds Retina Support to the application bundle (addOptions.xq)
* The build file expects `basex` and `basex-dist` to be located inside the same directory

To run:

`cd basex/basex-core && mvn -DskipTests package; cd ../..` to build BaseX
`cd basex-dist/mac && ant && open dist/BaseX.app & cd ../..` to build the application bundle